4.3 Programming Cable
The programming cable is used to connect the programming port of the RCM4000 to a PC serial COM port. The programming cable converts the
When the PROG connector on the programming cable is connected to the programming port on the RCM4000, programs can be downloaded and debugged over the serial interface.
The DIAG connector of the programming cable may be used on header J1 of the RCM4000 with the RCM4000 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 RCM4000 is automatically in Program Mode when the PROG connector on the pro- gramming cable is attached, and is automatically in Run Mode when no programming cable is attached. When the Rabbit 4000 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 4000 in the Program Mode. When the programming cable’s PROG connector is not attached, the SMODE pins are pulled low, causing the Rabbit 4000 to operate in the Run Mode.
RESET RCM4000 when changing mode:
Press RESET button (if using Prototyping Board), OR
Remove, then reapply power
after removing or attaching programming cable.
3-pin
power connector
Programming
Cable
| Colored | |
To COM port | edge | |
| ||
PC | Blue | |
shrink wrap | ||
| ||
PROG | J1 |
J1 | RESET |
|
|
|
|
|
|
|
|
|
|
|
|
|
| PWR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| R1 |
|
|
|
|
| J1 | U1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| DS1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| C1 |
|
|
|
| R2 |
|
|
|
|
|
|
| 1 |
|
|
|
| |
|
|
|
|
| D1 |
|
|
|
|
|
|
|
|
|
| GND |
|
| GND |
|
|
|
|
|
|
|
|
|
|
|
|
|
| S1 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
| R25 |
|
|
| JP1 | PB7 |
| PC0 |
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
| R36 |
|
|
|
|
|
|
| C15 |
|
| C20 |
|
|
|
|
|
|
| PC1 |
| PC2 |
|
|
|
|
|
|
|
|
|
|
|
| ||
LINK | DS2 | R37 |
|
|
| U6C34 |
| R25 |
| Q1 |
|
|
|
|
|
|
|
|
|
| PC3 |
| PC4 |
|
|
|
|
|
|
|
|
|
|
| UX10 | ||
|
| U7 | C42 |
| U5 |
| R24 |
| Q1 |
|
|
|
|
|
|
| PC5 |
| PC6 |
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
| C47 |
| C43 | C35 |
|
|
|
|
|
| C24 | JP11 JP15 | JP19 | JP21 |
|
|
|
| PC7 |
| PE0 |
|
|
|
|
|
|
|
|
|
| CX17 |
| ||
|
| C50 |
|
|
|
|
|
|
|
|
|
| JP22 JP20 | U3JP13 |
|
|
|
|
|
|
|
|
|
| RX67 |
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
| C26 C27 |
| PE3 |
| PE4 |
|
|
|
|
|
|
|
|
|
| |||||||||||
|
| C72 | C49C48 |
|
|
|
|
|
|
|
|
|
| R29C25 |
|
|
|
|
| JP17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PE1 |
| PE2 |
|
|
|
|
|
|
|
|
|
|
| UX12 | |||
|
| Y3 | C51 |
|
|
|
|
|
|
|
|
|
| C28 | R20 |
|
|
|
|
| R19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| R9 | PE5 |
| PE6 |
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
| C52 |
|
|
|
|
|
|
|
|
|
| C29 |
|
|
|
|
|
|
|
| PD0 |
|
|
|
|
|
|
|
|
|
|
|
| ||
|
| R47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PD1 |
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PD2 |
|
|
|
|
|
|
|
|
|
|
|
| ||||
C66 |
| C54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PE7 |
| LN0 |
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| C31 JP24 |
|
|
|
|
|
| C13 |
| LN1 |
| LN2 |
|
|
|
|
|
|
|
|
| RX85 |
|
| |||
U17 |
|
| C55C56 | RX97 | U9 |
| U8 |
| C32 | RP2 |
|
|
|
|
|
| LN5 |
| LN6 |
|
|
|
|
| RX75 |
|
|
|
|
| |||||||
|
|
| C53 |
|
|
|
|
|
|
|
| C30 | JP23 |
|
|
|
|
|
|
| LN3 |
| LN4 |
|
|
|
|
|
|
|
|
|
|
|
| ||
R46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PD3 |
| PD4 |
|
|
|
|
|
|
|
|
|
|
| UX14 |
|
| U18R48 |
| C46 C45C44 R29 |
| C36 | D1 | UX42UX37UX41 |
|
|
|
|
| RX65 |
|
| PD5 |
| PD6 | LN7IN AGND LN5IN | LN3IN | LN1IN | AGND | R12 |
|
|
|
| CX29 |
| |||||||
|
|
| Y2 |
|
|
|
| RX89 | UX31 |
|
| R27 |
|
|
|
|
|
|
|
|
| VREF |
|
|
|
|
| ||||||||||
| C71 |
|
|
|
|
|
|
| RX49 |
| R26 | RX55 |
|
|
|
| C22 RX61 |
|
| PD7 |
| CVT |
|
|
|
|
|
| RX73 | CX27 |
|
|
|
| |||
|
|
|
|
|
|
|
| UX33C38 |
|
|
|
|
|
|
|
| VREF |
| AGND |
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
| R31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| R33 R32 |
| JP4 | R28 |
|
| R43 | C23 |
|
|
|
|
|
|
|
|
|
|
|
|
| CX25 |
| CX23 RX77 | RX79 |
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| DS2 |
| DS3 |
|
| UX16 | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| JP25 | R23 | R21 | R22 | R24 |
| |
|
|
|
|
|
|
|
|
| UX3 |
|
|
|
|
|
|
| RX63 |
|
|
|
| J3 | AGND | CVT | LN6IN | LN4IN | LN2IN | LN0IN | R11 | S2 | R27 R28 |
| S3 GND |
| GND | ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
| 1 | GND |
|
Figure 9. Switching Between Program Mode and Run Mode
User’s Manual | 33 |