![]() |
| Coyote (BL2500) User's Manual |
2. Getting Started
Chapter 2 explains how to connect the programming cable and power supply to the BL2500.
2.1 Preparing the BL2500 for Development
Position the BL2500 as shown below in Figure 3. Attach the four nylon 4-40 × ¼ machine screws and nuts supplied with the Development Kit in the holes at the corners as shown.
The nylon screws serve as standoffs to facilitate handling the BL2500 during development, and protect the bottom of the printed circuit board against scratches or short circuits while you are working with the BL2500.
2.2 BL2500 Connections
- Connect the programming cable to download programs from your PC and to program and debug the BL2500.
Connect the 10-pin PROG connector of the programming cable to header J3 on the BL2500's RabbitCore module. Ensure that the colored edge lines up with pin 1 as shown. There is a small dot on the circuit board next to pin 1 of header J3. (Do not use the DIAG connector, which is used for monitoring only.) Connect the other end of the programming cable to a COM port on your PC. Make a note of the port to which you connect the cable, as Dynamic C will need to have this parameter configured. Note that COM1 on the PC is the default COM port used by Dynamic C.
- When all other connections have been made, you can connect power to the BL2500.
Connect the AC adapter to header J2 on the BL2500 as shown in Figure 5. Match the friction lock tab on the friction-lock connector to the back of header J2 on the BL2500 as shown. The friction-lock connector will only fit one way.
Development Kits sold outside North America include a friction lock friction-lock connector that may be connected to header J2 on the BL2500. Connect the leads from your power supply to the friction-lock connector to preserve the polarity indicated in Figure 5. The power supply should deliver 8 V-40 V DC at 500 mA.
CAUTION: ![]()
Unplug the power supply while you make or otherwise work with the connections to the headers. This will protect your BL2500 from inadvertent shorts or power spikes.
2.2.1 Hardware Reset
A hardware reset is done by unplugging the AC adapter, then plugging it back in, or by shorting out the reset pads on the back of the BL2500 (see Figure 6).
2.3 Installing Dynamic C
If you have not yet installed Dynamic C version 7.33 (or a later version), do so now by inserting the Dynamic C CD from the BL2500/OEM2500 Development Kit in your PC's CD-ROM drive. The CD will auto-install unless you have disabled auto-install on your PC.
If the CD does not auto-install, click Start > Run from the Windows Start button and browse for the Dynamic C setup.exe file on your CD drive. Click OK to begin the installation once you have selected the setup.exe file.
The online documentation is installed along with Dynamic C, and an icon for the documentation menu is placed on the workstation's desktop. Double-click this icon to reach the menu. If the icon is missing, create a new desktop icon that points to 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.
The Dynamic C User's Manual provides detailed instructions for the installation of Dynamic C and any future upgrades.
NOTE If you have an earlier version of Dynamic C already installed, the default installation of the later version will be in a different folder, and a separate icon will appear on your desktop. 2.4 Starting Dynamic C
Once the BL2500 is connected to your PC and to a power source, start Dynamic C by double-clicking on the Dynamic C icon on your desktop or in your Start menu.
Dynamic C defaults to using the serial port on your PC that you specified during installation. If the port setting is correct, Dynamic C should detect the BL2500 and go through a sequence of steps to cold-boot the BL2500 and to compile the BIOS. (Some versions of Dynamic C will not do the initial BIOS compile and load until the first time you compile a program.)
If you receive the message
No Rabbit Processor Detected, the programming cable may be connected to the wrong COM port, a connection may be faulty, or the target system may not be powered up. First, check both ends of the programming cable to ensure that it is firmly plugged into the PC and the programming port.If there are no faults with the hardware, select a different COM port within Dynamic C. From the Options menu, select Communications. Select another COM port from the list, 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 until you locate the active COM port. You should receive a
Bios compiled successfullymessage once this step is completed successfully.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 in the Dynamic C Options > Communications menu. Select a slower Max download baud rate.
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 in the Dynamic C Options > Communications menu. Choose a lower debug baud rate.
2.5 PONG.C
You are now ready to test your set-up by running a sample program.
Find the file
PONG.C, which is in the Dynamic CSAMPLESfolder. To run the program, open it with the File menu (if it is not still open), compile it using the Compile menu, and then run it by selecting Run in the Run menu. The STDIO window will open on the PC and will display a small square bouncing around in a box.This program shows that the CPU is working. The sample program described in Section 5.2.3, "Run the PINGME.C Demo," tests the TCP/IP portion of the board.
2.6 Where Do I Go From Here?
NOTE If you purchased your BL2500 through a distributor or 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.
- 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/.
If the sample program ran fine, you are now ready to go on to explore other BL2500 features and develop your own applications.
Chapter 3, "Subsystems," provides a description of the BL2500's features, Chapter 4, "Software," describes the Dynamic C software libraries and introduces some sample programs. Chapter 5, "Using the TCP/IP Features," explains the TCP/IP features.
2.7 Using the Coyote In High-Vibration Environments
If you plan to use your Coyote in a high-vibration environment, the RabbitCore module may be secured more solidly to a swage on the Coyote main board using a 2-56 × ¼" machine screw as shown in Figure 7.
| RabbitA Digi International Brand www.rabbit.com |