User`s manual

User’s Manual 25
4.3 Serial Programming Cable
The programming cable is used to connect the RCM2200’s programming port to a PC
serial COM port. The programming cable converts the RS-232 voltage levels used by the
PC serial port to the TTL voltage levels used by the Rabbit 2000.
When the PROG connector on the programming cable is connected to the RCM2200’s
programming header, programs can be downloaded and debugged over the serial interface.
The DIAG connector of the programming cable may be used on the RCM2200’s program-
ming header with the RCM2200 operating in the Run Mode. This allows the programming
port to be used as a regular serial port.
4.3.1 Changing Between Program Mode and Run Mode
The RCM2200 is automatically in Program Mode when the PROG connector on the
programming cable is attached to the RCM2200, and is automatically in Run Mode when
no programming cable is attached. When the Rabbit 2000 is reset, the operating mode is
determined by the status of the SMODE pins. When the programming cable’s
PROG
connector is attached, the SMODE pins are pulled high, placing the Rabbit 2000 in the
Program Mode. When the programming cable’s
PROG connector is not attached, the
SMODE pins are pulled low, causing the Rabbit 2000 to operate in the Run Mode.
Figure 8. Switching Between Program Mode and Run Mode
A program “runs” in either mode, but can only be downloaded and debugged when the
RCM2200 module is in the Program Mode.
Refer to the
Rabbit 2000 Microprocessor User’s Manual for more information on the pro-
gramming port and the programming cable.
RESET RCM2200 when changing mode:
Press RESET button (if using Prototyping Board),
OR
Cycle power off/on
after removing or attaching programming cable.
To PC COM port
Run Mode
Program Mode