MBARI OASIS3 Mooring Guide

Reset Commands in OASIS3

Reset Commands

OASIS3 uses the RESET command slightly differently than OASIS. There are 4 variations of RESET, depending on where you reset to and what happens to the log data after reset.

RESET All log data is flushed to CFM files and saved. Then causes a system reset, the same as if the reset button had gotten a "long reset" or there was a power cycle.
RESET LOG Does not reset the processor at all. Instead, this command simply discards all log data (in memory or CFM files) and restarts the logging from Block 0 Log Number 0.
RESET ALL Discards all log data (from memory and erases CFM files), then causes system reset (similar to "long reset" or power cycle).
RESET PICO All log data is flushed to CFM files and saved. Then causes a jump to PicoDOS, regardless of the "boot" state. Useful for returning to PicoDOS in order to load new code. Make sure you erase the OASISDAT.nnn files via PicoDOS before starting new code (see below).

 

Reset Button

The reset button on the OASIS serial cable can cause two types of behavior, traditionally called "short reset" and "long reset". Note that there are now only two behaviors. In OASIS, there were three.

"Short reset" is caused by pressing the reset button momentarily (<3 seconds), and is not a reset at all. It merely wakes up the user interface task, which causes it to print the "OASIS>" prompt to serial port 0, and wait for user commands.

"Long reset" is caused by pressing the reset button for >4 seconds. It causes the RESET signal to be asserted to the CPU on the CF2 card. What happens next is dependent on the state of the boot variable in PicoDOS.