The Vesta board works with either 28 or 32 pin ROMs and RAMs. The cost of this is that you have to worry about the jumper settings on the RAM/ROM selection block.
Jumper block J2, as you look at it with J2 at the top, the rom on your left, and the 332 on your right, looks like this:
|--EPROM--| |-RAM-| ___ ___ ___ ___ ___ J | | | | | | 2 | O | O | O | O | O | | | | | | | | O | O | O | O | O | | | | | | | RAM | O | O | O | O | O | | |___|___|___|___|___| V 68332 -> (J2 orientation)
Set the three leftmost jumpers according to the ROM size you are using:
___ ___ ___ ___ ___ J |***|***|***| | | 2 |*o*|*o*|*o*| O | O | |***|***|***| | | |*o*|*o*|*o*| O | O | |***|***|***| | | RAM | O | O | O | O | O | | |___|___|___|___|___| V 68332 ->
___ ___ ___ ___ ___ J | |***|***| | | 2 | O |*o*|*o*| O | O | |***|***|***| | | |*o*|*o*|*o*| O | O | |***|***|***| | | RAM |*o*| O | O | O | O | | |***|___|___|___|___| V 68332 ->
___ ___ ___ ___ ___ J | | |***| | | 2 | O | O |*o*| O | O | |***|***|***| | | |*o*|*o*|*o*| O | O | |***|***|***| | | RAM |*o*|*o*| O | O | O | | |***|***|___|___|___| V 68332 ->
___ ___ ___ ___ ___ J | | | | | | 2 | O | O | O | O | O | |***|***|***| | | |*o*|*o*|*o*| O | O | |***|***|***| | | RAM |*o*|*o*|*o*| O | O | | |***|***|***|___|___| V 68332 ->
Set the two rightmost jumpers according to the RAM size you are using:
___ ___ ___ ___ ___ J | | | | |***| 2 | O | O | O | O |*o*| | | | |***|***| | O | O | O |*o*|*o*| | | | |***|***| RAM | O | O | O |*o*| O | | |___|___|___|***|___| V 68332 ->
___ ___ ___ ___ ___ J | | | | | | 2 | O | O | O | O | O | | | | |***|***| | O | O | O |*o*|*o*| | | | |***|***| RAM | O | O | O |*o*|*o*| | |___|___|___|***|***| V 68332 -> 512Kx8 RAM (628128)
Vesta boards come wired for a second serial port. TPU pins 1 and 4 are
wired to extra receive and transmit lines respectively on the serial
level converter chip. When dealing with serial ports using ARC, this
port is serialb
and the built-in uart seriala
.
To enable the second serial port follow this procedure:
Now you can use the second serial port.
The baud rate of the second serial port defaults to 9600 baud, but may
be changed by setting the persistent serialb_baud
to a different
value and resetting the board.
To make portb be the default serial interaction port, set the persistent
default_port
to 1. The default value of 0 specifies that seriala
should be used.
To open streams on portb, use `fopen("/serialb/foo","")' (where foo
is replaced by whatever you want to name the stream) for multiplexed
streams or fopen("/serialb/foo","R")
for a raw unmultiplexed stream.