background image

24

RabbitCore RCM2100

Содержание RCM2100

Страница 1: ...RabbitCore RCM2100 C Programmable Module with Ethernet Getting Started Manual 019 0093 010915 C...

Страница 2: ...lure to perform when properly used in accordance with instructions for use provided in the labeling and user s manual can be reasonably expected to result in significant injury No complex software or...

Страница 3: ...Manual 5 Additional Product Information 5 Additional Reference Information 5 Using Online Documentation 5 Chapter 2 Hardware Setup 7 Development Kit Contents 7 Overview of the Prototyping Board 8 Pro...

Страница 4: ...21 Starting Dynamic C 22 Communication Error Messages 22 Chapter 4 Sample Programs 25 Sample Program Overview 25 Loading and Compiling Programs in Dynamic C 26 Connect Prototyping Board 26 Start Dynam...

Страница 5: ...oduction systems All modules within the family are pin for pin compatible and may be installed or swapped in a matter of minutes 1 1 RCM2100 Series Description There are four production models in the...

Страница 6: ...ing this module 40 I O pins RCM2130 The RCM2130 is identical to the RCM2120 except that it is equipped with 128k of SRAM and 256k of flash memory 1 1 3 Other Factory Versions To further accommodate de...

Страница 7: ...0 Pinout GND PA7 PA5 PA3 PA1 BA12 BA10 BA8 BA6 BA4 BA2 BA0 PC1 PC3 PC5 PC7 RXA PD1 PD3 PD5 PD7 VCC PCLK PA6 PA4 PA2 PA0 BA11 BA9 BA7 BA5 BA3 BA1 PC0 PC2 PC4 PC6 TXA PD0 PD2 PD4 PD6 J1 PB0 PB2 PB4 PB6...

Страница 8: ...It interfaces directly with the target system eliminating the need for complex and unreliable in circuit emulators Dynamic C must be installed on a Windows workstation with at least one free serial C...

Страница 9: ...nal Reference Information In addition to the product specific information contained in the RabbitCore RCM2100 User s Manual several higher level reference manuals are provided in HTML and PDF form on...

Страница 10: ...e Dynamic C installation folder The latest versions of all documents are always available for free unregistered download from our web sites as well Printing Electronic Manuals We recognize that many u...

Страница 11: ...ent setup 2 1 Development Kit Contents The RCM2100 Development Kit contains the following items RCM2100 module with Ethernet port 512K flash memory and 512K SRAM RCM2100 Prototyping Board with accesso...

Страница 12: ...evaluation and development the Prototyping Board can be used without modification As you progress to more sophisticated experimentation and hardware development modi fications and additions can be mad...

Страница 13: ...ch is connected directly to the RCM2100 s RES_IN pin Pressing the switch forces a hardware reset of the system I O Switches LEDs Two momentary contact normally open switches are connected to the PB2 a...

Страница 14: ...s recommended for U2 Refer to the Prototyping Board schematic for additional details A 10 pin 0 1 inch spacing header strip can be installed at J6 to permit connection of a ribbon cable leading to a s...

Страница 15: ...use with Dynamic C and the sample programs 1 Attach the RCM2100 module to the Prototyping Board 2 Connect the programming cable between the RCM2100 module and the workstation PC 3 Connect the module s...

Страница 16: ...rototyping Board Note the orientation of the module NOTE It is important that you line up the RCM2100 pins on headers J1 and J2 exactly with the corresponding pins of headers J1 and J3 on the Prototyp...

Страница 17: ...to orient the red edge of the cable towards pin 1 of the connector Do not use the DIAG connector which is used for a normal serial connection Figure 6 Attaching Programming Cable to the RCM2100 NOTE T...

Страница 18: ...permits direct connection of two client systems A standard RJ 45 network cable will not work for this purpose Micro LAN Another simple alternative for desktop development Use a small Eth ernet 10Base...

Страница 19: ...y Connections to Prototyping Board Plug in the wall transformer The power LED on the Prototyping Board should light up The RCM2100 and the Prototyping Board are now ready to be used NOTE A RESET butto...

Страница 20: ...ies 2 For further development refer to the RabbitCore RCM2100 User s Manual for details of the module s hardware and software components A documentation icon should have been installed on your worksta...

Страница 21: ...development and debug ging take place seamlessly across this connection greatly speeding system development Other features of Dynamic C include Dynamic C has an easy to use built in text editor Progr...

Страница 22: ...inked and downloaded on the fly On a fast PC Dynamic C can load 30 000 bytes of code in 5 seconds at a baud rate of 115 200 bps 3 2 System Requirements To install and run Dynamic C your system must be...

Страница 23: ...covered in this section Selected steps that may be confusing to some users are outlined below Some of the installation utility screens may vary slightly from those shown 3 3 1 Program Documentation F...

Страница 24: ...installed to save hard drive space or installed elsewhere on a separate or net work drive for example The installation type is selected in the installation menu shown above The options are Typical Ins...

Страница 25: ...le select COM1 This selection can be changed later within Dynamic C NOTE The installation utility does not check the selected COM port in any way Speci fying a port in use by another device mouse mode...

Страница 26: ...at the power LED on the prototyping board is lit If it is check both ends of the programming cable to ensure that it is firmly plugged into the PC and the RCM2100 s programming port If you are using t...

Страница 27: ...TBIOS C which can be found in the BIOS directory 2 Change the line define USE115KBAUD 1 set to 0 to use 57600 baud to read as follows define USE115KBAUD 0 set to 0 to use 57600 baud 3 Save the changes...

Страница 28: ...24 RabbitCore RCM2100...

Страница 29: ...start ing points or building blocks for your own applications NOTE It is assumed in this section that you have at least an elementary grasp of ANSI C If you do not see the introductory pages of the D...

Страница 30: ...s not see Section 2 3 4 2 2 Start Dynamic C Section 3 4 of this manual provides detailed instructions for installing and starting up Dynamic C Double click on the Dynamic C icon Dynamic C should start...

Страница 31: ...A high turning off the attached LEDs 6 Starts an endless loop with a for expression and within that loop Writes a bit to turn bit 1 off lighting LED DS3 Waits through a delay loop Writes a bit to turn...

Страница 32: ...program is allowed to run The first costatement is a compressed version of FlashLED c with slightly different flash timing It also uses the library function DelayMs to deliver more accurate timing th...

Страница 33: ...Getting Started 29 More Information See the entries for the DelayMs function as well as Section 5 Multitasking with Dynamic C in the Dynamic C Premier User s Manual...

Страница 34: ...te the beginning and end of the assembly language statements In the function initialize_ports port A is initialized to be all outputs while bit 0 of port E is initialized to be an output In the functi...

Страница 35: ...rdone which can also be used must be used when calling cofunctions For a complete explanation see Section 5 and 6 in the Dynamic C User s Manual More Information See the entries for the hitwd and Dela...

Страница 36: ...peration network addresses must be correctly defined at the start of this program The most important address to set correctly is MY_IP_ADDRESS which is the address of the RCM2100 module The MY_NETMASK...

Страница 37: ...loop using for Within this loop the program executes the following steps 1 Calls tcp_tick to perform the basic housekeeping functions for the socket 2 As a costatement waits for the duration of PING_...

Страница 38: ...3 Connect Ethernet Network Cable in order for this program to work TIP This program will be more interesting to observe if LEDs DS4 and DS5 are installed in the Prototyping Board When the program sta...

Страница 39: ...ding define REDIRECTHOST MY_IP_ADDRESS Then uncomment the next line which defines a specific redirection host and port define REDIRECTHOST my host com 8080 Be sure to enter the host port where indicat...

Страница 40: ...cteristics but most can be run on the RabbitCore RCM2100 series modules either as is or with some modification All programs in the Samples RCM2100 folder will run without changes on the RCM2100 series...

Страница 41: ...Getting Started 37 SCHEMATICS 090 0114 RCM2100 Schematic 090 0116 RCM2100 Prototyping Board Schematic 090 0128 Programming Cable Schematic...

Страница 42: ...NT REV ECO DESCRIPTION OF CHANGE REVISION HISTORY REVISION APPROVAL DATE DATE DRAWING CONTENT SIGNATURES DATE C APPROVALS INITIAL RELEASE NONE 530 757 4616 DAVIS CA 95616 2900 SPAFFORD ST PORTS D E OP...

Страница 43: ...C NONE CONFORMAL COATING BATTERY BACK UP BANK SELECT...

Страница 44: ...B DRAWING CONTENT APPROVALS INITIAL RELEASE SIGNATURES 2900 SPAFFORD ST DAVIS CA 95616 530 757 4616 THIS DOCUMENT APPEND THE FOLLOWING DOCUMENTS WHEN CHANGING ECO APPROVAL APPROVAL CONTROL DOCUMENT DA...

Страница 45: ...B NONE B NONE...

Страница 46: ...HEN CHANGING ECO APPROVAL APPROVAL CONTROL DOCUMENT DATE REVISION HISTORY ENGINEER PROJECT DATE REV DESCRIPTION REVISION APPROVAL SIGNATURES APPROVALS INITIAL RELEASE DRAWING CONTENT B 2900 SPAFFORD S...

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

Отзывы: