background image

RabbitLink (EG2100)

Network Programming Gateway

User’s Manual

019–0090

020222–B

Содержание RabbitLink EG2100

Страница 1: ...RabbitLink EG2100 Network Programming Gateway User s Manual 019 0090 020222 B ...

Страница 2: ...t danger to life or property it is the responsi bility of the system designer to incorporate redundant protective mechanisms appropriate to the risk involved All Z World products are 100 percent functionally tested Additional testing may include visual quality control inspections or mechanical defects analyzer inspec tions Specifications are based on characterization of tested sample units rather ...

Страница 3: ... 10 2 5 Ready to Go 10 Chapter 3 RabbitLink Software 11 3 1 Downloading and Debugging via the RabbitLink 11 3 1 1 RabbitLink Network Parameters 11 3 1 2 More RabbitLink Network Parameters 11 3 1 3 Password Protect the Embedded Target 12 3 1 4 Using Dynamic C or the RFU to Download 12 3 1 5 Remote Debugging with Dynamic C 12 3 1 6 Troubleshooting Tips 12 3 2 RabbitLink Firmware 13 3 2 1 Downloading...

Страница 4: ...r BIOS Source Files 26 C 4 Power Supplies 27 C 5 Batteries and External Battery Connections 27 C 6 Reset Generator 27 Appendix D Programming Cable 29 Appendix E Serial Console Commands 31 E 1 Configuration Commands 32 E 2 Variables Commands 33 E 3 File Commands 34 E 4 E Mail Commands 36 E 5 Other Console Commands 37 E 6 RabbitLink Console API prior to Dynamic C 7 20 38 E 7 Example Using the Rabbit...

Страница 5: ... operating at 22 1 MHz One RJ 45 Ethernet port compliant with IEEE 802 3 standard for 10Base T Ethernet protocol Two serial ports Three status LEDs download link and active Optional plastic enclosure and LED light pipes enclosure and light pipes are included with the tool kit and are also sold separately 128K static RAM and 512K flash memory two 256K flash chips Firmware already installed ready to...

Страница 6: ... PC serial port to the RabbitLink to set up the network parameters and to download firmware AC adapter supplies power to the RabbitLink An AC adapter is supplied with tool kits sold in the North American market If you are using another power supply a minimum of 9 24 V at 120 mA is recommended Plastic enclosure with four customer installable light pipes Screwdriver The Companion CD contains RabbitL...

Страница 7: ...gging Attaching the RabbitLink to the Ethernet and a Rabbit based target allows a user to compile run and debug programs on the remote board from a network connected PC running Dynamic C 7 03 or later All the standard features of Dynamic C are available over the remote interface including the Dynamic C STDIO window watch expressions and the ability to step through C and assembly code Dynamic C can...

Страница 8: ...4 RabbitLink EG2100 ...

Страница 9: ...ed NOTE Appendix B Plastic Enclosure provides additional information and specifications for the plastic enclosure 2 8 2 8 1 3 4 2 U2 J11 2 1 4 3 90 15 65 U3 C35 C36 R26 R27 DS1 DS2 DS3 DS4 DS6 DCIN K VCC OUT2 OUT1 OUT0 GND IN0 IN1 IN2 IN3 GND G N D GND GND GND 40 DS5 J6 C40 Q1 D5 Q2 D6 Q3 D7 C41 C42 R36 R37 R38 PW R R39 R57 R40 LN K1 AC T1 US ER LN K2 AC T2 R51 R55 J9 R5 4 R5 3 R5 2 R4 8 R4 9 R5 0...

Страница 10: ...D GND GND GND GND 40 DS5 J6 C40 Q1 D5 Q2 D6 Q3 D7 C41 C42 R36 R37 R38 PWR R39 R57 R40 LNK1 ACT1 USER LNK2 ACT2 R51 R55 J9 R54 R53 R52 R48 R49 R50 R47 R46 R42 R43 R44 C44 R45 R6 R7 C19 R8 Y3 C28 C29 C30 D3 R20 R21 R23 R25 R24 R22 C25 C26 C27 R14 R15 R16 R17 R18 R19 JP1 C24 R13 R12 J5 J7 GND GND GND GND Y1 C18 C9 R4 C10 C11 C12 J2 C2 C3 R2 C4 J3 R1 J1 EXT BATT NET GATEWAY BT1 C5 R3 C6 C7 L1 TVS1 D1 ...

Страница 11: ... on header J5 J6 and connect the lead black to GND on header J4 J5 as shown in Figure 5 Figure 5 Alternative Power Supply Connections 4 Apply power Once the RabbitLink is powered up and connected to your PC you are ready to configure the net work parameters Do not do this hookup if you have already connected the AC adapter Option 1 It is important that you hook up the positive and negative power l...

Страница 12: ...nal emulator is used to communicate with the RabbitLink serial console 1 Open a terminal emulator such as Tera Term or Windows Hypertermal on your PC Configure the terminal emulator as follows TIP If no characters appear when you type press return then type echo on to turn on the echoing of characters 2 Configure the RabbitLink network parameters This is done using the serial console commands Plea...

Страница 13: ...8 1 3 4 2 U2 J11 2 1 4 3 90 15 65 U3 C35 C36 R26 R27 DS1 DS2 DS3 DS4 DS6 DCIN K VCC OUT2 OUT1 OUT0 GND IN0 IN1 IN2 IN3 GND GND GND GND GND 40 DS5 J6 C40 Q1 D5 Q2 D6 Q3 D7 C41 C42 R36 R37 R38 PWR R39 R57 R40 LNK1 ACT1 USER LNK2 ACT2 R51 R55 J9 R54 R53 R52 R48 R49 R50 R47 R46 R42 R43 R44 C44 R45 R6 R7 C19 R8 Y3 C28 C29 C30 D3 R20 R21 R23 R25 R24 R22 C25 C26 C27 R14 R15 R16 R17 R18 R19 JP1 C24 R13 R1...

Страница 14: ...ilable from your favorite computer supplier Connect your PC and the RabbitLink board to an Ethernet hub as shown in Figure 7 The Ethernet hub may also be connected to your network Figure 7 Overview of physical connections Alternatively you may use the crossover Ethernet cable to connect the RabbitLink directly to a PC RJ 45 Ethernet jack This is useful when using RabbitLink as a high speed local p...

Страница 15: ...1 2 More RabbitLink Network Parameters From Dynamic C enter the RabbitLink addresses from the Communications dialog box found on the Options menu From the RFU the Communications dialog box is accessed from the Setup menu The Network Address field should contain the IP address of the RabbitLink The Control Port field should be set to the TCP port number that the RabbitLink uses to accept control co...

Страница 16: ...The RFU downloads bin files that were previously created using Dynamic C Dynamic C starts with a source code file and compiles it down to the target 3 1 5 Remote Debugging with Dynamic C Once a program is successfully downloaded to the target controller attached to the RabbitLink Dynamic C may be used to debug the program precisely as if the PC running Dynamic C was directly connected to the targe...

Страница 17: ...load the firmware or to reset the RabbitLink serial port 1 Connect the RabbitLink board to your PC as shown in Figure 8 with the PROG connector on the programming cable connected to the PROG IN header of the RabbitLink board Figure 8 RabbitLink Connections for Downloading Firmware 2 Use the Rabbit Field Utility version 2 0 or later to load the DOWNLOAD BIN firmware or the CLEAR_PARAM BIN binary im...

Страница 18: ... as watchdogs and message logging and also an interface that is easier to use than what is available on the RabbitLink For more information about DeviceMate please refer to the DeviceMate Software User s Manual available at http www zworld com The DeviceMate software may be downloaded to the RabbitLink to replace the RabbitLink firm ware 3 3 2 Using RabbitLink Features RabbitLink console commands ...

Страница 19: ...User s Manual 15 APPENDIX A SPECIFICATIONS Appendix A provides the specifications for the RabbitLink and describes the conformal coating ...

Страница 20: ...40 LNK1 ACT1 USER LNK2 ACT2 R51 R55 J9 R54 R53 R52 R48 R49 R50 R47 R46 R42 R43 R44 C44 R45 R6 R7 C19 R8 Y3 C28 C29 C30 D3 R20 R21 R23 R25 R24 R22 C25 C26 C27 R14 R15 R16 R17 R18 R19 JP1 C24 R13 R12 J5 J7 GND GND GND GND Y1 C18 C9 R4 C10 C11 C12 J2 C2 C3 R2 C4 J3 R1 J1 EXT BATT NET GATEWAY BT1 C5 R3 C6 C7 L1 TVS1 D1 J4 POWER IN D2 C8 C1 T2 C17 C16 C15 C14 C20 R5 C13 R9 Y2 T1 C23 C21 R10 C22 U1 R29 ...

Страница 21: ...et Interface Direct connection to 10BaseT Ethernet networks via RJ 45 connection Temperature 40 C to 70 C Humidity 5 to 95 noncondensing External Input Voltage 9 V to 40 V DC Current 44 mA at 24 V 84 mA at 12 V typical Onboard Voltage Regulator Surface mount switching regulator sources 5 V at 1 A Microprocessor Rabbit 2000 Clock 22 1 MHz SRAM 128K surface mount Flash EPROM 256K for program plus 25...

Страница 22: ...nts For more information on conformal coatings refer to Rabbit Semiconductor Technical Note 303 Conformal Coatings 2 8 2 8 1 3 4 2 U2 J11 2 1 4 3 90 15 65 U3 C35 C36 R26 R27 DS1 DS2 DS3 DS4 DS6 DCIN K VCC OUT2 OUT1 OUT0 GND IN0 IN1 IN2 IN3 GND GND GND GND GND 40 DS5 J6 C40 Q1 D5 Q2 D6 Q3 D7 C41 C42 R36 R37 R38 PWR R39 R57 R40 LNK1 ACT1 USER LNK2 ACT2 R51 R55 J9 R54 R53 R52 R48 R49 R50 R47 R46 R42 ...

Страница 23: ...des a secure way to enclose your RabbitLink board The enclosure itself may be mounted on any flat surface Appendix B describes how to mount the RabbitLink board inside the plastic enclosure how to install the optional light pipes and provides details on mounting the assembly ...

Страница 24: ...Ds on the RabbitLink board The light pipes snap in place Verify that the light pipes are aligned over the LEDs then apply a drop of 2 8 2 8 1 3 4 2 U2 J11 2 1 4 3 90 15 65 U3 C35 C36 R26 R27 DS1 DS2 DS3 DS4 DS6 DCIN K VCC OUT2 OUT1 OUT0 GND IN0 IN1 IN2 IN3 GND G N D GND GND GND 40 DS5 J6 C40 Q1 D5 Q2 D6 Q3 D7 C41 C42 R36 R37 R38 PW R R39 R57 R40 LN K1 AC T1 US ER LN K2 AC T2 R51 R55 J9 R5 4 R5 3 R...

Страница 25: ...mounted This step applies to production versions of RabbitLink boards once development has been completed 2 8 2 8 1 3 4 2 U2 J11 2 1 4 3 90 15 65 U3 C35 C36 R26 R27 DS1 DS2 DS3 DS4 DS6 DCIN K VCC OUT2 OUT1 OUT0 GND IN0 IN1 IN2 IN3 GND G N D GND GND GND 40 DS5 J6 C40 Q1 D5 Q2 D6 Q3 D7 C41 C42 R36 R37 R38 PW R R39 R57 R40 LN K1 AC T1 US ER LN K2 AC T2 R51 R55 J9 R5 4 R5 3 R5 2 R4 8 R4 9 R5 0 R4 7 R4...

Страница 26: ...e B 4 Plastic Enclosure Dimensions When fully assembled with the RabbitLink 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 1 3 7 5 3 5 4 35 110 3 6 2 9 2 5 00 127 4 2 5 1 0 8 0 70 18 0 375 9 5 mm is cut off each corner ...

Страница 27: ...User s Manual 23 APPENDIX C SUBSYSTEMS Appendix D describes the principal subsystems for the RabbitLink RabbitLink Subsystems Serial Communication Memory Power Supplies ...

Страница 28: ...ts for Ethernet Jack and Programming Headers Port A Port B Port D Port E PA0 PB0 PB2 PB1 PB6 PB7 PC4 PC5 PE0 PE2 PE5 A0 A4 BUFEN RESET Data Lines RAM Flash PC6 PC7 PD0 PD2 PE0 PE1 PE3 PE6 DA0 DA7 RabbitLink CPU RABBIT 2000 Watchdog Clock Doubler Real Time Clock Address Lines Programming Out Port Serial Port Port C Programming In Port Misc Output Misc Input Ethernet Programming Ports J8 RXA CLKA RE...

Страница 29: ...program through an Ether net based network or even the Internet to a target Rabbit based board The PROG OUT port transmits information to and from a PC elsewhere on the Ethernet based network running Dynamic C Premier version 7 02 or later or the Rabbit Field Utility See Appendix D Programming Cable for more information C 2 2 Ethernet Port The 10 Mbps twisted pair Ethernet system allows segment le...

Страница 30: ...ngs for the jumpers at JP2 and JP3 used to set the flash memory size The jumpers are 0 Ω surface mounted resistors Z World recommends that any customer applications should not be constrained by the sector size of the flash EPROM since it may be necessary to change the sector size in the future 3 3 3 Dynamic C Premier BIOS Source Files The Dynamic C Premier BIOS source files handle different standa...

Страница 31: ...ctly to a power supply in the production system Capacitor C8 provides noise and ripple stablization protection for the voltage regulator and allows the external power supply to be located some distance away from the RabbitLink A switching power regulator is used The RAW or DCIN input voltage may range from 9 V to 40 V C 5 Batteries and External Battery Connections Although the RabbitLink has room ...

Страница 32: ...28 RabbitLink EG2100 ...

Страница 33: ...h the RabbitLink board The PROG connector is used only when the programming cable is attached to the PROG IN connector header J8 on the RabbitLink to download new firmware Otherwise the DIAG connector on the programming cable is used to configure the RabbitLink s network parameters and also allows the programming cable to be used as an RS 232 to CMOS level converter for serial communication ...

Страница 34: ... DIAG connector can be used to connect the programming port The RESET line and the SMODE1 and SMODE0 pins are not connected to this connector The programming port is then enabled as a diagnostic port by polling the port periodically to see if communication needs to begin or to enable the port and wait for interrupts The pull up resistors on RXA and CLKA prevent spurious data reception that might t...

Страница 35: ... serial console was designed to be human accessible as a convenient way to setup the network configuration It is pos sible to use these commands programatically from the target though it is not recommended If Internet services are desired Z World suggests the DeviceMate software which may be run on the RabbitLink board ...

Страница 36: ... address for the RabbitLink IP address The IP address for the RabbitLink in dotted decimal format The factory default is 10 10 1 100 set netmask x x x x This command sets the netmask x x x x This is the dotted decimal format of the netmask The factory default is 255 255 255 0 set passphrase This command will prompt for a passphrase twice to confirm that the passphrase was cor rectly entered The ch...

Страница 37: ... on off This command enables and disables the use of any DHCP server that is available on the net work The default condition is on This command is only available with RabbitLink serial console version 2 00 createv varname vartype format value strlen This command creates a variable and stores it in the flash file system on the RabbitLink The variable can be referenced in HTML files using SSI e g ec...

Страница 38: ...e whose value is being changed value The new value for the variable list variables This command lists all the variables by name and type that are stored in the flash file system on the RabbitLink reset variables This command deletes all the variables that are stored in the flash file system on the Rab bitLink delete filename Deletes the specified file from the flash file system on the RabbitLink f...

Страница 39: ...ncluding ASCII files as binary files filename Identifies the file body of file Everything sent before a ctrl D or a ctrl Z is part of the file contents ctrl D or a ctrl Z This is the end of file marker put filename size This command sends a binary file to the flash file system on the RabbitLink There is a time out for this command the data transfer begins no later than 60 seconds after the RabbitL...

Страница 40: ...the e mail the RabbitLink will accept strings that follow as the body of the e mail ctrl D ctrl D 0x04 is the end of the e mail set mail from e mail address This command sets the RabbitLink s e mail address The address will be included in the From line of all e mail messages sent from the RabbitLink Any error responses from the SMTP server will be sent to this address e mail name E mail address of...

Страница 41: ...mation to that which is as sociated with the specified file reset This command resets the basic network parameters the netmask and the IP addresses of the RabbitLink and its gateway to factory defaults show filename This command lists all assignable variables and their settings except for the passphrase filename This optional parameter limits the list of variables to those associated with the spec...

Страница 42: ...DIO commands such as printf go to the RabbitLink serial console in addition to the Dynamic C STDIO window PARAMETER flag 0 printf and related commands work as normal 1 printf and related commands go to the RabbitLink serial con sole as well RETURN VALUE 0 if successful 1 if not int SendToConsole char data int length This function writes a binary buffer of a specified length to the serial console o...

Страница 43: ...ta to receive PARAMETERS timeout The length of time to time out in milliseconds and is 0 for ConsoleFinish to determine whether there are more data to receive RETURN VALUE 0 if there are more data on the serial console non zero if all the data have been re ceived LIBRARY STDIO LIB E 7 Example Using the RabbitLink Console API main first method SendToConsole set ip 10 10 2 102 n 19 second method Pri...

Страница 44: ...40 RabbitLink EG2100 ...

Страница 45: ...ifferent sizes 26 SRAM configuration for dif ferent sizes 26 P passphrase protection 3 passphrase security 12 pinout Ethernet jack and program ming headers 24 programming port 30 plastic enclosure 20 dimensions 22 power supplies 24 battery backup 27 power supply 2 program download cable 9 programming programming port 25 programming cable 2 DIAG connector 30 programming cable connections 6 programm...

Страница 46: ...42 RabbitLink EG2100 ...

Страница 47: ...abbitsemiconductor com documentation schemat 090 0085 pdf The schematics included with the printed manual were the latest revisions available at the time the manual was last revised The online versions of the manual contain links to the latest revised sche matic on the Web site You may also use the URL information provided above to access the latest schematics directly ...

Страница 48: ......

Отзывы: