background image

16

Jackrabbit (BL1800)

2.4  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.

If you are using a USB port to connect your computer to the Jackrabbit, choose 

Options > 

Project Options

 and select “Use USB to Serial Converter” under the 

Communications

 

tab.

Find the file 

PONG.C

, which is in the Dynamic C 

SAMPLES

 folder. 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 and will dis-

play a small square bouncing around in a box.

This program shows that the CPU is working.

2.4.1  Troubleshooting

If Dynamic C appears to compile the BIOS successfully, but you then receive a communi-
cation error message when you compile and load the 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 > Project 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 > Project Options > 

Communications

 menu. Choose a lower debug baud rate.

If there are any other problems:

Check to make sure you are using the 

PROG

 connector, not the 

DIAG

 connector, on the 

programming cable.

Check both ends of the programming cable to ensure that they are firmly plugged into 
the PC and the programming port on the Jackrabbit.

Ensure that the Jackrabbit is firmly and correctly installed in its connectors on the 
Prototyping Board.

Select a different COM port within Dynamic C. From the 

Options

 menu, select 

Project Options

, then 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. 

Summary of Contents for Jackrabbit

Page 1: ...Jackrabbit BL1800 C Programmable Single Board Computer Getting Started Manual 019 0072 050525 F...

Page 2: ...ual Part Number 019 0072 050525 F Printed in U S A 2000 2005 Z World Inc All rights reserved Z World reserves the right to make changes and improvements to its products without providing notice Tradem...

Page 3: ...abbit to Prototyping Board 13 2 3 2 Connect Programming Cable 14 2 3 3 Connect Power 15 2 3 3 1 Overseas Development Kits 15 2 4 Run a Sample Program 16 2 4 1 Troubleshooting 16 2 5 Where Do I Go From...

Page 4: ...1 1 Initialization 35 3 6 1 2 Digital Output 35 3 6 1 3 Analog Output 36 3 6 1 4 Analog Input 38 3 6 2 Serial Communication Drivers 39 3 6 2 1 RS 485 Serial Communication Drivers 39 3 7 Upgrading Dyn...

Page 5: ...5 MHz clock 24 CMOS compatible I O 3 analog channels 1 A D input 2 PWM D A outputs 4 high power outputs factory configured as 3 sinking and 1 sourcing 4 serial ports 2 RS 232 or 1 RS 232 with RTS CTS...

Page 6: ...red to specifically according to the model number in Table 1 Table 1 Jackrabbit Features Model Features BL1800 Full featured controller with switching voltage regulator BL1810 BL1800 with 14 7 MHz clo...

Page 7: ...r Jackrabbit Headers J4 and J5 Table 2 Jackrabbit Specifications Specification Data Power Supply 7 5 V to 25 V DC 100 mA typical Size 2 50 3 50 0 94 64 mm 89 mm 24 mm Environmental 40 C to 70 C 5 95 h...

Page 8: ...r the Dynamic C development environment Most users will want more detailed information on some or all of these topics in order to put the Jackrabbit to effective use 1 3 1 Additional Product Informati...

Page 9: ...pies of manuals that users don t need Finding Online Documents The online documentation is installed along with Dynamic C and an icon for the docu mentation menu is placed on the workstation s desktop...

Page 10: ...s EN61000 4 3 Radiated Immunity EN61000 4 4 EFT EN61000 4 6 Conducted Immunity Additional shielding or filtering may be required for a heavy industrial environment Emissions The Jackrabbit series of s...

Page 11: ...htning protection Z World recommends placing digital I O or analog cables that are 3 m or longer in a metal conduit to assist in maintaining CE compliance and to conform to good cable design practices...

Page 12: ...8 Jackrabbit BL1800...

Page 13: ...s the following items BL1810 single board computer Prototyping Board AC adapter 12 V DC 1 A Included only with Development Kits sold for the North American market A header plug leading to bare leads i...

Page 14: ...igure 2 with its main features identified Figure 2 Prototyping Board J6 J1 J7 J2 J5 J3 JP1 JP2 1 2 3 R3 R1 LS1 S2 S1 DS1 DS2 DS3 RT1 S4 S3 DS9 DS4 DS5 DS6 DS7 DS8 RN1 S5 PC2 PC0 TXB RXB VCC GND RXC TX...

Page 15: ...ample applications Prototyping Area A generous prototyping area has been provided for the installation of through hole components Several areas for surface mount devices are also avail able Note that...

Page 16: ...three steps to connecting the Prototyping Board for use with Dynamic C and the sample programs 1 Attach the Jackrabbit to the Prototyping Board 2 Connect the programming cable between the Jackrabbit...

Page 17: ...up Press the Jackrabbit s pins firmly into the Prototyping Board headers S5 RESET DS1 DS6 DS7 DS8 PWR R3 Buzzer DS2 DS3 DS4 DS5 S1 S2 S3 S4 JACKRABBIT PROTOTYPING BOARD VCC RXB TXB PC0 PC2 PC4 PC6 AD...

Page 18: ...erent Figure 4 Power and Programming Cable Connections to Jackrabbit Board 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...

Page 19: ...Board see Figure 3 to allow hardware reset without disconnecting power To power down the Jackrabbit unplug the power connector from J1 You should discon nect power before making any circuit adjustmen...

Page 20: ...ws Locate the Serial Options dialog in the Dynamic C Options Project Options Communications menu Select a slower Max download baud rate If a program compiles and loads but then loses target communicat...

Reviews: