background image

Wildcat (BL2000)

C-Programmable Single-Board Computer with Ethernet

User’s Manual

019–0094

090529–O

Summary of Contents for Wildcat BL2000

Page 1: ...Wildcat BL2000 C Programmable Single Board Computer with Ethernet User s Manual 019 0094 090529 O...

Page 2: ...l Inc Rabbit 2000 is a trademark of Digi International Inc No part of the contents of this manual may be reproduced or transmitted in any form or by any means without the express written permission of...

Page 3: ...systems 13 3 1 BL2000 Pinouts 14 3 1 1 Headers and Screw Terminals 15 3 1 2 Power Supply Pins 16 3 2 Digital I O 17 3 2 1 Digital Inputs 17 3 2 2 Digital Outputs 19 3 3 Relay Outputs 21 3 4 Serial Com...

Page 4: ...w to Set Up your Computer s IP Address for a Direct Connection 56 5 3 Run the PINGME C Sample Program 57 5 4 Running More Sample Programs With a Direct Connection 58 5 5 Where Do I Go From Here 58 App...

Page 5: ...tputs an SPDT relay output and a 10Base T Ethernet port 1 2 BL2000 Features Rabbit 2000 microprocessor operating at 22 1 MHz 128K static RAM and 256K flash memory Up to 28 digital I O 11 protected dig...

Page 6: ...dard screw terminal connectors supplied on BL2000 boards IDC headers bottom mount connectors and polarized friction lock terminals may be factory installed instead Visit our Web site at www rabbit com...

Page 7: ...lities and develop your own applications Tool Kit Contents The BL2000 Tool Kit contains the following items Dynamic C CD ROM with complete product documentation on disk Programming cable used to conne...

Page 8: ...eviously sold as individual Dynamic C modules Rabbit also offers for purchase the Rabbit Embedded Security Pack featuring the Secure Sockets Layer SSL and a specific Advanced Encryption Standard AES l...

Page 9: ...mark are not CE compliant Immunity The BL2000 series of single board computers meets the following EN55024 1998 immu nity standards EN61000 4 3 Radiated Immunity EN61000 4 4 EFT EN61000 4 6 Conducted...

Page 10: ...00 it is the responsibility of the end user to use proper ESD precautions to prevent ESD damage to the BL2000 Safety All inputs and outputs to and from the BL2000 series of single board computers must...

Page 11: ...3 C25 C17 J6 C20 D1 U4 Y3 Q2 C24 R30 R 1 5 1 R4 C16 R20 R6 R12 C10 J5 R19 C80 R16 R130 U1 C2C3 C19 R153 C18 R154 R9 R13 R15 C1 Y2 R 2 7 C 2 2 C 2 7 R 2 8 9 0 1 5 6 5 4 0 U5 R5 5 R5 4 R3 7 R3 6 R3 8 R5...

Page 12: ...t It may be possible to use an RS 232 USB converter Part No 20 151 0178 with the programming cable supplied with the Tool Kit Note that not all RS 232 USB converters work with Dynamic C R1 C23 C25 C17...

Page 13: ...th the connections to the headers This will protect your BL2000 from inadvertent shorts or power spikes NOTE The green PWR LED and the red BAD LED on the opposite end of the board should come on indic...

Page 14: ...ed along with Dynamic C and an icon for the docu mentation 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 po...

Page 15: ...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 f...

Page 16: ...tion of the board 2 5 Where Do I Go From Here NOTE If you purchased your BL2000 through a distributor or Rabbit partner contact the distributor or partner first for technical support If there are any...

Page 17: ...on A D Converter Inputs D A Converter Outputs Memory External Interrupts Figure 5 shows these Rabbit based subsystems designed into the BL2000 Figure 5 BL2000 Subsystems SRAM Flash 11 MHz osc 32 kHz o...

Page 18: ...GND K RESET IN1 IN0 485 485 RXD2 TXD2 RXD1 TXD1 J2 12 11 10 9 8 7 6 5 4 3 2 1 J8 AGND DAC1 DAC0 ADC8 ADC7 ADC6 ADC5 ADC4 ADC3 ADC2 ADC1 ADC0 J4 12 11 10 9 8 7 6 5 4 3 2 1 J8 J12 GND VBAT EXT GND OUT0...

Page 19: ...or these connectors are shown in Figure 6 b Figure 6 b BL2000 Pinouts other 0 1 headers Battery Serial Port Nomenclature HeaderJ2 TXD1 RXD1 TXD2 RXD2 Rabbit 2000 TxB RxB TxC RTS RxC CTS RAW GND GND K...

Page 20: ...DC may be connected to pins 12 and 11 on header J2 see Figure 6 a or Figure 6 b Pin 12 on header J9 or J10 is normally GND by factory default but may be changed to Vcc by removing resistor R161 and i...

Page 21: ...e pulled up to 5 V but they can also be pulled down by moving the surface mounted jumper at JP6 as shown in Figure 7 Figure 7 a BL2000 Digital Inputs Pulled Up JP6 1 2 connected Figure 7 b BL2000 Digi...

Page 22: ...ecified for the digIn software function call The default threshold for channels IN11 IN21 is also set to 2 40 V but may be changed by adding two lines to your program as dis cussed for the digIn softw...

Page 23: ...as sinking outputs via 0 resistors at R32 or R35 respectively or tie the outputs to GND via R34 when using the outputs as sourcing outputs K is an externally supplied voltage of up to 40 V DC and is...

Page 24: ...VS1 J10 C28 C25 D1 Q2 R30 R55 R54 R37 R36 R38 R56 C40 C39 C38 R50 R51 R52 R58 R59 R60 C35 C34 C33 C31 C29 R33 R31 C36 U6 R32 R34 R35 C41 R53 R61 D5 D4 R41 R42 D3 R40 R57 R39 C45 C44 C43 D6 D7 D8 D9 J9...

Page 25: ...ions The relay is driven by PA0 which is the same Rabbit 2000 parallel port that drives OUT0 and LED DS4 OUT0 therefore works in parallel with the relay output The relay included on the BL2000 has con...

Page 26: ...supported by an RS 232 transceiver U1 U1 provides the voltage output slew rate and input voltage immunity required to meet the RS 232 serial communication protocol Basically the chip translates the R...

Page 27: ...R10 C75 C11 R17 C4 C13 U3 R8 R18 R2 R3 R23 R22 C14 R152 R7 C78 C77 C76 C79 C5 C15 Q1 R24 C21 C9 R14 C12 R21 C7 J12 DS1 DS2 GND RST IN1 IN0 485 485 RXD2 TXD2 RXD1 TXD1 AGND DAC1 DAC0 ADC8 ADC7 ADC6 ADC...

Page 28: ...onnector the convention used here and numbering in reverse to that shown Regardless of the numbering convention followed the pin positions relative to the spring tab position located at the bottom of...

Page 29: ...s shown in Figure 16 Figure 16 Recommended Location for Ring Lug 3 4 4 Programming Port The BL2000 has a 10 pin programming header labeled J5 The programming port uses the Rabbit 2000 s Serial Port A...

Page 30: ...or the program begins executing at address 0x0000 These two SMODE pins can be used as general inputs once the cold boot is complete The status pin is used by Dynamic C to determine whether a Rabbit m...

Page 31: ...er inputs Figure 17 Buffered A D Converter Inputs The op amp is powered from the V supply The 1 M and 200 k resistors set the gain scale factor which is 0 2 in this case This results in a dynamic inpu...

Page 32: ...nce voltage can be ratiometric rather than absolute This is done by removing the zener diode and installing the 453 resistor With this arrangement the reference voltages follow changes in the power su...

Page 33: ...nverters installed the user has the option of using an unbuffered A D con verter input to read the output of a D A converter or one of the two fixed voltages V or Vcc The standard BL2000 configuration...

Page 34: ...ace mounted resistors NOTE Rabbit recommends that any customer applications should not be constrained by the sector size of the flash memory since it may be necessary to change the sector size in the...

Page 35: ...45 C44 C43 J2 J1 J4 J3 D6 D7 D8 D9 J9 J11 R43 R44 R45 C49 C48 C47 C46 BT1 D G S Q3 Q5 C32 D10 D11 D12 R46 R47 R48 R49 C51 C52 C50 C8 U2 R5 R11 R10 C75 C11 R17 C4 C13 U3 R8 R18 R2 R3 R23 R22 C14 R152 R...

Page 36: ...ed automatically in the BIOS for crystals with a frequency above 12 9 MHz The clock doubler may be disabled if 22 1 MHz clock speeds are not required Disabling the Rabbit 2000 microprocessor s interna...

Page 37: ...is no spectrum spreader functionality for BL2000 boards that do not carry the CE mark or when using any BL2000 with a version of Dynamic C prior to 7 30 1 Select the Defines tab from the Dynamic C Opt...

Page 38: ...34 Wildcat BL2000...

Page 39: ...ns Compiler menu The advantage of working in RAM is to save wear on the flash memory which is limited to about 100 000 write cycles The disadvantage is that the code and data might not both fit in RAM...

Page 40: ...ard debugging features X Breakpoints Set breakpoints that can disable interrupts X Single stepping Step into or over functions at a source or machine code level C OS II aware X Code disassembly The di...

Page 41: ...ectory containing the patch Do not simply copy over an entire file since you may overwrite a bug fix of course you may copy over any programs you have written Once you are sure the new patch works ent...

Page 42: ...and the Processor Bad LED DS8 The LEDs are used in reverse logical order to minimize the cycling of the relay which is slaved to the same output as DS4 LEDS_4 C This program creates four devices ligh...

Page 43: ...display them in the STDIO window Use MASTER C to program the master BL2000 4 2 4 A D Converter Inputs The following sample programs are found in the ADC subdirectory in SAMPLES BL2000 AD_CALIB C Demon...

Page 44: ...are read from the EEPROM simulated in flash memory DAOUT2 C This program demonstrates the use of both the D A and the A D convert ers The user selects both the D A converter and A D channel to be used...

Page 45: ...s for the BL2000 BL2000 libraries associated with features specific to the BL2000 TCPIP libraries specific to using TCP IP functions on the BL2000 Other generic functions applicable to all devices bas...

Page 46: ...t OUT0 RELAY LED_DS4 High Current Driver Off PA1 Output OUT1 LED_DS5 High Current Driver Off PA2 Output OUT2 LED_DS6 High Current Driver Off PA3 Output OUT3 LED_DS7 High Current Driver Off PA4 Output...

Page 47: ...On PD1 Output DAC ADC_SDI On PD2 Input RTL ADC_SDO N A PD3 Input RTL_SK N A PD4 Output RTL_SDI On PD5 Output DAC0_CS Inactive high PD6 Output DAC1_CS Inactive high PD7 Output ADC_CS Inactive high PE0...

Page 48: ...esired threshold voltage Anything below the threshold value is a logic 0 and any thing higher than or equal to the threshold value is a logic 1 PARAMETER channel is the input channel number 0 21 RETUR...

Page 49: ...information see the Dynamic C Function Reference Manual and Technical Note 213 Rabbit Serial Port Software The following function calls are specific to the BL2000 User interface to set up BL2000 seri...

Page 50: ...on connected to relay normally closed contact 1 relay common connected to relay normally open contact SEE ALSO brdInit LED ON OFF control The relay is driven by PA0 which is the same Rabbit 2000 paral...

Page 51: ...hannel value RETURN VALUE 0 if successful 1 if not able to make calibration constants SEE ALSO anaIn anaInVolts brdInit Reads the voltage of an analog input channel by serially clocking out an 8 bit c...

Page 52: ...value corresponding to the voltage on the A D converter input channel which will be 0 4095 for 12 bit A D conversions 0 1023 for 10 bit A D conversions 0 255 for 8 bit A D conversions SEE ALSO anaIn...

Page 53: ...LUE 0 if successful 1 if address or range is invalid SEE ALSO anaInEEWr brdInit Writes the calibration constants gain and offset to the simulated EEPROM in flash memory located in reserved user block...

Page 54: ...ed into global table _dacCalib PARAMETERS channel is the D A converter output channel 0 or 1 value1 is the first D A converter value volts1 is the voltage corresponding to the first D A converter valu...

Page 55: ...D11 D0 Data bits MSB LSB 0 4095 PARAMETERS channel is the D A converter output channel to write 0 or 1 modecount is a value corresponding to the voltage on the D A converter output and or setting the...

Page 56: ...ssful 1 if address or range is invalid SEE ALSO anaOutEEWr brdInit Writes the calibration constants gain and offset to the simulated EEPROM in flash memory located in reserved user block memory area 0...

Page 57: ...P IP tool kit More information is available at www rabbit com 1 Connect the AC adapter and the programming cable as shown in Chapter 2 Getting Started 2 Ethernet Connections If you do not have access...

Page 58: ...NOTE A hardware RESET is accomplished by unplugging the AC adapter then plug ging it back in or by momentarily grounding the board reset input at pin 9 on screw ter minal header J2 When working with...

Page 59: ...address of 10 1 1 2 for the BL2000 board and 10 1 1 1 for your PC you can edit the values in the section that directly follows the General Configuration comment in the TCP_CONFIG LIB library You will...

Page 60: ...ion of Windows you are using look for the TCP IP Protocol Network Dial Up Connections Network line or tab Double click on this line or select Properties or Local Area Connection Properties to bring up...

Page 61: ...ction is made Note If the LNK light does not light you may not have a crossover cable or if you are using a hub perhaps the power is off on the hub The next step is to ping the board from your PC This...

Page 62: ...to indicate that there is an open connection You may change the digital input and output to suit your application needs Run the Telnet program on your PC Start Run telnet 10 10 6 100 As long as you h...

Page 63: ...User s Manual 59 APPENDIX A SPECIFICATIONS Appendix A provides the specifications for the BL2000 and describes the conformal coating...

Page 64: ...R49 C51 C52 C50 C8 U2 R5 R11 R10 C75 C11 R17 C4 C13 U3 R8 R18 R2 R3 R23 R22 C14 R152 R7 C78 C77 C76 C79 C5 C15 1 4 3 2 Y1 C26 Q4 Q1 R25 R24 R29 C21 R26 1 5 6 10 K1 C9 R14 C12 R21 C7 J12 DS1 DS4 DS3 DS...

Page 65: ...s Four 10 bit res 10 V DC 1 M up to 4 000 samples s Four 12 bit res 10 V DC 1 M up to 4 000 samples s Four 10 bit res 10 V DC 1 M up to 4 000 samples s Analog Outputs Two 12 bit res 0 4 V DC update ra...

Page 66: ...0 V DC or 24 V AC 10 1 5 W max Operating Temperature 40 C to 70 C Humidity 5 95 noncondensing Board Size 3 43 4 15 0 82 87 mm 105 mm 21 mm When using the BL2000 in a CE certified application the volta...

Page 67: ...es Figure A 2 shows the BL2000 footprint These values are relative to one of the mounting holes Figure A 2 User Board Footprint for BL2000 NOTE The same footprint applies for the IDC header and bottom...

Page 68: ...U4 Y3 Q2 C24 R30 R151 R4 C16 R20 R6 R12 C10 J5 R19 C80 R16 R130 U1 C2C3 C19 R153 C18 R154 R9 R13 R15 C1 Y2 R27 C22 C27 R28 90 15 65 40 U5 R55 R54 R37 R36 R38 R56 C40 C39 C38 R50 R51 R52 R58 R59 R60 C...

Page 69: ...urations Figure A 4 shows the header locations used to configure the various BL2000 options via jumpers Figure A 4 Location of BL2000 Configurable Positions JP3 JP6 JP5 JP4 JP2 GND GND JP1 Top Side Bo...

Page 70: ...Pin 12 is Vcc R160 installed Pin 12 is GND R161 installed JP1 RS 485 Bias and Termination Resistors 1 2 3 4 Bias and termination resistors connected None Bias and termination resistors not connected...

Page 71: ...S5 Off PA2 Output OUT2 LED_DS6 Off PA3 Output OUT3 LED_DS7 Off PA4 Output OUT4 Off PA5 Output OUT5 Off PA6 Output OUT6 Off PA7 Output OUT7 Off PB0 Input IN6 N A PB1 Input CLKA N A PB2 Input IN7 N A RA...

Page 72: ...rt Serial Port A Inactive high PC7 Input RXA Programming Port N A PD0 Output DAC ADC_SK On PD1 Output DAC ADC_SDI On PD2 Input RTL ADC_SDO N A PD3 Input RTL_SK N A PD4 Output RTL_SDI On PD5 Output DAC...

Page 73: ...e provides a secure way to protect your BL2000 The enclosure itself may be mounted on any flat sur face Appendix B describes how to mount the BL2000 inside the plas tic enclosure how to install the op...

Page 74: ...7 T V S 1 J10 C28 R1 C23 C25 C17 J6 C20 D1 U4 Y3 Q2 C24 R30 R 1 5 1 R4 C16 R20 R6 R12 C10 J5 R19 C80 R16 R130 U1 C2C3 C19 R153 C18 R154 R9 R13 R15 C1 Y2 R 2 7 C 2 2 C 2 7 R 2 8 9 0 1 5 6 5 4 0 U5 R5 5...

Page 75: ...2 C 27 R 28 90 15 65 40 U5 R5 5 R5 4 R3 7 R3 6 R3 8 R5 6 C4 0 C3 9 C3 8 R5 0 R5 1 R5 2 R5 8 R5 9 R6 0 C3 5 C3 4 C3 3 C31 C29 R33 R31 C3 6 U6 R32 R34 R35 C4 1 R5 3 R6 1 D5 D4 R41 R42 D3 R40 R5 7 R3 9 C...

Page 76: ...e B 4 Plastic Enclosure Dimensions When fully assembled with the BL2000 installed the total height of the plastic enclosure will be 1 1 28 mm 5 60 142 2 85 72 2 1 3 5 4 1 375 35 0 25 6 4 4 8 7 5 1 2 4...

Page 77: ...C In this case D1 and C28 act as a half wave rectifier to produce approximately 40 V DC at the input of the switching regula tor U12 Although a significant drop will be measured at DCIN the voltage wi...

Page 78: ...and External Battery Connections The SRAM and the real time clock have battery backup Power to the SRAM and the real time clock VRAM is provided by two different sources depending on whether the main...

Page 79: ...nded by the battery manufacturer Dispose of used batteries according to the battery manufacturer s instructions C 2 2 Battery Backup Circuit Figure C 2 shows the battery backup circuit Figure C 2 BL20...

Page 80: ...needed to provide a very small voltage drop between Vcc and VRAM 100 mV typically 10 mV so that the board components powered by Vcc will not have a significantly different voltage than VRAM When the B...

Page 81: ...namic C function chkWDTO is not able to detect whether a watchdog timeout has occurred on the BL2000 The GCSR status bits are read and stored by the BIOS and the reset status bit would normally change...

Page 82: ...for the SRAM s chip select signal line In a powered up condition the CS control circuit must allow the processor s chip select signal CS1 to control the SRAM s CS signal CSRAM So with power applied C...

Page 83: ...s to turn on creating a propagation delay This propa gation delay is typically very small about 10 ns to 15 ns The signal that turns the transistors on is a high on the processor s reset line RESET Wh...

Page 84: ...80 Wildcat BL2000...

Page 85: ...0 Tool Kit to the BL2000 board Proceed as follows 1 Use the wires included in the BL2000 Tool Kit to connect header J1 on the Demonstra tion Board to header J8 and J9 on the BL2000 The connections are...

Page 86: ...R34 R35 C41 R53 R61 D5 D4 R41 R42 D3 R40 R57 R39 C45 C44 C43 J2 J1 J4 J3 D6 D7 D8 D9 J9 J11 R43 R44 R45 C49 C48 C47 C46 BT1 D G S Q3 Q5 C32 D10 D11 D12 R46 R47 R48 R49 C51 C52 C50 C8 U2 R5 R11 R10 C7...

Page 87: ...R61 D5 D4 R41 R42 D3 R40 R57 R39 C45 C44 C43 J2 J1 J4 J3 D6 D7 D8 D9 J9 J11 R43 R44 R45 C49 C48 C47 C46 BT1 D G S Q3 Q5 C32 D10 D11 D12 R46 R47 R48 R49 C51 C52 C50 C8 U2 R5 R11 R10 C75 C11 R17 C4 C13...

Page 88: ...84 Wildcat BL2000...

Page 89: ...tal sample programs 82 jumper configurations 82 83 wire assembly 3 digital I O function calls digIn 44 digOut 44 SMODE0 26 SMODE1 26 digital inputs 17 configured pull up or pull down 17 dual purpose A...

Page 90: ...parallel ports 67 real time clock how to set 40 relay output function calls relayOut 46 relay outputs 21 operation in parallel with digital output OUT0 21 reset 9 hardware 9 reset generator 77 RS 232...

Page 91: ...T TCP IP connections 53 10Base T Ethernet card 53 additional resources 58 Ethernet hub 53 steps 53 technical support 12 Tool Kit 3 AC adapter 3 DC power supply 3 Demonstration Board 3 Dynamic C softwa...

Page 92: ...88 Wildcat BL2000...

Page 93: ...chemat 090 0117 pdf 090 0042 Demonstration Board Schematic www rabbit com documentation schemat 090 0042 pdf 090 0128 Programming Cable Schematic www rabbit com documentation schemat 090 0128 pdf You...

Page 94: ......

Reviews: