Rabbit 101-1147 User manual

Rabbit and Dynamic C are registered trademarks of Rabbit Semiconductor Inc.
020–0124 • 070715–C
RIO Programmable I/O Kit
The RIO Programmable I/O Kit is intended to demonstrate how to expand an embedded control system
design by adding additional I/O and other features. The Kit provides a Prototyping Board with a Rabbit
RIO chip already installed and configurable header locations to allow you to develop your own appli-
cation using the Dynamic C function calls and sample programs included with the Kit.
Application Kit Contents
The RIO Programmable I/O Kit contains the following items:
•2 CD-ROMs — Dynamic C®with complete product documentation on disk, and supplemental CD with
sample programs and information related to the RIO Programmable I/O Kit.
•RCM4110 module.
•Rabbit RIO Prototyping Board.
•Universal AC adapter, 12 V DC, 1 A (includes Canada/Japan/U.S., Australia/N.Z., U.K., and
European style plugs).
•10-pin header to DB9 programming cable with integrated level-matching circuitry.
•Getting Started instructions.
•Plastic and metal standoffs with 4-40 screws.
•A bag of jumpers and jumper wires for use on the
Prototyping Board.
•Rabbit 4000 Processor Easy Reference poster.
•Registration card.
Visit our online Rabbit store at www.rabbit.com/store/ for
the latest information on peripherals and accessories that
are available for the Rabbit RIO chip.
Starting Dynamic C
Once the RCM4110 is connected as described in the preceding pages, start Dynamic C by double-clicking on
the Dynamic C icon on your desktop or in your Start menu. Dynamic C uses the serial port specified during
installation.
If you are using a USB port to connect your computer to the RCM4110, choose Options > Project
Options and check “Use USB to Serial Converter” in “Serial Options.” Click OK to save the settings.
Run a Sample Program
Use the File menu to open the sample program ROTATELED.C in the Dynamic C SAMPLES\RIO folder.
Press function key F9 to compile and run the program.The four LEDs on the Prototyping Board will flash on
and off in a rotating sequence, and the Dynamic C STDIO window will open on your PC to display the status
of the Rabbit RIO chip’s Channel 1.
This sample program uses Channel 1 with the Rabbit RIO chip operating in the SPI clocked serial communi-
cation mode. The Rabbit RIO Chip User's Manual describes the communication modes in more detail.
Where Do I Go From Here?
If the sample program ran fine, you are now ready to go on to other sample programs and to develop your
own applications. Application Note AN415, RIO Programmable I/O Kit, discusses how to use the Prototyp-
ing Board and explains the sample programs and Rabbit RIO function calls. The source code for the sample
programs is provided to allow you to modify them for your own use. The RCM4100 User's Manual on the
Dynamic C CD also provides complete hardware reference information and describes the software function
calls for the RCM4110 RabbitCore module, and the Rabbit RIO User's Manual provides complete reference
information for the Rabbit RIO chip.
Troubleshooting
If Dynamic C cannot find the target system (error message "No Rabbit Processor Detected."):
•Check that the RCM4110 is powered correctly — the red power LED on the Prototyping Board should be
lit when the RCM4110 is mounted on the Prototyping Board and the AC adapter is plugged in.
•Check both ends of the programming cable to ensure that they are firmly plugged into the PC and the
PROG connector, not the DIAG connector, is plugged in to the programming port on the RCM4110.
•Ensure that the RCM4110 module is firmly and correctly installed in its socket on the Prototyping Board.
If there are no faults with the hardware, select a different COM port within Dynamic C. On your computer,
open Control Panel > System > Hardware > Device Manager > Ports and look at the list of available
COM ports. In Dynamic C, select Options > Project Options, then select one of the available COM ports
on the “Communications” tab, then click OK. Press <Ctrl-Y> to force Dynamic C to recompile the BIOS. If
Dynamic C still reports it is unable to locate the target system, repeat the above steps for another available
COM port. You should receive a Bios compiled successfully message once this step is com-
pleted successfully.
If a program compiles and loads, but then loses target communication before you can begin debugging, it is
possible that your PC cannot handle the default debugging baud rate. Try lowering the debugging baud rate.
•Locate the Serial Options dialog in the Dynamic C Options > Project Options > Communica-
tions menu. Choose a lower debug baud rate.
If there are any other problems:
•Use the Dynamic C Help menu to get further assistance with Dynamic C.
•Check the Rabbit Semiconductor Technical Bulletin Board at www.rabbit.com/support/bb/.
•Use the Technical Support e-mail form at www.rabbit.com/support/.
NOTE: If you purchased your RIO Programmable I/O Kit through a distributor or through a Rabbit
Semiconductor partner, contact the distributor or partner first for technical support.
Installing Dynamic C®
Insert the CD from the RIO Programmable
I/O Kit in your PC’s CD-ROM drive. If the
installation does not auto-start, run the
setup.exe program in the root directory of
the Dynamic C CD. Install any Dynamic C
modules after you install Dynamic C.

Hardware Connections
1. Prepare the Prototyping Board for
Development
Snap in four of the plastic standoffs supplied in the bag
of accessory parts from the RIO Programmable I/O Kit
in the holes at the corners as shown.
2. Attach Module to Prototyping Board
Turn the RCM4110 module so that the mounting holes
of the RCM4110 line up with the corresponding holes
on the Prototyping Board. Insert the metal standoffs as shown in Figure 2, secure them from the bottom of
the Prototyping Board using the 4-40 × 3/16 screws, then insert the module’s header J3 on the bottom side
into header socket RCM1 on the Prototyping Board.
Figure 2. Install the RCM4110 Module on the Prototyping Board
NOTE: It is important that you line up the pins on header J3 of the RCM4110 module exactly with
socket RCM1 on the Prototyping Board. The header pins may become bent or damaged if the pin
alignment is offset, and the module will not work. Permanent electrical damage to the module may
also result if a misaligned module is powered up.
Press the module’s pins gently into the Prototyping Board header socket—press down in the area above
the header pins. For additional integrity, you may secure the RCM4110 to the standoffs from the top
using the remaining two 4-40 × 3/16 screws.
3. Set Jumpers
Jumpers were placed at the factory on Prototyping Board headers J2, J7, J8, J9, and J15 as shown in Figure 3
to set up the Prototyping Board for the SPI serial mode used with the sample programs. Application Note
AN415, RIO Programmable I/O Kit, describes other configuration options.
4. Connect Programming Cable
The programming cable connects the RCM4110 to the PC running Dynamic C to download programs
and to monitor the RCM4110 module during debugging.
Connect the 10-pin connector of the programming cable labeled PROG to header J1 on the RCM4110
as shown in Figure 3. Be sure to orient the marked (usually red) edge of the cable towards pin 1 of the
connector. (Do not use the DIAG connector, which is used for a normal serial connection to Serial Port A.)
Figure 1. Insert Plastic Standoffs
SER
/PAR
WAIT
SERO
/WR
GSYNC
GND
U1
L1
C1
U2
HOT
C3
C2
C4
C5
BT1
RX12 RX13 RX15 RX17
RX14 RX16 RX18
JP2
GND
GND
GND
J1 D1 C6
D2
RCM1 C26
J11
R5
C25
S1
CORE
PE7
J13
J3
J5
J10
DS3 R11
R10
R
R8
DS2
DS1
DS0
S5 1
R15 C33 R14 C32
S4 1
R13 C31
S3 1
R12 C30
S2
1
C0P0
C0P1
RP4
C0P2C0P3
C1P0
C1P1
C1P2
C1P3
RP3
C3P2
C3P0
C2P2
C2P0
+3.3 V
C5P2
C5P0
C4P2
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ORD
PDN
PU
/IOWR
PDN
J6
C17
C16
C14
C13
C18
C1
U4
Y1
C2
C28
C27
R6
R7
C22
C23
C8
C7
C10
C
C12
C11
U3
C21
C20
RP2
SER
/PAR
PU
CA0
PDN TP1
GND
+3.3 V
R2
C15
UX1
UX2
UX3
UX4
UX5
UX6
RX1
UX4
UX7
RX2
RX3
RX4
UX8
RX5
RX
RX8
RX10
RX11
UX18
UX17
UX3
GND
TP2 RESET R4
C24
R3
1
J2
DS4
Q7
R16 R1
SERC
PC0
nc
PC1
PC3
PC4
nc
PC5
PB0
SERB
SERD
SERI
SERI
SERO
SCLK
J15
SERI
SERI
SERO
SCLK
J16 J
J8
PU
P//I
PDN
PU
PDN
PU
G//C
PDN
UX25
RX41
RX42
CX1 CX2
+5 V
GND
+5 V
+3.3 V
+3.3 V
RX6
RX7
GND
+3.3 V
+5 V
GND
+5 V
+3.3 V
RX11
RX1
GND
GND
RCM1
Line up mounting
holes with holes
on Prototyping Board.
RCM4110
R1
J1
R2
R5
R4
R3
JP1
JP2
JP
JP6
JP7
JP3
JP5
JP4
C4
C3
C2
L1
C1
R7
R8
R6
R10
R
U1
U2
R11
C15
RP2
C16
C17
D1
R27
RP1
R15
C23
R17 R16
C21
C14
U6
R1
R18
R22
R23
Y2
C27
U7
C28R21
JP8
JP10
JP11
JP12
C5
Y1
Q1
C6
C7
C8
C
C10 C11
U5 C12
C13
R12
C24 R14
C25
C26
C1
C20
U4
U3
C18
R13
C30
C31
C34 C35
C32
C33
C2
C38
C3
C37
C36
Insert standoffs
between
mounting holes and
Prototyping Board.
Figure 3. Prototyping Board and Programming Cable Setup
NOTE: Be sure to use the programming cable (part number 101-0542) supplied with the RIO
Programmable I/O Kit—the programming cable has blue shrink wrap around the RS-232 con-
verter section located in the middle of the cable. Programming cables with red or clear shrink
wrap from other Rabbit Semiconductor kits are not designed to work with RCM4110 modules.
Connect the other end of the programming cable to a COM port on your PC.
NOTE: Some PCs now come equipped only with a USB port. It may be possible to use an RS-232/
USB converter (Part No. 540-0070) with the programming cable supplied with the RIO Pro-
grammable I/O Kit. Note that not all RS-232/USB converters work with Dynamic C.
5. Connect Power
Once all the other connections have been made, you can connect power to the Prototyping Board.
First, prepare the AC adapter for the country where it will be used by selecting the appropriate plug.
The RIO Programmable I/O Kit presently includes Canada/Japan/U.S., Australia/N.Z., U.K., and
European style plugs. Snap in the top of the plug assembly into the slot at the top of the AC adapter as
shown in Figure 3, then press down on the plug until it clicks into place.
Connect the AC adapter to 3-pin header J1 on the Prototyping Board as shown in Figure 3 above. The
connector may be attached either way as long as it is not offset to one side—the center pin of J1 is
always connected to the positive terminal, and either edge pin is ground.
Plug in the AC adapter. The power LED on the Prototyping Board above the power connector at J1
should light up. The RCM4110 and the Prototyping Board are now ready to be used.
NOTE: If you need to reset the RCM4110, disconnect, then reconnect the power supply.
SER
/PAR
WAIT
SERO
/WR
GSYNC
GND
U1
L1
C1
U2
HOT
C3
C2
C4
C5
BT1
RX12 RX13 RX15 RX17
RX14 RX16 RX18
JP2
GND
GND
GND
J1 D1 C6
D2
RCM1 C26
J11
R5
C25
S1
CORE
PE7
J13
J3
J5
J10
DS3 R11
R10
R
R8
DS2
DS1
DS0
S5 1
R15 C33 R14 C32
S4 1
R13 C31
S3 1
R12 C30
S2
1
C0P0
C0P1
RP4
C0P2C0P3
C1P0
C1P1
C1P2
C1P3
RP3
C3P2
C3P0
C2P2
C2P0
+3.3 V
C5P2
C5P0
C4P2
C4P0
+3.3 V
C7P2
C7P0
C6P2
C6P0
+3.3 V
C7P3
C7P1
C6P3
C6P1
GND
C5P3
C5P1
C4P3
C4P1
GND
C3P3
C3P1
C2P3
C2P1
GND
C1P2
C1P0
C0P2
C0P0
+3.3 V
C1P3
C1P1
C0P3
C0P1
GND
/CORE
RST
OUT
/CORE
RESET
GND
/IORD
PA0
PA2
PA4
PA6
PB0
PB2
PB4
PB6
PC0
PC2
PC4
PC6
PE0
PE2
PE4
PE6
PD0
PD2
PD4
PD6
CONV
GND
+3.3 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2
L1
C1
R7
R8
R6
R10
R
U1
U2
R11
C15
RP2
C16
C17
D1
R27
RP1
R15
C23
R17 R16
C21
C14
U6
R1
R18
R22
R23
Y2
C27
U7
C28R21
JP8
JP10
JP11
JP12
C5
Y1
Q1
C6
C7
C8
C
C10 C11
U5 C12
C13
R12
C24 R14
C25
C26
C1
C20
U4
U3
C18
R13
C30
C31
C34 C35
C32
C33
C2
C38
C3
C37
C36
AC
Adapter
Jumper Settings
3-pin
power connector
J1
Insert tab into slot
Snap plug into place
2
1
Assemble
AC Adapter
Colored
edge
To
PC COM port
Blue
shrink wrap
PROG
DIAG
Programming
Cable
PROG
J1
J2

Hardware Connections
1. Prepare the Prototyping Board for
Development
Snap in four of the plastic standoffs supplied in the bag
of accessory parts from the RIO Programmable I/O Kit
in the holes at the corners as shown.
2. Attach Module to Prototyping Board
Turn the RCM4110 module so that the mounting holes
of the RCM4110 line up with the corresponding holes
on the Prototyping Board. Insert the metal standoffs as shown in Figure 2, secure them from the bottom of
the Prototyping Board using the 4-40 × 3/16 screws, then insert the module’s header J3 on the bottom side
into header socket RCM1 on the Prototyping Board.
Figure 2. Install the RCM4110 Module on the Prototyping Board
NOTE: It is important that you line up the pins on header J3 of the RCM4110 module exactly with
socket RCM1 on the Prototyping Board. The header pins may become bent or damaged if the pin
alignment is offset, and the module will not work. Permanent electrical damage to the module may
also result if a misaligned module is powered up.
Press the module’s pins gently into the Prototyping Board header socket—press down in the area above
the header pins. For additional integrity, you may secure the RCM4110 to the standoffs from the top
using the remaining two 4-40 × 3/16 screws.
3. Set Jumpers
Jumpers were placed at the factory on Prototyping Board headers J2, J7, J8, J9, and J15 as shown in Figure 3
to set up the Prototyping Board for the SPI serial mode used with the sample programs. Application Note
AN415, RIO Programmable I/O Kit, describes other configuration options.
4. Connect Programming Cable
The programming cable connects the RCM4110 to the PC running Dynamic C to download programs
and to monitor the RCM4110 module during debugging.
Connect the 10-pin connector of the programming cable labeled PROG to header J1 on the RCM4110
as shown in Figure 3. Be sure to orient the marked (usually red) edge of the cable towards pin 1 of the
connector. (Do not use the DIAG connector, which is used for a normal serial connection to Serial Port A.)
Figure 1. Insert Plastic Standoffs
SER
/PAR
WAIT
SERO
/WR
GSYNC
GND
U1
L1
C1
U2
HOT
C3
C2
C4
C5
BT1
RX12 RX13 RX15 RX17
RX14 RX16 RX18
JP2
GND
GND
GND
J1 D1 C6
D2
RCM1 C26
J11
R5
C25
S1
CORE
PE7
J13
J3
J5
J10
DS3 R11
R10
R
R8
DS2
DS1
DS0
S5 1
R15 C33 R14 C32
S4 1
R13 C31
S3 1
R12 C30
S2
1
C0P0
C0P1
RP4
C0P2C0P3
C1P0
C1P1
C1P2
C1P3
RP3
C3P2
C3P0
C2P2
C2P0
+3.3 V
C5P2
C5P0
C4P2
C4P0
+3.3 V
C7P2
C7P0
C6P2
C6P0
+3.3 V
C7P3
C7P1
C6P3
C6P1
GND
C5P3
C5P1
C4P3
C4P1
GND
C3P3
C3P1
C2P3
C2P1
GND
C1P2
C1P0
C0P2
C0P0
+3.3 V
C1P3
C1P1
C0P3
C0P1
GND
/CORE
RST
OUT
/CORE
RESET
GND
/IORD
PA0
PA2
PA4
PA6
PB0
PB2
PB4
PB6
PC0
PC2
PC4
PC6
PE0
PE2
PE4
PE6
PD0
PD2
PD4
PD6
CONV
GND
+3.3 V
/IOWR
VBAT
PA1
PA3
PA5
PA7
PB1
PB3
PB5
PB7
PC1
PC3
PC5
PC7
PE1
PE3
PE5
PE7
PD1
PD3
PD5
PD7
VREF
J7
J12
SERI
SERI
SERO
SCLK
PC2
nc
PC3
PD2
PE1
PDN
nc
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PB2
PB3
PB4
PB5
PB7
PE4
/CS
/CS
nc
D0
D1
D2
D3
D4
D5
D6
D7
P _ I
CA0
CA1
CA2
G _ C
WAIT
J14
/RD
/CS
GND
/INT
+3.3 V
J17
/CS
GND
SCLK
GND
+3.3 V
SERO
SERI
GND
/RST
GND
RP1
J4
/RD /W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4
PC6
PE0
PE2
PE4
PE6
PD0
PD2
PD4
PD6
CONV
GND
+3.3 V
/IOWR
VBAT
PA1
PA3
PA5
PA7
PB1
PB3
PB5
PB7
PC1
PC3
PC5
PC7
PE1
PE3
PE5
PE7
PD1
PD3
PD5
PD7
VREF
J7
J12
SERI
SERI
SERO
SCLK
PC2
nc
PC3
PD2
PE1
PDN
nc
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PB2
PB3
PB4
PB5
PB7
PE4
/CS
/CS
nc
D0
D1
D2
D3
D4
D5
D6
D7
P _ I
CA0
CA1
CA2
G _ C
WAIT
J14
/RD
/CS
GND
/INT
+3.3 V
J17
/CS
GND
SCLK
GND
+3.3 V
SERO
SERI
GND
/RST
GND
RP1
J4
/RD /WR
PU
/IORD
PDN
PU
/IOWR
PDN
J6
C17
C16
C14
C13
C18
C1
U4
Y1
C2
C28
C27
R6
R7
C22
C23
C8
C7
C10
C
C12
C11
U3
C21
C20
RP2
SER
/PAR
PU
CA0
PDN TP1
GND
+3.3 V
R2
C15
UX1
UX2
UX3
UX4
UX5
UX6
RX1
UX4
UX7
RX2
RX3
RX4
UX8
RX5
RX
RX8
RX10
RX11
UX18
UX17
UX3
GND
TP2 RESET R4
C24
R3
1
J2
DS4
Q7
R16 R1
SERC
PC0
nc
PC1
PC3
PC4
nc
PC5
PB0
SERB
SERD
SERI
SERI
SERO
SCLK
J15
SERI
SERI
SERO
SCLK
J16 J
J8
PU
P//I
PDN
PU
PDN
PU
G//C
PDN
UX25
RX41
RX42
CX1 CX2
+5 V
GND
+5 V
+3.3 V
+3.3 V
RX6
RX7
GND
+3.3 V
+5 V
GND
+5 V
+3.3 V
RX11
RX1
GND
GND
RCM1
Line up mounting
holes with holes
on Prototyping Board.
RCM4110
R1
J1
R2
R5
R4
R3
JP1
JP2
JP
JP6
JP7
JP3
JP5
JP4
C4
C3
C2
L1
C1
R7
R8
R6
R10
R
U1
U2
R11
C15
RP2
C16
C17
D1
R27
RP1
R15
C23
R17 R16
C21
C14
U6
R1
R18
R22
R23
Y2
C27
U7
C28R21
JP8
JP10
JP11
JP12
C5
Y1
Q1
C6
C7
C8
C
C10 C11
U5 C12
C13
R12
C24 R14
C25
C26
C1
C20
U4
U3
C18
R13
C30
C31
C34 C35
C32
C33
C2
C38
C3
C37
C36
Insert standoffs
between
mounting holes and
Prototyping Board.
Figure 3. Prototyping Board and Programming Cable Setup
NOTE: Be sure to use the programming cable (part number 101-0542) supplied with the RIO
Programmable I/O Kit—the programming cable has blue shrink wrap around the RS-232 con-
verter section located in the middle of the cable. Programming cables with red or clear shrink
wrap from other Rabbit Semiconductor kits are not designed to work with RCM4110 modules.
Connect the other end of the programming cable to a COM port on your PC.
NOTE: Some PCs now come equipped only with a USB port. It may be possible to use an RS-232/
USB converter (Part No. 540-0070) with the programming cable supplied with the RIO Pro-
grammable I/O Kit. Note that not all RS-232/USB converters work with Dynamic C.
5. Connect Power
Once all the other connections have been made, you can connect power to the Prototyping Board.
First, prepare the AC adapter for the country where it will be used by selecting the appropriate plug.
The RIO Programmable I/O Kit presently includes Canada/Japan/U.S., Australia/N.Z., U.K., and
European style plugs. Snap in the top of the plug assembly into the slot at the top of the AC adapter as
shown in Figure 3, then press down on the plug until it clicks into place.
Connect the AC adapter to 3-pin header J1 on the Prototyping Board as shown in Figure 3 above. The
connector may be attached either way as long as it is not offset to one side—the center pin of J1 is
always connected to the positive terminal, and either edge pin is ground.
Plug in the AC adapter. The power LED on the Prototyping Board above the power connector at J1
should light up. The RCM4110 and the Prototyping Board are now ready to be used.
NOTE: If you need to reset the RCM4110, disconnect, then reconnect the power supply.
SER
/PAR
WAIT
SERO
/WR
GSYNC
GND
U1
L1
C1
U2
HOT
C3
C2
C4
C5
BT1
RX12 RX13 RX15 RX17
RX14 RX16 RX18
JP2
GND
GND
GND
J1 D1 C6
D2
RCM1 C26
J11
R5
C25
S1
CORE
PE7
J13
J3
J5
J10
DS3 R11
R10
R
R8
DS2
DS1
DS0
S5 1
R15 C33 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
PC3
PC4
nc
PC5
PB0
SERB
SERD
SERI
SERI
SERO
SCLK
J15
SERI
SERI
SERO
SCLK
J16 J
J8
PU
P//I
PDN
PU
PDN
PU
G//C
PDN
UX25
RX41
RX42
CX1 CX2
+5 V
GND
+5 V
+3.3 V
+3.3 V
RX6
RX7
GND
+3.3 V
+5 V
GND
+5 V
+3.3 V
RX11
RX1
GND
GND
SER
/PAR
PU
CA0
PDN
PU
P//I
PDN
PU
PDN
PU
G//C
PDN
PC0
nc
PC1
PC3
SERI
SERI
SERO
SCLK
J15
J8 J9
J7
/CS
/CS
nc
D0
D1
D2
WAIT
PE1
PDN
nc
PA0
PA1
PA2
PE4
R1
J1
R2
R5
R4
R3
JP1
JP2
JP
JP6
JP7
JP3
JP5
JP4
C4
C3
C2
L1
C1
R7
R8
R6
R10
R
U1
U2
R11
C15
RP2
C16
C17
D1
R27
RP1
R15
C23
R17 R16
C21
C14
U6
R1
R18
R22
R23
Y2
C27
U7
C28R21
JP8
JP10
JP11
JP12
C5
Y1
Q1
C6
C7
C8
C
C10 C11
U5 C12
C13
R12
C24 R14
C25
C26
C1
C20
U4
U3
C18
R13
C30
C31
C34 C35
C32
C33
C2
C38
C3
C37
C36
AC
Adapter
Jumper Settings
3-pin
power connector
J1
Insert tab into slot
Snap plug into place
2
1
Assemble
AC Adapter
Colored
edge
To
PC COM port
Blue
shrink wrap
PROG
DIAG
Programming
Cable
PROG
J1
J2

Rabbit and Dynamic C are registered trademarks of Rabbit Semiconductor Inc.
020–0124 • 070715–C
RIO Programmable I/O Kit
The RIO Programmable I/O Kit is intended to demonstrate how to expand an embedded control system
design by adding additional I/O and other features. The Kit provides a Prototyping Board with a Rabbit
RIO chip already installed and configurable header locations to allow you to develop your own appli-
cation using the Dynamic C function calls and sample programs included with the Kit.
Application Kit Contents
The RIO Programmable I/O Kit contains the following items:
•2 CD-ROMs — Dynamic C®with complete product documentation on disk, and supplemental CD with
sample programs and information related to the RIO Programmable I/O Kit.
•RCM4110 module.
•Rabbit RIO Prototyping Board.
•Universal AC adapter, 12 V DC, 1 A (includes Canada/Japan/U.S., Australia/N.Z., U.K., and
European style plugs).
•10-pin header to DB9 programming cable with integrated level-matching circuitry.
•Getting Started instructions.
•Plastic and metal standoffs with 4-40 screws.
•A bag of jumpers and jumper wires for use on the
Prototyping Board.
•Rabbit 4000 Processor Easy Reference poster.
•Registration card.
Visit our online Rabbit store at www.rabbit.com/store/ for
the latest information on peripherals and accessories that
are available for the Rabbit RIO chip.
Starting Dynamic C
Once the RCM4110 is connected as described in the preceding pages, start Dynamic C by double-clicking on
the Dynamic C icon on your desktop or in your Start menu. Dynamic C uses the serial port specified during
installation.
If you are using a USB port to connect your computer to the RCM4110, choose Options > Project
Options and check “Use USB to Serial Converter” in “Serial Options.” Click OK to save the settings.
Run a Sample Program
Use the File menu to open the sample program ROTATELED.C in the Dynamic C SAMPLES\RIO folder.
Press function key F9 to compile and run the program.The four LEDs on the Prototyping Board will flash on
and off in a rotating sequence, and the Dynamic C STDIO window will open on your PC to display the status
of the Rabbit RIO chip’s Channel 1.
This sample program uses Channel 1 with the Rabbit RIO chip operating in the SPI clocked serial communi-
cation mode. The Rabbit RIO Chip User's Manual describes the communication modes in more detail.
Where Do I Go From Here?
If the sample program ran fine, you are now ready to go on to other sample programs and to develop your
own applications. Application Note AN415, RIO Programmable I/O Kit, discusses how to use the Prototyp-
ing Board and explains the sample programs and Rabbit RIO function calls. The source code for the sample
programs is provided to allow you to modify them for your own use. The RCM4100 User's Manual on the
Dynamic C CD also provides complete hardware reference information and describes the software function
calls for the RCM4110 RabbitCore module, and the Rabbit RIO User's Manual provides complete reference
information for the Rabbit RIO chip.
Troubleshooting
If Dynamic C cannot find the target system (error message "No Rabbit Processor Detected."):
•Check that the RCM4110 is powered correctly — the red power LED on the Prototyping Board should be
lit when the RCM4110 is mounted on the Prototyping Board and the AC adapter is plugged in.
•Check both ends of the programming cable to ensure that they are firmly plugged into the PC and the
PROG connector, not the DIAG connector, is plugged in to the programming port on the RCM4110.
•Ensure that the RCM4110 module is firmly and correctly installed in its socket on the Prototyping Board.
If there are no faults with the hardware, select a different COM port within Dynamic C. On your computer,
open Control Panel > System > Hardware > Device Manager > Ports and look at the list of available
COM ports. In Dynamic C, select Options > Project Options, then select one of the available COM ports
on the “Communications” tab, then click OK. Press <Ctrl-Y> to force Dynamic C to recompile the BIOS. If
Dynamic C still reports it is unable to locate the target system, repeat the above steps for another available
COM port. You should receive a Bios compiled successfully message once this step is com-
pleted successfully.
If a program compiles and loads, but then loses target communication before you can begin debugging, it is
possible that your PC cannot handle the default debugging baud rate. Try lowering the debugging baud rate.
•Locate the Serial Options dialog in the Dynamic C Options > Project Options > Communica-
tions menu. Choose a lower debug baud rate.
If there are any other problems:
•Use the Dynamic C Help menu to get further assistance with Dynamic C.
•Check the Rabbit Semiconductor Technical Bulletin Board at www.rabbit.com/support/bb/.
•Use the Technical Support e-mail form at www.rabbit.com/support/.
NOTE: If you purchased your RIO Programmable I/O Kit through a distributor or through a Rabbit
Semiconductor partner, contact the distributor or partner first for technical support.
Installing Dynamic C®
Insert the CD from the RIO Programmable
I/O Kit in your PC’s CD-ROM drive. If the
installation does not auto-start, run the
setup.exe program in the root directory of
the Dynamic C CD. Install any Dynamic C
modules after you install Dynamic C.
Table of contents
Other Rabbit Motherboard manuals