1.5.1 FCC Part 15 Class B ...................................................................................................................7
1.5.2 Industry Canada Labeling ...........................................................................................................9
1.5.3 Europe .......................................................................................................................................10
1.5.4 Japan ..........................................................................................................................................10
Chapter 2: Getting Started 11
2.1 Install Dynamic C ............................................................................................................................... 11
4.5.1 Standalone Operation of the RCM5600W/RCM6600W .......................................................... 40
4.6 Other Hardware .................................................................................................................................. 41
4.6.1 Clock Doubler or PLL .............................................................................................................. 41
B.3 Power Supply ..................................................................................................................................... 90
B.4 Using the Interface Board .................................................................................................................. 91
F.1 Power Supplies ................................................................................................................................. 119
F.1.4 Onboard Power Supplies .........................................................................................................122
1. INTRODUCTION
The RCM5600W and RCM6600W MiniCore modules provide a compact module in a mini
PCI Express form factor with integrated Wi-Fi/802.11b/g functionality to allow you to create
a low-cost, low-power, Wi-Fi based control and communications solution for your embedded system.
The RCM6600W allows use of Ethernet as well as Wi-Fi, which opens up many possibilities for embedded systems which require wireless as well as traditional, wired, connectivity.
A Development Kit is available with the essentials that you need to design your own
microprocessor-based system, and includes a complete Dynamic C software development
system. The Development Kit also contains an Interface Board with a USB connection that
will allow you to evaluate the RCM5600W/RCM6600W, and a Prototyping Board to help
you to develop your own applications. You will also be able to write and test software for
the RCM5600W/RCM6600W modules, including Wi-Fi applications.
The RCM5600W has a Rabbit 5000 microprocessor operating at up to 73.73 MHz, flash
memory, two clocks (main oscillator and real-time clock), and the circuitry necessary to
reset and manage the Rabbit 5000. An edge connector brings out the RCM5600W user
interface to a 52-pin mini PCI Express socket on the motherboard the module is mounted
on.
The RCM6600W is similar to the RCM5600W, except that it has a Rabbit 6000 microprocessor operating at up to 162.5 MHz. The Rabbit 6000 has 1MB of internal fast RAM, and
it is also possible to use Wi-Fi and Ethernet simultaneously. The RCM6600W also permits
four of the edge connector pins (PE0-3) to be selectively configured as analog inputs.
The RCM5600W/RCM6600W module receives its +3.3 V power from the motherboard
on which it is mounted. The module can interface with other CMOS-compatible digital
devices through the motherboard.
1.1 MiniCore Module Variants
This document describes four MiniCore module variants. The RCM5600W is based on the
Rabbit 5000 microprocessor, whereas the RCM6600W is based on the Rabbit 6000 and it
includes Ethernet as well as Wi-Fi. There are also two minor variants, the RCM5650W
and the RCM6650W. These variants add a larger serial flash memory (4MB instead of
1MB) but are otherwise almost identical to their -00W siblings.
OEM User’s Manual1
Unless otherwise noted, references to the RCM5600W also apply to the RCM5650W, and
references to the RCM6600W also apply to the RCM6650W. The term “MiniCore” refers
to any of these variants, as appropriate to the context, as does the term
“RCM5600W/RCM6600W”.
2MiniCore RCM5600W/RCM6600W
1.2 RCM5600W/RCM6600W Features
• Small size: 1.20" × 2.00" × 0.40"
(30 mm × 51 mm × 10 mm)
• Microprocessor: Rabbit 5000 running
at 73.73 MHz, or Rabbit 6000 running at 162.5
MHz (as well as lower multiples of 25MHz).
• Up to 35 general-purpose I/O lines each configurable with up to four alternate functions
• On the RCM6600W: four I/O lines may be selected as analog inputs, in pairs.
• 3.3 V I/O lines
•
Six CMOS-compatible serial ports — f
our ports are configurable as a clocked serial port
(SPI), and two ports are configurable as SDLC/HDLC serial ports.
• Airoha single-chip 802.11b/g transceiver
• External I/O bus can be configured for 8 data lines, 8 address lines (shared with parallel
I/O lines), and I/O read/write
• 1MB SRAM and 1MB serial flash memory (4MB serial flash memory on the
RCM5650W/RCM6650W)
• Battery-backable real-time clock
• Watchdog supervisor
Currently there are four production models. Table 1 summarizes their main features.
Table 1. RCM5600W, RCM5650W, RCM6600W and RCM6650W Features
FeatureRCM5600WRCM5650WRCM6600WRCM6650W
Microprocessor
SRAM1MB (external for Rabbit 5000, internal for Rabbit 6000)
Serial Flash Memory (program)1MB4MB1MB4MB
6 shared high-speed, CMOS-compatible ports:
Serial Ports
Wi-Fi802.11b/g standard, ISM 2.4 GHz
EthernetNot availableAvailable on edge connector
®
Rabbit
6 are configurable as asynchronous serial ports;
4 are configurable as clock
2 are configurable as SDLC/HDLC serial
1 asynchronous serial port is used during programming
5000 at 73.73 MHzRabbit® 6000 at 162.5 MHz
ed serial ports (SPI);
ports;
The RCM5600W/RCM6600W is programmed through a USB connector on the motherboard using a USB cable supplied with the Development Kit. The
RCM5600W/RCM6600W may also be programmed remotely using the Remote Program
Update library with Dynamic C v. 10.54 or later (v. 10.68 for the RCM6600W). See
Application Note AN421, Remote Program Update, for more information.
OEM User’s Manual3
NOTE: The RabbitLink cannot be used to program the RCM5600W/RCM6600W.
Appendix A provides detailed specifications for the RCM5600W/RCM6600W.
1.3 Advantages of the RCM5600W/RCM6600W
• Fast time to market using a fully engineered, “ready-to-run/ready-to-program” micro-
processor core.
• Competitive pricing when compared with the alternative of purchasing and assembling
individual components.
• Easy C-language program development and debugging
• Rabbit Field Utility to download compiled Dynamic C .bin files.
• Generous memory size allows large programs with tens of thousands of lines of code,
and substantial data storage.
1.4 Development and Evaluation Tools
1.4.1 RCM5600W or RCM6600W Standard Development Kit
The RCM5600W or RCM6600W Standard Development Kits contains the hardware
essentials you will need to use your RCM5600W or RCM6600W module. These items are
supplied in the standard versions of the Development Kit.
• RCM5600W or RCM6600W module.
• 2.4 GHz dipole antenna with mounting bracket and U.FL to RP-SMA connector cable.
• Interface Board with standoffs/connectors.
• Prototyping Board with standoffs/connectors.
• USB cable to program the module via Interface Board.
• Dynamic C CD-ROM, including product documentation on disk.
• Getting Started instructions.
• Registration card.
4MiniCore RCM5600W/RCM6600W
Rabbit, Dynamic C, and Digi are registered trademarks of Digi International Inc.
MiniCore RCM5600W
The RCM5600W MiniCore module provides a compact module in a mini PCI Express form factor
with integrated Wi-Fi/802.11b/g functionality to allow you to create a low-cost, low-power, Wi-Fi
based control and communications solution for your embedded system. These Getting Started instructions included with the Development Kit will help you get your RCM5600W up and running so that
you can run the sample programs to explore its capabilities and develop your own applications.
Development Kit Contents
The RCM5600W Standard Development Kit contains the following items
• RCM5600W module.
• 2.4 GHz dipole antenna with mounting bracket and RP-SMA connector cable.
• Interface Board with standoffs/connectors.
• Prototyping Board with standoffs/connectors.
• USB cable to program RCM5600W via Interface Board.
• Dynamic C
®
CD-ROM, with complete product documentation on disk.
• Getting Started instructions.
• 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 RCM5600W MiniCore modules.
Step 1 — Install Dynamic C
®
Before doing any development, you must install Dynamic C. Insert the CD from the Development 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
.
CAUTION: Provide ESD protection such as smocks and grounding straps on your footwear
while assembling the RCM5600W module, installing it on another board, and while making or
removing any connections.
Figure 1. RCM5600W/RCM6600W Standard Development Kit
1.4.2 RCM5600W or RCM6600W Deluxe Development Kit
In addition to the items included in the standard Development Kit, the Deluxe Development Kit contains the following items.
• Universal AC adapter, 5 V DC, 2 A (includes Canada/Japan/U.S., Australia/N.Z., U.K.,
and European style plugs). Development Kits sold in North America may contain an
AC adapter with only a North American style plug.
• Digital I/O and Serial Communication accessory boards for use with certain sample
programs.
• DB9 to 10-pin header serial cable.
• Rabbit 5000 or Rabbit 6000 Processor Easy Reference poster.
1.4.3 Optional Add-Ons
Rabbit has a power supply and an Antenna Add-On Kit available for the
RCM5600W/RCM6600W
.
• Separate power supply (Part No. 101-1273)
The universal AC adapter is available for customers who purchased the S
tandard
Development Kit. This universal AC adapter may be used if your
RCM5600W/RCM6600W does not work when you power it through the USB cable,
and you do not have your own +5 V DC power supply.
• Antenna Add-On Kit (Part No. 101-1295)
2.4 GHz dipole antenna
U.FL to RP-SMA connector cable
OEM User’s Manual5
RCM5600W or RCM6600W modules purchased individually or in production quantities do not come with an antenna or a connector cable. The Antenna Add-On Kit provides a convenient source of these items.
Visit our Web site at www.digi.com or contact your Rabbit sales representative or
authorized distributor for further information.
1.4.4 Software
The RCM5600W is programmed using version 10.50 or later of Dynamic C; the
RCM5650W requires version 10.60 or later of Dynamic C; and the RCM6600W or
RCM6650W require version 10.68 or later. A compatible version is included on the
Development Kit CD-ROM. This version of Dynamic C includes the popular µC/OS-II
real-time operating system, point-to-point protocol (PPP), FAT file system, RabbitWeb,
and the Rabbit Embedded Security Pack featuring the Secure Sockets Layer (SSL) and a
specific Advanced Encryption Standard (AES) library.
In addition to the Web-based technical support included at no extra charge, a one-year
telephone-based technical support subscription is also available for purchase. Visit our
Web site at www.digi.com for further information and complete documentation, or contact
your Rabbit sales representative or authorized distributor
1.4.5 Online Documentation
The online documentation is installed along with Dynamic C, and an icon for the documentation menu can be placed on the workstation’s desktop. Double-click this icon to
reach the menu. If the icon is missing, use your browser to find and load default.htm in
the docs folder, found in the Dynamic C installation folder.
The latest versions of all documents are always available for free, unregistered download
from our Web sites as well.
6MiniCore RCM5600W/RCM6600W
1.5 Certifications
Only RCM5600W/RCM6600W modules bearing the FCC certification are certified for
use in Wi-Fi enabled end devices, and any applications must have been compiled using
Dynamic C v. 10.50 or later (RCM5650W applications must have been compiled using
Dynamic C v. 10.60 or later; and RCM6600W or RCM6650W applications with v. 10.68
or later). The certification is valid only for RCM5600W, RCM5650W, RCM6600W or
RCM6650W modules equipped with the dipole antenna that is included with the modules,
or a detachable antenna with a 60 cm coaxial cable (Digi International part number
29000105). Follow the antenna grounding recommendations provided in Section 4.3.1.
Changes or modifications to this equipment not expressly approved by Digi International
may void the user's authority to operate this equipment.
In the event that these conditions cannot be met, then the FCC certification is no longer
considered valid and the FCC ID can not be used on the final product. In these circumstances, the systems integrator or end-user will be responsible for re-evaluating the end
device (including the transmitter) and obtaining a separate FCC certification.
NOTE: Any regulatory certification is voided if the RF shield on the module is removed.
1.5.1 FCC Part 15 Class B
The RCM5600W, RCM5650W, RCM6600W and RCM6650W MiniCore modules have
been tested and found to comply with the limits for Class B digital devices pursuant to
Part 15 Subpart B, of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential environment. This equipment generates, uses, and can radiate radio frequency energy, and if not installed and used in
accordance with the instruction manual, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular
installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged
to try and correct the interference by one or more of the following measures:
• Reorient or relocate the receiving antenna.
• Increase the separation between the equipment and the receiver.
• Connect the equipment into an outlet on a circuit different from that to which the
receiver is connected.
• Consult the dealer or an experienced radio/TV technician for help.
OEM User’s Manual7
Labeling Requirements (FCC 15.19)
RCM5600/5650W
FCC ID: MCQ-MCWIFI
This device complies with Part 15 of FCC rules. Operation is
subject to the following two conditions:
(1) this device may not cause harmful interference, and
(2) this device must accept any interference received, including
interference that may cause undesired operation.
RCM6600/6650W
FCC ID: MCQ-R66
This device complies with Part 15 of FCC rules. Operation is
subject to the following two conditions:
(1) this device may not cause harmful interference, and
(2) this device must accept any interference received, including
interference that may cause undesired operation.
If the FCC identification number is not visible when the module is installed inside another
device, then the outside of the device into which the module is installed must also display
a label referring to the enclosed module or the device must be capable of displaying the
FCC identification number electronically. This exterior label can use wording such as the
following:
• Contains Transmitter Module FCC ID: MCQ-MCWIFI
• Contains FCC ID: MCQ
-MCWIFI
• Contains FCC ID: MCQ-R66 for RCM6600/RCM6650W.
Any similar wording that expresses the same meaning may be used.
The following caption must be included with documentation for any device incorporating
the MiniCore modules described herein.
Caution — Exposure to Radio-Frequency Radiation.
To comply with FCC RF exposure compliance requirements, for mobile
configurations, a separation distance of at least 20 cm must be maintained
between the antenna of this device and all persons.
This device must not be co-located or operating in conjunction with any
other antenna or transmitter.
8MiniCore RCM5600W/RCM6600W
1.5.2 Industry Canada Labeling
RCM5600W
IC: 1846A-MCWIFI RCM5600W
DIGI INTL
This Class B digital apparatus complies with Canadian standard
ICES-003.
Cet appareil numérique de la classe B est conforme à la norme
NMB-003 du Canada.
RCM5650W
IC: 1846A-MCWIFI RCM5650W
DIGI INTL
This Class B digital apparatus complies with Canadian standard
ICES-003.
Cet appareil numérique de la classe B est conforme à la norme
NMB-003 du Canada.
RCM6600W
IC: 1846-R66 RCM6600W
DIGI INTL
This Class B digital apparatus complies with Canadian standard
ICES-003.
Cet appareil numérique de la classe B est conforme à la norme
NMB-003 du Canada.
RCM6650W
IC: 1846-R66 RCM6650W
DIGI INTL
This Class B digital apparatus complies with Canadian standard
ICES-003.
Cet appareil numérique de la classe B est conforme à la norme
NMB-003 du Canada.
OEM User’s Manual9
1.5.3 Europe
The marking shall include as a minimum:
• the name of the manufacturer or his trademark;
• the type designation;
• equipment classification, (see below).
Receiver
Class
1
2
3
Highly reliable SRD communication media, e.g., serving human life
nherent systems (may result in a physical risk to a person).
i
Medium reliable SRD communication media,
inconvenience to persons that cannot be overcome by other means.
Standard reliable SRD communication media,e.g., inconvenience
persons that can simply be overcome by other means.
Risk Assessment of Receiver Performance
e.g., causing
to
NOTE: Manufacturers are recommended to declare the classification of their devices in
accordance with Table 2 and EN 300 440-2 [5] clause 4.2, as relevant. In particular,
where an SRD that may have inherent safety of human life implications, manufacturers
and users should pay particular attention to the potential for interference from other
systems operating in the same or adjacent bands.
Regulatory Marking
The equipment shall be marked, where applicable, in accordance with CEPT/ERC Recommendation 70-03 or Directive 1999/5/EC, whichever is applicable. Where this is not
applicable, the equipment shall be marked in accordance with the National Regulatory
requirements.
The MiniCore module has been tested and found to comply with:
• EN 300 328 v1.7.1
• EN 301 489-1 v1.8.1
• EN 301 489-17 v1.3.2 standards.
1.5.4 Japan
RCM5600W and RCM5650W
modules are certified for use in Japan under Article 2-1-19.
The Acceptance Number is 003WWA090869.
10MiniCore RCM5600W/RCM6600W
2. GETTING STARTED
This chapter describes the RCM5600W/RCM6600W hardware in more detail, and
explains how to set up and use the accompanying Interface Board.
NOTE: This chapter (and this manual) assume that you have the RCM5600W or
RCM6600W Development Kit. If you purchased a MiniCore module by itself, you will
have to adapt the information in this chapter and elsewhere to your test and develop
ment setup.
2.1 Install Dynamic C
To develop and debug programs for the RCM5600W/RCM6600W modules (and for all
other Rabbit hardware), you must install and use Dynamic C.
If you have not yet installed Dynamic C version 10.50 (or version 10.68 for an
RCM6600W, or a later version), do so now by inserting the Dynamic C CD from the
Development Kit in your PC’s CD-ROM drive. If autorun is enabled, the CD installation
will begin automatically.
-
If autorun is disabled or the installation does not start, use the Windows Start | Run menu
or Windows Disk Explorer to launch setup.exe from the root folder of the CD-ROM.
The installation program will guide you through the installation process. Most steps of the
process are self-explanatory.
Once your installation is complete, you will have up to three new icons on your PC desktop. One icon is for Dynamic C, another opens the documentation menu, and the third is for
the Rabbit Field Utility, a tool used to download precompiled software to a target system.
If you have purchased any of the optional Dynamic C modules, install them after installing
Dynamic C. The modules may be installed in any order. You must install the modules in
the same folder where Dynamic C was installed.
OEM User’s Manual11
2.2 Hardware Connections
There are four steps to connecting the Interface Board for use with Dynamic C and the
sample programs:
1. Insert standoffs/connectors on the Interface Board.
2. Install the MiniCore module on the Interface Board.
3. Connect antenna.
4. Connect the USB cable between the Interface Board and the workstation PC.
CAUTION: Provide ESD protection such as smocks and grounding straps on your
footwear.while assembling the module, installing it on another board, and while
making or removing any connections.
Remember to use ESD protection regardless of whether you are working with the
dule on the Interface Board or in your own OEM application.
mo
2.2.1 Step 1 — Prepare the Interface Board for Development
Insert a short plastic standoff supplied from the Development Kit in one of the corner
holes from the bottom of the Interface Board, then secure it with a long plastic standoff
from above as shown in Figure 2. Repeat this step so that plastic standoffs/connectors are
in place at three positions and the antenna bracket is at the fourth position.
Figure 2. Insert Standoffs/Connectors
12MiniCore RCM5600W/RCM6600W
2.2.2 Step 2 — Install Module on Interface Board
Interface
Board
J1A
J1B
J1B
RCM5600W
RCM5600W
J1A
J1B
Position the RCM5600W/RCM6600W module with the edge connectors facing the mini PCI
Express socket J1A at an angle as shown in Figure 3 below. Insert the edge connectors
into the mini PCI Express socket J1A, then press down on the opposite edge of the module
to snap it into place in holder J1B.
Figure 3. Install the RCM5600W/RCM6600W Module on the Interface Board
Should you need to remove the
module, use two fingernails to hold
back the spring clip at J1B from
the two module corners, lift up the
edge of the module above J1B,
then pull the module away to
remove the edge connectors from
the mini PCI Express socket.
CAUTION: Remove power before attempting to insert or remove the
RCM5600W/RCM6600W in the mini PCI Express socket.
OEM User’s Manual13
2.2.3 Step 3 — Connect Antenna
RESET
JP1
4
3
2
1
6
5
7
8
Power LED
JP2
To
PC USB port
J5
Connect
wire to P1
nut
lockwashers
CAUTION: Do not remove the RF shield
since any attempt to remove the shield
will damage the RF circuits underneath it.
Any regulatory certification is voided
if the RF shield on the RCM5600W
module is removed.
P1
Install the antenna U.FL to RP-SMA connector cable in the bracket using two lockwashers
and the nut as shown in the insert in Figure 4. Connect the wire to connector P1 on the
RCM5600W/RCM6600W, then attach the antenna to the antenna RP-SMA connector.
Figure 4. Connect Antenna and USB Cable
Alternate Antenna Connector Cable Installation
If you prefer, you may solder the
RP-SMA antenna connector directly
to the Interface Board at P1 as shown
in the diagram at right. Before doing
so, make sure that you use a long
plastic standoff instead of the antenna bracket. Then connect the wire
to connector P1 on the
RCM5600W/RCM6600W
, and attach the antenna to the RP-SMA
connector.
2.2.4 Step 4 — Connect USB Cable
The USB cable connects the RCM5600W/RCM6600W to the PC running Dynamic C to
download programs and to monitor the module during debugging. It also supplies power
to the Interface Board and the MiniCore via the USB interface.
Connect the USB cable between USB connector J5 on the Interface Board and your PC as
shown in Figure 4. Note that the USB cable connectors are dif
ferent at either end, so there
is only one way to connect them between the PC and the Interface Board.
14MiniCore RCM5600W/RCM6600W
Your PC should recognize the new USB hardware, and the LEDs next to the USB connector on the Interface Board 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.
The green power LED on the Interface Board should light up when you connect the USB
cable. The RCM5600W/RCM6600W and the Interface Board are now ready to be used.
NOTE: A RESET button is provided on the Interface Board to allow a hardware reset
without disconnecting power.
NOTE: Pins 1–2 on header JP1 on the Interface Board must be jumpe
and debug applications and sample programs with Dynamic C running. Pins 1–2 should
be left unjumpered to run an program already loaded in flash memory.
CAUTION: Do not jumper pins 1–3 on header JP1 on the Interface Board.
Alternate Power Supply Connections — Deluxe Development Kit
red to download
The deluxe Development Kit contains a separate AC adapter that may be used to supply
power to the Interface Board and the RCM5600W/RCM6600W when the USB cable is
not connected or when more power is needed than the USB cable is able to supply. The
AC adapter may also be used to supply power when the USB cable is connected, in which
case the power supply through the USB cable will be disconnected automatically.
Figure 5. Alternate Power Supply Connections—Deluxe Development Kit
OEM User’s Manual15
First, prepare the AC adapter for the country where it will be used by selecting the plug.
The deluxe 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 5, 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 DC input jack J6 on the Interface Board as shown in Figure 5.
Plug in the AC adapter. The green power LED on the Interface Board should light up. The
RCM5600W/RCM6600W and the Interface Board are now ready to be used.
Note that the center pin of J6 is positive.
2.3 Run a Sample Program
If you already have Dynamic C installed, you are now ready to test your programming
connections by running a sample program. Start Dynamic C by double-clicking on the
Dynamic C icon on your desktop or in your Start menu. Select the “Communications” tab
in the Dynamic C Options > Project Options menu and verify that Use USB to Serial
Converter
“Compiler” tab for faster compiling when running sample programs. Click OK.
You may have to select the COM port assigned to the USB USB cable on your PC. In
Dynamic C, select Options > Project Options, then select this COM port on the “Communications” tab, then click OK.
is selected to support the USB cable. Choose Store Program in RAM on the
Now find the WIFISCAN.C sample program in the Dynamic C Samples\WiFi folder,
open it with the File menu, then compile and run the sample program by pressing F9.
The Dynamic C STDIO window will display Starting scan...., and will display a list
of access points/ad-hoc hosts similar to the one shown here.
The following fields are shown in the Dynamic C STDIO window.
• Channel—the channel th
e access point is on (1–11).
• Signal—the signal strength of the access point.
• MAC—the hardware (MAC) address of access point.
• Access Point SSID—the SSID the access point is using.
16MiniCore RCM5600W/RCM6600W
2.3.1 Troubleshooting
It may be possible that your PC or laptop is unable to deliver enough current through the
USB connection if you are not using a separate power supply. The
RCM5600W/RCM6600W will not operate in this case, and the solution is to use a separate 5 V power supply as described in the Alternate Power Supply Connections section.
Contact Technical Support (see Section 2.4.1) or visit our Web sit e if you would like to get
the universal AC adapter from the Deluxe Development Kit.
If you receive the message Could Not Open Serial Port, check that the COM port
assigned to the USB cable was identified and set up in Dynamic C as described above.
This same error occurs when Windows has already allocated the COM port to another
process.
If you receive the message No Rabbit Processor Detected, the USB cable may
be connected to the wrong COM port, or the connection may be faulty. First, check both
ends of the USB cable to ensure that it is firmly plugged into the PC and the USB connector in the Interface Board. Ensure that the module is firmly and correctly installed in its
connector on the Interface Board.
If Dynamic C appears to compile the BIOS successfully, but you then receive a communication error message when you compile and load a sample program, it is possible that your
PC cannot handle the higher program-loading baud rate. Try changing the maximum
download rate to a slower baud rate as follows.
• Locate the Serial Options dialog on the “Communications” tab in the Dynamic C
Options > Project Options menu. Select a slower Max download baud rate. Click OK
to save.
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 as follows.
• Locate the Serial Options dialog on the “Communications” tab in the Dynamic C
Options > Project Options menu. Choose a lower debug baud rate. Click OK to save.
Press <Ctrl-Y> to force Dynamic C to recompile the BIOS. You should receive a BIOS
successfully compiled
message once this step is completed successfully.
OEM User’s Manual17
2.4 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. The source code for the sample programs
you to modify them for your own use. The RCM5600W/RCM6600W User’s Manual also
provides complete hardware reference information for the RCM5600W/RCM6600W, the
Interface Board, the Prototyping Board, and the accessory boards in the Deluxe Development
Kit.
For advanced development topics, refer to the Dynamic C User’s Manual, also in the
online documentation set.
2.4.1 Technical Support
NOTE: If you purchased your RCM5600W/RCM6600W through a distributor or through a
Rabbit partner, contact the distributor or partner first for technical support.
If there are any problems at this point:
• Use the Dynamic C Help menu to get further assistance with Dynamic C.
• Support for Rabbit Products forum at forums.digi.com
• File a support request by going to www.digi.com, and selecting Support / Online Sup-
port Request.
is provided to allow
18MiniCore RCM5600W/RCM6600W
3. RUNNING SAMPLE PROGRAMS
To develop and debug programs for MiniCore modules (and for all other Rabbit hardware), you must install and use Dynamic C. This chapter provides a tour of its major features with respect to the RCM5600W/RCM6600W.
3.1 Introduction
To help familiarize you with the Wi-Fi enabled MiniCore modules, Dynamic C includes
several sample programs. Loading, executing and studying these programs will give you a
solid hands-on overview of the MiniCore’s capabilities, as well as a quick start with
Dynamic C as an application development tool.
NOTE: The sample programs assume that you have at least an elementary grasp of ANSI
C. If you do not, see the introductory pages of the Dynamic C User’s Manual for a sug
gested reading list.
In order to run the sample programs discussed in this chapter and elsewhere in this manual,
1. Your MiniCore must be installed on the Interface Board as described in Chapter 2,
“Getting Started.”
-
2. Dynamic C must be installed and running on your PC.
3. The USB cable must connect the Interface Board to your PC.
4. Power must be applied to the MiniCore through the Interface Board.
Refer to Chapter 2, “Getting Started,” if you need further information on these steps.
To run a sample program, open it with the File menu (if it is not still open), then compile
and run it by selecting Run in the Run menu (or press F9). The MiniCore must be in Program Mode (see Figure 14) and must be connected to a PC using the USB cable.
Complete information on Dynamic C is provided in the Dynamic C User’s Manual.
OEM User’s Manual19
3.2 Sample Programs
JP1
4
3
2
1
6
5
7
8
JP2
Of the many sample programs included with Dynamic C, several are specific to the
RCM5600W or RCM6600W. These programs will be found in the SAMPLES\RCM5600W
and SAMPLES\RCM6600W folders respectively. Sample programs in the SAMPLES folder
one level up are generic samples that can be run on any Rabbit-based product.
Before you compile and run the following sample programs, make sure
that pins 1–2, 5–6, and 7–8 on
header JP1 of the Interface Board
are jumpered. The pins on header
JP2 must also be jumpered. Each
sample program has comments that
describe the purpose and function of
the program. Follow the instructions
at the beginning of the sample
program.
CAUTION: Do not jumper pins
1–3 on header JP1 on the Interface Board.
• FLASHLED.C—demonstrates the use of costatements to flash LED DS1 on the Inter-
face Board. PD0 on the MiniCore is used to drive the LED.
• TOGGLESWITCH.C—monitors switch S1 and LED DS1 on the Interface Board. LED
DS1 on the Interface Board is turned on and off when you press switch S1. PD0 on the
MiniCore is used to drive the LED, and PD1 detects the activity on switch S1.
20MiniCore RCM5600W
The Digital I/O accessory board may also be used to run the TOGGLESWITCH.C and the
JP5
JP8
4
3
2
1
6
5
7
8
4
3
2
1
6
5
7
8
JP7
Install header connector strip
in bottom socket
SERIALTOSERIAL.C sample programs. This accessory board is included only with the
Deluxe Development Kit.
To install the Digital I/O accessory board, insert the strip of header pins included with the
accessory board into the socket at J12 on the bottom side of the Digital I/O accessory
board. Then line up the Digital I/O accessory board with the Interface Board standoffs/
connectors and install the Digital I/O accessory board pins into socket J2 on the Interface
Board. Secure the Digital I/O accessory board with the long plastic standoffs/connectors
from above as shown in Figure 6—note that one plastic standoff/connector needs to be
inserted “upside down” to secure the Digital I/O accessory board to the antenna bracket.
Pins 1–2, 3–4, 5–6, and 7–8 on headers JP5 and JP8 on the Digital I/O accessory board
must be jumpered. Pins 2–4 and 3–5 on header JP7 on the Digital I/O accessory board
must also be jumpered.
Uncomment the following line in the sample programs when you are using the Digital I/O
access
ory board.
#define DIGITAL_IO_ACCESSORY
Figure 6. Install Digital I/O Accessory Board
• TOGGLESWITCH.C—monitors switches S1, S2, S3, and S4 on the Digital I/O acces-
sory board and lights LEDs DS1–DS4 when the corresponding pushbutton switch is
pressed. LEDs DS1–DS2 on the Digital I/O accessory board are controlled by PA4–
PA7, and switches S1–S4 are controlled by PB4–PB7 respectively.
OEM User’s Manual21
The SERIALTOSERIAL.C sample program is in the SAMPLES\RCM5600W\SERIAL
P2
J2
folder.
• SERIALTOSERIAL.C—monitors switches S1, S2, S3, and S4 on the Digital I/O acces-
sory board and lights LEDs DS1–DS4 when the corresponding pushbutton switch is
pressed. LEDs DS1–DS2 on the Digital I/O accessory board are controlled by PA4–PA7,
and switches S1–S4 are controlled by PB4–PB7 respectively. The sample program sends
messages from Serial Port B to Serial Port C to indicate that a switch was pressed.
Messages received by Serial Port C are displayed in Dynamic C’s STDIO window.
Before you compile and run this
sample program, you will need to
connect J2 pin 19 (PC0/TxD) to J2
pin 22 (PC3/RxC) or the corresponding holes on P2.
If you are using the Serial Communication accessory board, you should connect pin 3 (TXD) on header J3 to pin 5 (RXC)
on header J4 instead.
22MiniCore RCM5600W
Loading...
+ 104 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.