MBARI OASIS3 Mooring Guide
Preparing a New OASIS3 Controller
This page documents the procedure for preparing a newly constructed set of
OASIS3 boards for use as an OASIS3 controller. It assumes you've already read
the OASIS3 Getting Started Guide
and have set up your development environment per that document.
Equipment Needed
- OASIS3 Backplane
- OASIS3 CPU Board
- Persistor CF2 CPU Board with Compact Flash Memory (CFM) card
- OASIS3 Mezzanine A/D board for CPU Board
- 0 to 4 OASIS3 I/O Boards *
- PC set up with OASIS3 development environment, including MotoCross
- 12 Volt, 3 amp power supply
- Power cable from OASIS3 Backplane to 12V supply
- Serial cable from OASIS3 Backplane to PC
*Number of I/O Boards needed
|
Number of Serial Instruments, in addition
to the serial console port
|
Number of OASIS3 I/O Boards Needed
|
|
0 - 3
|
0
|
|
4 - 10
|
1
|
|
11 - 17
|
2
|
|
18 - 24
|
3
|
|
25 - 31
|
4
|
Board Preparation
OASIS3 CPU Board
|
Jumper
|
Function
|
Position
|
| JP1 |
ADCP IRQ |
Not installed |
| JP2 |
WDT |
Not installed |
| JP3, 4, 5 |
232 Enable |
3-4 |
- Set CPU Board jumpers as above.
- Install Persistor CF2 into OASIS3 CPU Board
- Install CFM card into Persistor CF2. For testing, the 16 MB cards supplied
with the CF2 are sufficient. For deployment, the M1/M2/M3 moorings should
be deployed with 256 MB CFM cards.
- Install the OASIS3 Mezzanine A/D board into the OASIS3 CPU Board.
- Plug the OASIS3 CPU Board into Slot 1 of the OASIS3 Backplane (important!)
OASIS3 I/O Boards
|
Jumper
|
Function
|
Position
|
| J1 |
ID |
Installed |
| J2 |
232 Enable |
3-4 |
Procedure
- With only the OASIS3 CPU Board plugged into the OASIS3 Backplane, connect
the backplane power cable to the 12V supply. Connect the backplane serial
cable to the serial port of your PC.
- Start MotoCross on your PC.
- Turn on the 12V Supply.
- You should see the PicoDOS signon message and "C:>" prompt.
If you don't, stop here and determine the problem. If you get a PBM
signon message, but not PicoDOS or "C:>", you either don't have
a CFM card installed, or you have a conflict with the SPI ports of the CF2
card. The latter is usually indicative of a hardware problem on the OASIS3
boards.
- Check the PicoDOS signon message. If it indicates PicoDOS 2.28 or later,
you're fine. If it's PicoDOS 2.27 or earlier, you must install the 2.28b1
firmware on the CF2.
Upgrading PicoDOS to 2.28b1
- Install PicoDOS 2.28b1 firmware into the CF2 card by following the paragraph
labelled Installing the 2.28b1 beta firmware into your CF2 card, in
the PicoDOS 2.28 Beta
document.
- Update the MSP430 supervisor firmware by following the next paragraph in
the PicoDOS 2.28 Beta
document, labelled Updating the SPV Firmware to 3.07. Note that this paragraph
has a bug! The command you need to enter from the C:> prompt is msp307,
and not spv307.
Reformatting the CFM Card
If this is a new CFM card (not used before in OASIS3), it's probably formatted
with 4 KB blocks in its file system. Reformat it with 16 KB blocks by following
the procedure in How to Reformat the CFM Card.
The OASIS3 CPU Board is now ready for loading OASIS3 code. Power down the system
and plug in the I/O boards. When you power-up, you can load the Oasis3 code
via MotoCross. Simply choose Transfer->Load, and navigate to /oasis/bin,
and choose OASIS.APP (for the release version), or OASIS.RUN (for the RAM-based
debug version). See Loading Code Into the OASIS3
Controller.