Serial Programming Cable; Changing Between Program Mode And Run Mode - Rabbit RabbitCore RCM3209 User Manual

C-programmable module with ethernet
Table of Contents

Advertisement

4.3 Serial Programming Cable

The programming cable is used to connect the serial programming port of the RCM3209/
RCM3229 to a PC serial COM port. The programming cable converts the voltage levels
used by the PC USB port to the CMOS voltage levels used by the Rabbit 3000.
When the
PROG
connector on the programming cable is connected to the RCM3209/
RCM3229 serial programming port at header J1, programs can be downloaded and
debugged over the serial interface.
The
connector of the programming cable may be used on header J1 of the RCM3209/
DIAG
RCM3229 with the RCM3209/RCM3229 operating in the Run Mode. This allows the pro-
gramming port to be used as a regular serial port.

4.3.1 Changing Between Program Mode and Run Mode

The RCM3209/RCM3229 is automatically in Program Mode when the
on the programming cable is attached, and is automatically in Run Mode when no pro-
gramming cable is attached. When the Rabbit 3000 is reset, the operating mode is deter-
mined by the state of the SMODE pins. When the programming cable's
is attached, the SMODE pins are pulled high, placing the Rabbit 3000 in the Program
Mode. When the programming cable's
are pulled low, causing the Rabbit 3000 to operate in the Run Mode.
RN1
GND
PD1
PD0
NC
GND
PD7
+3.3V
PD6
VBAT
PD3
VRAM
PD2
EXT
/RES
PD5
SM1
PD4
IN
PG3
SM0
/IORD
PG2
/IOWR
PG4
PG1
PG0
PG5
PG6
PD4
PD5
PG7
PE0
PC5
PC4
PE1
PE3
PC3
PC2
PE4
PE5
PC1
PC0
PE6
PE7
PF0
PF1
PF7
PF6
PF2
PF3
PF5
PF4
PA0
PA1
PB7
PB6
PA2
PA3
PB5
PB4
PA4
PA5
PB3
PB2
PA6
PA7
PB0
/RES
PE4
GND
J3
J1
C1
R1
R4
R3
C3
R5
R2
RC13
RC12
R21
RC10
RC11
GND
NC
PD1
PD0
GND
+3.3V
PD7
PD6
VBAT
VRAM
PD3
PD2
EXT
/RES
SM1
PD5
PD4
IN
SM0
/IORD
PG3
PG2
/IOWR
PG4
PG1
PG0
PG5
PG6
PD4
PD5
PG7
PE0
PC5
PC4
PE1
PE3
PC3
PC2
PE4
PE5
PC1
PC0
PE6
PE7
PF0
PF1
PF7
PF6
PF2
PF3
PF5
PF4
PA0
PA1
PB7
PB6
PA2
PA3
PB5
PB4
PA4
PA5
PB3
PB2
PA6
PA7
PB0
/RES
STATUS
GND
J4
Figure 10. Switching Between Program Mode and Run Mode
User's Manual
PROG
RCM1JA
RN5
GND
RCM1JB
RCM3000 ETHERNET CORE MODULE
R17
J15
SLAVE
UX10
MASTER
UX11
RC15
RCM2
RC24
RC19
RC20
RC23
UX9
RC14
RC22
RC17
RC16
UX3
RC21
RC2
UX2
GND
+3.3V
+3.3V
+5V
R14
U1
C5
C8
RCM2JA
RCM2JB
C6
RESET
S2
S3
PG6
RxC TxC
C7
J5
DS1
RS-232
TxB RxB
GND
RESET RCM3209/RCM3229 when changing mode:
Short out pins 28–32 on header J2,
Press RESET button (if using Prototyping Board),
Cycle power off/on
after removing or attaching programming cable.
connector is not attached, the SMODE pins
D1
R20
C13
U4
C12
U5
+5V
Battery
+3.3V
BT1
GND
GND
+5V
+3.3V
J8
+3.3V
+5V
RC6
RC7
C16
DISPLAY BOARD
U6
C9
U3
UX5
RC9
UX7
RCM30/31/32XX SERIES
PROTOTYPING BOARD
PG7
J10
J7
Colored edge
DS2
DISPLAY BOARD
OR
PROG
connector
connector
PROG
L1
C17
J11
2.5 MM JACK
D2
GND
+DC
+5V
+3.3V
GND
+5V
UX4
RC25
RC4
RC5
C14
RC27
U3
RC28
RC29
RC26
To
UX13
PC USB port
DISPLAY BOARD
OR
29

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rabbitcore rcm3229

Table of Contents