User’s Manual
89
Serial Port A is selected for bootstrap operation as a clocked serial port when SMODE =
10. In this case bit 7 of Parallel Port C is used for the serial data and bit 1 of Parallel Port B
is used for the serial clock. Note that the serial clock must be externally supplied for boot-
strap operation. This precludes the use of a serial EEPROM for bootstrap operation.
Serial Port A is selected for bootstrap operation as an asynchronous serial port when
SMODE = 11. In this case bit 7 of Parallel Port C is used for the serial data and the 32 kHz
oscillator is used to provide the serial clock. A dedicated divide circuit allows the use of
the 32 kHz signal to provide the timing reference for the 2400 bps asynchronous transfer.
Only 2400 bps is supported for bootstrap operation, and the serial data must be eight bits
for proper operation.
When a bootstrap is performed using Serial Port A, the TXA signal is not needed since the
bootstrap is a one-way communication. After the reset ends and the bootstrap mode
begins, TXA will be low, reflecting its function as a parallel port output bit that is cleared
by the reset. This may be interpreted as a break signal by some serial communication
devices. TXA can be forced high by sending the triplet 0x80, 0x50, 0x40, which stores
0x40 in parallel port C. An alternate approach is to send the triplet 0x80, 0x55, 0x40,
which will enable the TXA output from bit 6 of parallel port C by writing to the parallel
port C function register (0x55).
The transfer rate in any bootstrap operation must not be too fast for the processor to exe-
cute the instruction stream. The Write Empty signal acts as an interlock when using the
Slave Port for bootstrap operation, because the next byte should not be written to the Slave
Port until the Write Empty signal is active. No such interlock exists for the clocked serial
and asynchronous bootstrap operation. In these cases, remember that the processor clock
starts out in divide-by-eight mode with four wait states, and limit the transfer rate accord-
ingly. In asynchronous mode at 2400 bps it takes about 4 ms to send each character, so no
problem is likely unless the system clock is extremely slow.
Summary of Contents for 2000
Page 1: ...Rabbit 2000 Microprocessor User s Manual 019 0069 041018 M...
Page 12: ...6 Rabbit 2000 Microprocessor...
Page 46: ...40 Rabbit 2000 Microprocessor...
Page 54: ...48 Rabbit 2000 Microprocessor...
Page 76: ...70 Rabbit 2000 Microprocessor...
Page 96: ...90 Rabbit 2000 Microprocessor...
Page 142: ...136 Rabbit 2000 Microprocessor...
Page 154: ...148 Rabbit 2000 Microprocessor...
Page 170: ...164 Rabbit 2000 Microprocessor...
Page 174: ...168 Rabbit 2000 Microprocessor...
Page 180: ...174 Rabbit 2000 Microprocessor...
Page 202: ...196 Rabbit 2000 Microprocessor...
Page 206: ...200 Rabbit 2000 Microprocessor...
Page 226: ......
Page 230: ...224 Rabbit 2000 Microprocessor...