Digi Secure Embedded Web Application Kit 2.0 Quick start guide

Type
Quick start guide
Rabbit, RabbitCore, Dynamic C, and Digi are registered trademarks of Digi International Inc.
SD is a trademark of the SD Card Association.
020–0138 080414–A
Secure Embedded Web Application Kit 2.0
The Secure Embedded Web Application Kit allows you to develop a secure embedded Web interface for
your embedded systems. The Application Kit is based on the RCM4300 RabbitCore module, which fea-
tures built-in Ethernet, a swappable flash memory device, and an optional A/D converter.
Application Kit Contents
RabbbitCore
®
RCM4300 module.
Prototyping Board.
512 MB miniSD™ Card with SD Card adapter
Universal AC adapter, 12 V DC, 1 A (includes Canada/Japan/U.S., Australia/N.Z., U.K., and
European style plugs).
USB programming cable with 10-pin header.
Cat. 5 Ethernet crossover cable.
10-pin header to DB9 serial cable.
Secure Embedded Web Application Kit CD including Dynamic C
®
, FAT File System, RabbitWeb, Rabbit
Embedded Security Pack, and sample programs and information related to the Secure Embedded Web
Application Kit — with complete product documentation on disk.
Getting Started instructions.
Plastic and metal standoffs with 4-40 screws and washers.
A bag of accessory parts 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 RCM4300 RabbitCore modules.
Run a Sample Program
Once the RCM4300 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. Select Code and BIOS in RAM on the “Compiler”
tab in the Dynamic C Options > Project Options menu. Then click on the “Communications” tab and verify
that Use USB to Serial Converter is selected to support the USB programming cable. Click OK.
NOTE: The Code and BIOS in RAM BIOS memory compiler option is recommended while debug-
ging for faster download times. Remember to recompile the working application using the Code and
BIOS in Flash, Run in RAM option once you are ready to use the RCM4300 in a standalone instal-
lation.
Determine which COM port was assigned to the USB programming cable on your PC. Open Control Panel >
System > Hardware > Device Manager > Ports and identify which COM port is used for the USB connec-
tion. In Dynamic C, select Options > Project Options, then select this COM port on the Communications
tab, then click OK. You may type the COM port number followed by Enter on your computer keyboard if the
COM port number is outside the range on the dropdown menu.
Use the File menu to open the sample program PONG.C, which is in the Dynamic C SAMPLES folder. Press
function key F9 to compile and run the program.The STDIO window will open on your PC and will display a
small square bouncing around in a box.
Where Do I Go From Here?
If the sample program ran fine, you are now ready to go on to other sample programs, which are discussed in
Application Note AN417, Secure Embedded Web Application Kit 2.0. The source code for the sample programs
is provided to allow you to modify them for your own use. The RCM4300 User's Manual on the Dynamic C CD
also provides complete hardware reference information and describes the software function calls for the
RCM4300 RabbitCore modules and the Prototyping Board. Each Dynamic C module has complete documenta-
tion on the Dynamic C CD that describes the Dynamic C module and discusses the function calls and sample pro-
grams associated with the Dynamic C module.
Troubleshooting
If Dynamic C cannot find the target system (error message "No Rabbit Processor Detected."):
Check that the RCM4300 is powered correctly — the red PWR LED on the Prototyping Board should be lit
when the RCM4300 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 RCM4300 with the marked
(colored) edge of the programming cable towards pin 1 of the programming header.
Ensure that the RCM4300 module is firmly and correctly installed in its socket on the Prototyping Board.
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. Locate the Serial Options dialog in the
Dynamic C Options > Project Options > Communications menu. Choose a lower debug baud rate.
Press <Ctrl-Y> to force Dynamic C to recompile the BIOS. You should receive a Bios compiled
successfully
message once these steps are completed successfully.
If there are any other problems:
Use the Dynamic C Help menu to get further assistance with Dynamic C.
Check the Rabbit Technical Bulletin Board and forums at www.rabbit.com/support/bb/
and at www.rabbit.com/forums/.
Use the Technical Support e-mail form at www.rabbit.com/support/.
NOTE: If you purchased your Secure Embedded Web Application Kit through a distributor or through a
Rabbit partner, contact the distributor or partner first for technical support.
Installing Dynamic C
®
Insert the CD from the Application 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.
Hardware Connections
Step 1 — Prepare the Prototyping Board
To facilitate handling the Prototyping Board, snap in the
four standoffs to the four holes at the corners from the
bottom side of the Prototyping Board as shown in
Figure 1.
NOTE: The hole at the bottom left of the Prototyping
Board is used to mount the RCM4300, so use the
hole immediately above it for the standoff.
Step 2 — Insert the miniSDCard
Insert the miniSD™ Card.into the miniSD Card holder on
the RCM4300. The card is designed to fit easily only one way do not bend
the card or force it into the slot.You will sense a soft click once the card is
inserted completely.
Step 3 — Attach RCM4300 Module to Prototyping Board
Step 4 — Connect Programming Cable
The programming cable connects the RCM4300 to the PC running Dynamic C to download programs and to mon-
itor the RCM4300 module during debugging.
Connect the 10-pin connector of the programming cable labeled PROG to header J1 on the RCM4300 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 presently not supported by the RCM4300.)
Turn the RCM4300 module so that the
mounting holes line up with the correspond-
ing holes on the Prototyping Board. Insert
the metal standoffs as shown in Figure 2,
secure them from the bottom using the three
screws and washers, then insert the module’s
header J4 on the bottom side into socket
RCM1 on the Prototyping Board.
NOTE: It is important that you line up the
pins on header J4 of the module
exactly with socket RCM1 on the Pro-
totyping 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 firmly into the Proto-
typing Board socket—press down in the area
above the header pins. For additional integ-
rity, you may secure the RCM4300 to the
standoffs from the top using the remaining
three screws and washers.
Figure 2. Install the RCM4300 Module
on the Prototyping Board
Figure 1. Insert Standoffs
D1
R1
PWR
DS1
GND
J1
U1
C1
GND
C2
JP1
C3
D2
JP2
C
4
+3.3
V
J2
R2
BT1
1
S1
RESET
RXD TXD
TX
C R
XC
G
ND
J
4
UX
29
RX81
RX87
CX41
RX83
RX11
CX39
UX30
UX10
UX12
UX14
UX16
RX79
CX29
CX17
RX67
UX45
RX85
GND
GND
GND
1
R24
R22
R21
R23
CX23
RX77
1
R27
R28
JP25
CX25
RX75
RX73
CX27
DS3
S3S2
DS2
J3
UX49
UX4
UX47
+5 V
GND
+3.3 V
RCM1
U2
/RST_OUT
/IOWR
VBAT
EXT
PA1
PA3
PA5
PA7
PB1
PB3
PB5
PB7
PC1
PC3
PC5
PC7
PE1
PE3
PE5
PE7
PD1
LN1
PD3
LN3
PD5
LN5
PD7
LN7
VREF
GND
/IORD
/RST_IN
PA0
PA2
PA4
PA6
PB0
PB2
PB4
PB6
PC0
PC2
PC4
PC6
PE0
PE2
PE4
PE6
PD0
LN0
PD2
LN2
PD4
LN4
PD6
LN6
CVT
AGND
JP24
JP23
C14
C12
C
10
C8
C7
C9
C
11
C13
R10
R8
R
6
R4
R
3
R5
R
7
R20
R18
R16
R14
R
13
R15
R
17
R29
JP11
JP15
JP19
JP21
JP22
JP20
JP1
7
JP13
R19
R9
RX57
RX55
RX97
RX49
UX33UX31
RX
89
UX3
UX37 UX42 UX41
R
X63
RX65
RX
61
RX59
R26
R25
Q1
C15
C19 C20
U3
C18
C17
JP16
JP6
JP5
JP12
JP4
JP3
JP14
JP8
JP7
JP18
JP9
JP10
C16
L1
C6
C5
AGND
CVT
LN6IN
LN
4IN
LN2IN
LN0IN
VREF
LN7IN
LN5IN
LN3IN
LN1IN
AGN
D
AGND
R11
R12
RX47
RX43
D1
R1
PWR
DS1
GND
J1
U1
C1
GND
C2
JP1
C3
D2
JP2
C4
+3.3 V
J2
R2
BT1
1
S1
RESET
RXD TXD
TXC RXC
GND
J4
UX29
RX81
RX87
CX41
RX83
RX11
CX39
UX30
UX10
UX12
UX14
UX16
RX79
CX29
CX17
RX67
UX45
RX85
GND
GND
GND
1
R24
R22
R21
R23
CX23
RX77
1
R27
R28
JP25
CX25
RX75
RX73
CX27
DS3
S3S2
DS2
J3
UX49
UX4
UX47
+5 V
GND
+3.3 V
RCM1
U2
/RST_OUT
/IOWR
VBAT
EXT
PA1
PA3
PA5
PA7
PB1
PB3
PB5
PB7
PC1
PC3
PC5
PC7
PE1
PE3
PE5
PE7
PD1
LN1
PD3
LN3
PD5
LN5
PD7
LN7
VREF
GND
/IORD
/RST_IN
PA0
PA2
PA4
PA6
PB0
PB2
PB4
PB6
PC0
PC2
PC4
PC6
PE0
PE2
PE4
PE6
PD0
LN0
PD2
LN2
PD4
LN4
PD6
LN6
CVT
AGND
JP24
JP23
C14
C12
C10
C8
C7
C9
C11
C13
R10
R8
R6
R4
R3
R5
R7
R20
R18
R16
R14
R13
R15
R17
R29
JP11
JP15
JP19
JP21
JP22
JP20
JP17
JP13
R19
R9
RX57
RX55
RX97
RX49
UX33
UX31
RX89
UX3
UX37 UX42
UX41
RX63
RX65
RX61
RX59
R26
R25
Q1
C15
C19 C20
U3
C18
C17
JP16
JP6
JP5
JP12
JP4
JP3
JP14
JP8
JP7
JP18
JP9
JP10
C16
L1
C6
C5
AGND
CVT
LN6IN
LN4IN
LN2IN
LN0IN
VREF
LN7IN
LN5IN
LN3IN
LN1IN
AGND
AGND
R11
R12
RX47
RX43
J1
R1
R2
R19
R3
R4
C3
L1
C1
C2
Y1
4
1
3
R16
R17
C4
C8
C5
C6
C7
R20
U2
R21
R22
R23
C13
C12
L2
C10
JP15
C21
U7
R38
J2
R37
R36
C22
DS1
LINK
SPEED
FDX
DS3
DS2
R39
R40
R41
R35
C23
R34
U6
R33
R31
R32
D1
R66
C14
C11
C9
R7
R6
DS4
R42
J3
U18
R65
R67
R64
R29
R68
R69
R30
R24
C15 C16 R28 R27 R26
R25
C20
U5
JP12
JP13
JP14
R71
R70
R5
JP1
JP2
R72
JP3
JP4
JP5
JP6
JP7
JP8
JP9
JP10
JP11
U3
R8
R9
Q2
Q3
C91
C93
U1
R10
R11
R13
R12
R14
R15
C17
C18
C19
C92
C90
RCM4300
RCM1
Line up mounting
holes with holes
on Prototyping Board.
Insert standoffs
between
mounting holes and
Prototyping Board.
Programming
Header
D1
R1
PWR
DS1
GND
J1
U1
C1
GND
C2
JP1
C3
D2
JP2
C4
+3.3 V
J2
R2
BT1
1
S1
RESET
RXD TXD
TXC RXC
GND
J4
UX29
RX81
RX87
CX41
RX83
RX11
CX39
UX30
UX10
UX12
UX14
UX16
RX79
CX29
CX17
RX67
UX45
RX85
GND
GND
GND
1
R24
R22
R21
R23
CX23
RX77
1
R27
R28
JP25
CX25
RX75
RX73
CX27
DS3
S3S2
DS2
J3
UX49
UX4
UX47
+5 V
GND
+3.3 V
RCM1
U2
/RST_OUT
/IOWR
VBAT
EXT
PA1
PA3
PA5
PA7
PB1
PB3
PB5
PB7
PC1
PC3
PC5
PC7
PE1
PE3
PE5
PE7
PD1
LN1
PD3
LN3
PD5
LN5
PD7
LN7
VREF
GND
/IORD
/RST_IN
PA0
PA2
PA4
PA6
PB0
PB2
PB4
PB6
PC0
PC2
PC4
PC6
PE0
PE2
PE4
PE6
PD0
LN0
PD2
LN2
PD4
LN4
PD6
LN6
CVT
AGND
JP24
JP23
C14
C12
C10
C8
C7
C9
C11
C13
R10
R8
R6
R4
R3
R5
R7
R20
R18
R16
R14
R13
R15
R17
R29
JP11
JP15
JP19
JP21
JP22
JP20
JP17
JP13
R19
R9
RX57
RX55
RX97
RX49
UX33
UX31
RX89
UX3
UX37 UX42
UX41
RX63
RX65
RX61
RX59
R26
R25
Q1
C15
C19 C20
U3
C18
C17
JP16
JP6
JP5
JP12
JP4
JP3
JP14
JP8
JP7
JP18
JP9
JP10
C16
L1
C6
C5
AGND
CVT
LN6IN
LN4IN
LN2IN
LN0IN
VREF
LN7IN
LN5IN
LN3IN
LN1IN
AGND
AGND
R11
R12
RX47
RX43
J1
R1
R2
R19
R3
R4
C3
L1
C1
C2
Y1
4
1
3
R16
R17
C4
C8
C5
C6
C7
R20
U2
R21
R22
R23
C13
C12
L2
C10
JP15
C21
U7
R38
J2
R37
R36
C22
DS1
LINK
SPEED
FDX
DS3
DS2
R39
R40
R41
R35
C23
R34
U6
R33
R31
R32
D1
R66
C14
C11
C9
R7
R6
DS4
R42
J3
U18
R65
R67
R64
R29
R68
R69
R30
R24
C15 C16 R28 R27 R26
R25
C20
U5
JP12
JP13
JP14
R71
R70
R5
JP1
JP2
R72
JP3
JP4
JP5
JP6
JP7
JP8
JP9
JP10
JP11
U3
R8
R9
Q2
Q3
C91
C93
U1
R10
R11
R13
R12
R14
R15
C17
C18
C19
C92
C90
AC Adapter
RESET
3-pin
power connector
J1
Insert tab into slot
Snap plug into place
2
1
Assemble
AC Adapter
Colored
edge
To
PC USB port
PROG
DIAG
Programming
Cable
PROG
J1
CAUTION: You will sense a soft click
once you insert the miniSD™ Card
completely. To remove it, gently press
the card towards the middle of the
RCM4300 — you will sense a soft click
and the card will be ready to be removed.
Do not attempt to pull the card from the
socket before pressing it in — otherwise
the ejection mechanism will get dam-
aged. The ejection mechanism is spring-
loaded, and will partially eject the card
when used correctly.
Hardware Connections
Step 1 — Prepare the Prototyping Board
To facilitate handling the Prototyping Board, snap in the
four standoffs to the four holes at the corners from the
bottom side of the Prototyping Board as shown in
Figure 1.
NOTE: The hole at the bottom left of the Prototyping
Board is used to mount the RCM4300, so use the
hole immediately above it for the standoff.
Step 2 — Insert the miniSDCard
Insert the miniSD™ Card.into the miniSD Card holder on
the RCM4300. The card is designed to fit easily only one way do not bend
the card or force it into the slot.You will sense a soft click once the card is
inserted completely.
Step 3 — Attach RCM4300 Module to Prototyping Board
Step 4 — Connect Programming Cable
The programming cable connects the RCM4300 to the PC running Dynamic C to download programs and to mon-
itor the RCM4300 module during debugging.
Connect the 10-pin connector of the programming cable labeled PROG to header J1 on the RCM4300 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 presently not supported by the RCM4300.)
Turn the RCM4300 module so that the
mounting holes line up with the correspond-
ing holes on the Prototyping Board. Insert
the metal standoffs as shown in Figure 2,
secure them from the bottom using the three
screws and washers, then insert the module’s
header J4 on the bottom side into socket
RCM1 on the Prototyping Board.
NOTE: It is important that you line up the
pins on header J4 of the module
exactly with socket RCM1 on the Pro-
totyping 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 firmly into the Proto-
typing Board socket—press down in the area
above the header pins. For additional integ-
rity, you may secure the RCM4300 to the
standoffs from the top using the remaining
three screws and washers.
Figure 2. Install the RCM4300 Module
on the Prototyping Board
Figure 1. Insert Standoffs
D
1
R
1
PWR
DS1
GND
J1
U1
C1
GND
C2
J
P
1
C
3
D
2
J
P
2
C
4
+
3
.
3
V
J2
R
2
BT1
1
S1
RESET
R
X
D
T
X
D
T
X
C
R
X
C
G
N
D
J
4
U
X
2
9
RX81
R
X
8
7
C
X
4
1
RX83
RX11
C
X
3
9
UX30
UX10
UX12
UX14
UX16
RX79
C
X
2
9
C
X
1
7
RX67
U
X
4
5
R
X
8
5
GND
GND
GND
1
R24
R22
R21
R23
CX23
RX77
1
R
2
7
R
2
8
JP25
CX25
RX75
RX73
CX27
DS3
S3S2
DS2
J3
UX49
UX4
UX47
+5 V
GND
+3.3 V
RCM1
U
2
/RST_OUT
/IOWR
VBAT
EXT
PA1
PA3
PA5
PA7
PB1
PB3
PB5
PB7
PC1
PC3
PC5
PC7
PE1
PE3
PE5
PE7
PD1
LN1
PD3
LN3
PD5
LN5
PD7
LN7
VREF
GND
/IORD
/RST_IN
PA0
PA2
PA4
PA6
PB0
PB2
PB4
PB6
PC0
PC2
PC4
PC6
PE0
PE2
PE4
PE6
PD0
LN0
PD2
LN2
PD4
LN4
PD6
LN6
CVT
AGND
J
P
2
4
J
P
2
3
C
1
4
C
1
2
C
1
0
C
8
C
7
C
9
C
1
1
C
1
3
R10
R
8
R
6
R
4
R
3
R
5
R
7
R20
R
1
8
R
1
6
R
1
4
R
1
3
R
1
5
R
1
7
R29
J
P
1
1
J
P
1
5
J
P
1
9
J
P
2
1
J
P
2
2
J
P
2
0
J
P
1
7
J
P
1
3
R19
R9
RX57
RX55
RX97
RX49
U
X
3
3
U
X
3
1
R
X
8
9
UX3
U
X
3
7
U
X
4
2
U
X
4
1
R
X
6
3
R
X
6
5
R
X
6
1
RX59
R
2
6
R25
Q1
C15
C
1
9
C
2
0
U3
C18
C
1
7
JP16
JP6
JP5
JP12
JP4
JP3
JP14
JP8
JP7
JP18
JP9
JP10
C16
L1
C6
C5
A
G
N
D
C
V
T
L
N
6
I
N
L
N
4
I
N
L
N
2
I
N
L
N
0
I
N
V
R
E
F
L
N
7
I
N
L
N
5
I
N
L
N
3
I
N
L
N
1
I
N
A
G
N
D
A
G
N
D
R
1
1
R
1
2
R
X
4
7
RX43
D1
R1
PWR
DS1
GND
J1
U1
C1
GND
C2
JP1
C3
D2
JP2
C4
+3.3 V
J2
R2
BT1
1
S1
RESET
RXD TXD
TXC RXC
GND
J4
UX29
RX81
RX87
CX41
RX83
RX11
CX39
UX30
UX10
UX12
UX14
UX16
RX79
CX29
CX17
RX67
UX45
RX85
GND
GND
GND
1
R24
R22
R21
R23
CX23
RX77
1
R27
R28
JP25
CX25
RX75
RX73
CX27
DS3
S3S2
DS2
J3
UX49
UX4
UX47
+5 V
GND
+3.3 V
RCM1
U2
/RST_OUT
/IOWR
VBAT
EXT
PA1
PA3
PA5
PA7
PB1
PB3
PB5
PB7
PC1
PC3
PC5
PC7
PE1
PE3
PE5
PE7
PD1
LN1
PD3
LN3
PD5
LN5
PD7
LN7
VREF
GND
/IORD
/RST_IN
PA0
PA2
PA4
PA6
PB0
PB2
PB4
PB6
PC0
PC2
PC4
PC6
PE0
PE2
PE4
PE6
PD0
LN0
PD2
LN2
PD4
LN4
PD6
LN6
CVT
AGND
JP24
JP23
C14
C12
C10
C8
C7
C9
C11
C13
R10
R8
R6
R4
R3
R5
R7
R20
R18
R16
R14
R13
R15
R17
R29
JP11
JP15
JP19
JP21
JP22
JP20
JP17
JP13
R19
R9
RX57
RX55
RX97
RX49
UX33
UX31
RX89
UX3
UX37 UX42
UX41
RX63
RX65
RX61
RX59
R26
R25
Q1
C15
C19 C20
U3
C18
C17
JP16
JP6
JP5
JP12
JP4
JP3
JP14
JP8
JP7
JP18
JP9
JP10
C16
L1
C6
C5
AGND
CVT
LN6IN
LN4IN
LN2IN
LN0IN
VREF
LN7IN
LN5IN
LN3IN
LN1IN
AGND
AGND
R11
R12
RX47
RX43
J1
R1
R2
R19
R3
R4
C3
L1
C1
C2
Y1
4
1
3
R16
R17
C4
C8
C5
C6
C7
R20
U2
R21
R22
R23
C13
C12
L2
C10
JP15
C21
U7
R38
J2
R37
R36
C22
DS1
LINK
SPEED
FDX
DS3
DS2
R39
R40
R41
R35
C23
R34
U6
R33
R31
R32
D1
R66
C14
C11
C9
R7
R6
DS4
R42
J3
U18
R65
R67
R64
R29
R68
R69
R30
R24
C15 C16 R28 R27 R26
R25
C20
U5
JP12
JP13
JP14
R71
R70
R5
JP1
JP2
R72
JP3
JP4
JP5
JP6
JP7
JP8
JP9
JP10
JP11
U3
R8
R9
Q2
Q3
C91
C93
U1
R10
R11
R13
R12
R14
R15
C17
C18
C19
C92
C90
RCM4300
RCM1
Line up mounting
holes with holes
on Prototyping Board.
Insert standoffs
between
mounting holes and
Prototyping Board.
Programming
Header
Figure 3. Connect Programming Cable and Power Supply
Connect the other end of the programming cable to an available USB port on your PC or workstation.
Your PC should recognize the new USB hardware, and the LEDs in the shrink-wrapped area of the USB
programming cable will flash — if you get an error message, you will have to install USB drivers. Drivers
for Windows XP are available in the Dynamic C Drivers\Rabbit USB Programming Cable\
WinXP_2K folder — double-click DPInst.exe to install the USB drivers. Drivers for other operating
systems are available online at www.ftdichip.com/Drivers/VCP.htm.
Step 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 plug. The RCM4300
Development 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 spring-loaded clip below the plug assembly to allow the plug assembly to click into
place. Release the clip to secure the plug assembly in the AC adapter.
Connect the AC adapter to 3-pin header J1 on the Prototyping Board as shown in Figure 3. 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 PWR LED on the Prototyping Board next to the power connector at J1 should
light up. The RCM4300 and the Prototyping Board are now ready to be used.
NOTE: A RESET button is provided on the Prototyping Board next to the battery holder to allow
a hardware reset without disconnecting power.
D1
R1
PWR
DS1
GND
J1
U1
C1
GND
C2
JP1
C3
D2
JP2
C4
+3.3 V
J2
R2
BT1
1
S1
RESET
RXD TXD
TXC RXC
GND
J4
UX29
RX81
RX87
CX41
RX83
RX11
CX39
UX30
UX10
UX12
UX14
UX16
RX79
CX29
CX17
RX67
UX45
RX85
GND
GND
GND
1
R24
R22
R21
R23
CX23
RX77
1
R27
R28
JP25
CX25
RX75
RX73
CX27
DS3
S3S2
DS2
J3
UX49
UX4
UX47
+5 V
GND
+3.3 V
RCM1
U2
/RST_OUT
/IOWR
VBAT
EXT
PA1
PA3
PA5
PA7
PB1
PB3
PB5
PB7
PC1
PC3
PC5
PC7
PE1
PE3
PE5
PE7
PD1
LN1
PD3
LN3
PD5
LN5
PD7
LN7
VREF
GND
/IORD
/RST_IN
PA0
PA2
PA4
PA6
PB0
PB2
PB4
PB6
PC0
PC2
PC4
PC6
PE0
PE2
PE4
PE6
PD0
LN0
PD2
LN2
PD4
LN4
PD6
LN6
CVT
AGND
JP24
JP23
C14
C12
C10
C8
C7
C9
C11
C13
R10
R8
R6
R4
R3
R5
R7
R20
R18
R16
R14
R13
R15
R17
R29
JP11
JP15
JP19
JP21
JP22
JP20
JP17
JP13
R19
R9
RX57
RX55
RX97
RX49
UX33
UX31
RX89
UX3
UX37 UX42
UX41
RX63
RX65
RX61
RX59
R26
R25
Q1
C15
C19 C20
U3
C18
C17
JP16
JP6
JP5
JP12
JP4
JP3
JP14
JP8
JP7
JP18
JP9
JP10
C16
L1
C6
C5
AGND
CVT
LN6IN
LN4IN
LN2IN
LN0IN
VREF
LN7IN
LN5IN
LN3IN
LN1IN
AGND
AGND
R11
R12
RX47
RX43
J1
R1
R2
R19
R3
R4
C3
L1
C1
C2
Y1
4
1
3
R16
R17
C4
C8
C5
C6
C7
R20
U2
R21
R22
R23
C13
C12
L2
C10
JP15
C21
U7
R38
J2
R37
R36
C22
DS1
LINK
SPEED
FDX
DS3
DS2
R39
R40
R41
R35
C23
R34
U6
R33
R31
R32
D1
R66
C14
C11
C9
R7
R6
DS4
R42
J3
U18
R65
R67
R64
R29
R68
R69
R30
R24
C15 C16 R28 R27 R26
R25
C20
U5
JP12
JP13
JP14
R71
R70
R5
JP1
JP2
R72
JP3
JP4
JP5
JP6
JP7
JP8
JP9
JP10
JP11
U3
R8
R9
Q2
Q3
C91
C93
U1
R10
R11
R13
R12
R14
R15
C17
C18
C19
C92
C90
AC Adapter
RESET
3-pin
power connector
J1
Insert tab into slot
Snap plug into place
2
1
Assemble
AC Adapter
Colored
edge
To
PC USB port
PROG
DIAG
Programming
Cable
PROG
J1
Rabbit, RabbitCore, Dynamic C, and Digi are registered trademarks of Digi International Inc.
SD is a trademark of the SD Card Association.
020–0138 080414–A
Secure Embedded Web Application Kit 2.0
The Secure Embedded Web Application Kit allows you to develop a secure embedded Web interface for
your embedded systems. The Application Kit is based on the RCM4300 RabbitCore module, which fea-
tures built-in Ethernet, a swappable flash memory device, and an optional A/D converter.
Application Kit Contents
RabbbitCore
®
RCM4300 module.
Prototyping Board.
512 MB miniSD™ Card with SD Card adapter
Universal AC adapter, 12 V DC, 1 A (includes Canada/Japan/U.S., Australia/N.Z., U.K., and
European style plugs).
USB programming cable with 10-pin header.
Cat. 5 Ethernet crossover cable.
10-pin header to DB9 serial cable.
Secure Embedded Web Application Kit CD including Dynamic C
®
, FAT File System, RabbitWeb, Rabbit
Embedded Security Pack, and sample programs and information related to the Secure Embedded Web
Application Kit — with complete product documentation on disk.
Getting Started instructions.
Plastic and metal standoffs with 4-40 screws and washers.
A bag of accessory parts 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 RCM4300 RabbitCore modules.
Run a Sample Program
Once the RCM4300 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. Select Code and BIOS in RAM on the “Compiler”
tab in the Dynamic C Options > Project Options menu. Then click on the “Communications” tab and verify
that Use USB to Serial Converter is selected to support the USB programming cable. Click OK.
NOTE: The Code and BIOS in RAM BIOS memory compiler option is recommended while debug-
ging for faster download times. Remember to recompile the working application using the Code and
BIOS in Flash, Run in RAM option once you are ready to use the RCM4300 in a standalone instal-
lation.
Determine which COM port was assigned to the USB programming cable on your PC. Open Control Panel >
System > Hardware > Device Manager > Ports and identify which COM port is used for the USB connec-
tion. In Dynamic C, select Options > Project Options, then select this COM port on the Communications
tab, then click OK. You may type the COM port number followed by Enter on your computer keyboard if the
COM port number is outside the range on the dropdown menu.
Use the File menu to open the sample program PONG.C, which is in the Dynamic C SAMPLES folder. Press
function key F9 to compile and run the program.The STDIO window will open on your PC and will display a
small square bouncing around in a box.
Where Do I Go From Here?
If the sample program ran fine, you are now ready to go on to other sample programs, which are discussed in
Application Note AN417, Secure Embedded Web Application Kit 2.0. The source code for the sample programs
is provided to allow you to modify them for your own use. The RCM4300 User's Manual on the Dynamic C CD
also provides complete hardware reference information and describes the software function calls for the
RCM4300 RabbitCore modules and the Prototyping Board. Each Dynamic C module has complete documenta-
tion on the Dynamic C CD that describes the Dynamic C module and discusses the function calls and sample pro-
grams associated with the Dynamic C module.
Troubleshooting
If Dynamic C cannot find the target system (error message "No Rabbit Processor Detected."):
Check that the RCM4300 is powered correctly — the red PWR LED on the Prototyping Board should be lit
when the RCM4300 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 RCM4300 with the marked
(colored) edge of the programming cable towards pin 1 of the programming header.
Ensure that the RCM4300 module is firmly and correctly installed in its socket on the Prototyping Board.
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. Locate the Serial Options dialog in the
Dynamic C Options > Project Options > Communications menu. Choose a lower debug baud rate.
Press <Ctrl-Y> to force Dynamic C to recompile the BIOS. You should receive a Bios compiled
successfully
message once these steps are completed successfully.
If there are any other problems:
Use the Dynamic C Help menu to get further assistance with Dynamic C.
Check the Rabbit Technical Bulletin Board and forums at www.rabbit.com/support/bb/
and at www.rabbit.com/forums/.
Use the Technical Support e-mail form at www.rabbit.com/support/.
NOTE: If you purchased your Secure Embedded Web Application Kit through a distributor or through a
Rabbit partner, contact the distributor or partner first for technical support.
Installing Dynamic C
®
Insert the CD from the Application 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.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4

Digi Secure Embedded Web Application Kit 2.0 Quick start guide

Type
Quick start guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI