30
RabbitCore RCM2000
4.4 Serial Programming Cable
The programming cable is used to connect the RCM2000’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 RCM2000’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 RCM2000’s program-
ming header with the RCM2000 operating in the Run Mode. This allows the programming
port to be used as a regular serial port.
4.4.1 Changing Between Program Mode and Run Mode
The RCM2000 is automatically in Program Mode when the PROG connector on the
programming cable is attached to the RCM2000, 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 7. RCM2000 Program Mode and Run Mode Setup
A program “runs” in either mode, but can only be downloaded and debugged when the
RCM2000 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.
J2
J1
+
C1
J4
U1
J5
S2
S3
S1
RN1
D2
JP1
DS3
DS2
DS1
C2
U2
C3
C4
C5
J6
C6
VCC
PA
1
PA
3
PA
5
PA
7
PB1
PB3
PB5
PB7
GND
D6
GND
PA
0
PA
2
PA
4
PA
6
PB0
PB2
PB4
PB6
D7
PCLK
RCM2000
PROT
OTYPING
BOARD
D4
D2
D0
PE6
PE4
PE2
PE0
/IOR
/WDO
A1
1
A9
A7
A5
A3
A1
ST
AT
PC1
PC3
PC5
PC7
PD1
PD3
PD5
PD7
VCC
VRAM
SM1
/RSTI
GND
A12
A10
A8
A6
A4
A2
A0
PC0
PC2
PC4
PC6
PD0
PD2
PD4
PD6
GND
VBA
T
SM0
VCC
D5
D3
D1
PE7
PE5
PE3
PE1
/RST
O
/BEN
/IOW
RESET
S2
PB3
PB2
PA1
PA0
DS3
S3
DS2
PWR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0
/IOW
/IOR
/BEN
/WDO
PA1
PA3
PA5
PA7
PB1
PB3
GND
PA0
PA2
PA4
PA6
PB0
PB2
J1
VCC
J2
A12
A10
A8
A6
A4
A2
A0
A11
A9
A7
A5
A3
A1
STAT
PC0
PC2
PC4
PC6
PD0
PD2
PD4
PD6
GND
VBAT
PC1
PC3
PC5
PC7
PD1
PD3
PD5
PD7
VCC
SM1
GND
VRAM
SM0
VCC
/RESO
/RSTI
SRAM
JP3
TP1
C7
D3
R1
1
U5
R6
R8
D2
R7
C8 C9
TP4
RCM2000
Colored side
lines up with
pin 1
Run Mode
Program Mode
Power
RESET Core Module when changing mode:
Press RESET button (if using Prototyping Board), OR
Cycle power off/on
after removing or attaching programming cable.
RCM2000
Pins 3840
DIAG
PROG
Programming
Cable
To
PC COM port