background image

14

RabbitCore RCM3000

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.

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. The sample program described in 
Section 4.9, “Run the PINGME.C Demo,” tests the TCP/IP portion of the board.

2.5  Where Do I Go From Here?

We recommend that you proceed to the next chapter and install Dynamic C (if you do not 

already have it installed), then run the 

PONG.C

 sample program to verify that the 

RCM3000 module and the Prototyping Board are set up and functioning correctly.

If everything appears to be working, we recommend the following sequence of action:

1. Run all of the sample programs described in Section 3.4 to get a basic familiarity with 

Dynamic C and the RCM3000 module’s capabilities.

2. For further development, refer to the RabbitCore RCM3000 User’s Manual for details 

of the module’s hardware and software components.

A documentation icon should have been installed on your workstation’s desktop; click 
on it to reach the documentation menu. You can create a new desktop icon that points to 

default.htm

 in the 

docs

 folder in the Dynamic C installation folder.

3. For advanced development topics, refer to the Dynamic C Premier User’s Manual and 

the Dynamic C TCP/IP User’s Manual, also in the online documentation set.

2.5.1  Technical Support

NOTE: If you purchased your RCM3000 through a distributor or through a Z-World or 

Rabbit Semiconductor partner, contact the distributor or partner first for technical support.

If there are any problems at this point:

Check the Z-World/Rabbit Semiconductor Technical Bulletin Board at 
www.zworld.com/support/bb/.

Use the Technical Support e-mail form at www.zworld.com/support/support_submit.html.

Содержание RCM3000

Страница 1: ...RabbitCore RCM3000 C Programmable Module with Ethernet Getting Started Manual 019 0109 020415 A...

Страница 2: ...s products without providing notice Trademarks Rabbit 2000 is a trademark of Rabbit Semiconductor Dynamic C is a registered trademark of Z World Inc Z World Inc 2900 Spafford Street Davis California 9...

Страница 3: ...otyping Board 8 2 2 1 Prototyping Board Features 9 2 3 Development Hardware Connections 11 2 3 1 Attach Module to Prototyping Board 11 2 3 2 Connect Programming Cable 12 2 3 3 Connect Power 13 2 4 Run...

Страница 4: ...e Used 28 4 5 Dynamically Assigned Internet Addresses 29 4 6 Placing Your Device on the Internet 30 4 7 How to Set IP Addresses in the Sample Programs 31 4 8 How to Set Up your Computer s IP Address f...

Страница 5: ...0 series RabbitCore modules including TCP IP applica tions 1 1 Rabbit 3000 Microprocessor The Rabbit 3000 microprocessor shares its instruction set and conceptual design with the successful Rabbit 200...

Страница 6: ...do not serve your needs other variations can be specified and ordered in production quantities Contact your Z World or Rabbit Semiconductor sales representative for details Table 1 below highlights t...

Страница 7: ...gure 1 RCM3000 Connector Pinout Table 2 RCM3000 Specifications Specification Data Power Supply 3 15 3 45 V DC 145 mA at 29 5 MHz clock speed Size 1 85 x 2 65 x 0 86 47 mm 67 mm 22 mm Environmental 40...

Страница 8: ...software support for the integrated Ethernet port Most users will want more detailed information on some or all of these topics in order to put the RCM3000 module to effective use 1 4 1 Additional Pr...

Страница 9: ...s 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 Do...

Страница 10: ...6 RabbitCore RCM3000...

Страница 11: ...he RCM3000 Development Kit contains the following items RCM3010 module with Ethernet port 256K flash memory and 128K SRAM RCM3000 Prototyping Board AC adapter 9 V DC 1 A Included only with Development...

Страница 12: ...RAM SM1 IORD PG4 PG6 PE0 PE3 PE5 PE7 PF6 PF4 PB6 PB4 PB2 RES RN2 J1 J3 C1 C2 R1 R3 R2 UX10 J14 RCM3000 RABBITCORE SLAVE MASTER RCM3000 RABBITCORE RCM1 RCM2 RC18 UX11 RC1 RC2 UX2 C4 C5 C8 C6 C7 S3 S2 J...

Страница 13: ...dule and may be read as inputs by sample applications Two LEDs are connected to the PG6 and PG7 pins of the master module and may be driven as output indicators by sample applications Prototyping Area...

Страница 14: ...aced with an ammeter across the pins to measure the current drawn from the 5 V or the 3 3 V supplies respectively Motor Encoder A motor encoder header is provided at header J6 for future use LCD Keypa...

Страница 15: ...3V 5V GND GND GND GND 5V 5V 3 3V 3 3V GND MOTOR ENCODER RN5 J6 R20 JP1 CURRENT MEASUREMENT OPTION 3 3V 5V 3 3V POWER D1 C13 DS3 L1 C17 C15 POWER GND DC GND J9 2 5 MM JACK GND DC GND GND R17 RN3 RN4 J...

Страница 16: ...GND R17 RN3 RN4 J15 RN1 GND PD0 PD6 PD2 PD4 PG2 PG0 PD5 PC4 PC2 PC0 PF1 PF3 PA1 PA3 PA5 PA7 GND PD1 PD7 PD3 PD5 PG3 PG1 PD4 PC5 PC3 PC1 PF0 PF2 PA0 PA2 PA4 PA6 PE4 GND GND SM0 IOWR PG5 PG7 PE1 PE4 PE6...

Страница 17: ...ND J9 2 5 MM JACK GND DC GND GND R17 RN3 RN4 J15 RN1 GND PD0 PD6 PD2 PD4 PG2 PG0 PD5 PC4 PC2 PC0 PF1 PF3 PA1 PA3 PA5 PA7 GND PD1 PD7 PD3 PD5 PG3 PG1 PD4 PC5 PC3 PC1 PF0 PF2 PA0 PA2 PA4 PA6 PE4 GND GND...

Страница 18: ...we recommend the following sequence of action 1 Run all of the sample programs described in Section 3 4 to get a basic familiarity with Dynamic C and the RCM3000 module s capabilities 2 For further de...

Страница 19: ...evelopment 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 Program...

Страница 20: ...ompiled and linked 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 1 Hardware Requirements To install and run Dynamic C your...

Страница 21: ...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 2 1 Program Documentation F...

Страница 22: ...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...

Страница 23: ...1 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 modem etc may lea...

Страница 24: ...pins 5 6 of header JP1 on the Prototyping Board is installed If the LED is lit check both ends of the programming cable to ensure that it is firmly plugged into the PC and the RCM3000 series module s...

Страница 25: ...to the RCM3000 These programs will be found in the Samples RCM3000 folder We suggest that you examine the following five of these sample programs in order to get a complete tour of the capabilities o...

Страница 26: ...22 RabbitCore RCM3000...

Страница 27: ...com 1 Connect the AC adapter and the programming cable as shown in Chapter 2 Hardware Setup 2 Ethernet Connections There are four options for connecting the RCM3000 series module to a network for dev...

Страница 28: ...ction to the Internet and other Wide Area Networks but exceptional care should be used with IP address settings and all network related programming and development We recommend that development and de...

Страница 29: ...attached to the second Ethernet adapter Dis connecting your PC from the corporate network may be easy or nearly impossible depending on how it is set up If your PC boots from the network or is depend...

Страница 30: ...hat filter and multiplex Internet traf fic In the configuration below the RCM3000 board could be given a fixed address so any of the computers on the local network would be able to contact it It may b...

Страница 31: ...he same form as the IP address An example netmask is 255 255 255 0 This netmask has 8 zero bits in the least significant portion and this means that 28 addresses are a part of the local network Applie...

Страница 32: ...st packet to all devices on the local network asking the device with the desired IP address to answer with its MAC address In this way the table entry can be filled in If no device answers then the de...

Страница 33: ...rivate address can be used to perform some Internet tasks such as sending e mail or browsing the Web but usually cannot be used to participate in conversations that originate elsewhere on the Internet...

Страница 34: ...usually work by disallowing traffic that did not originate from inside the net work If you want users on the Internet to communicate with your RCM3000 you have several options You can either place th...

Страница 35: ...e MY_IP_ADDRESS 216 112 116 155 define MY_NETMASK 255 255 255 248 define MY_GATEWAY 216 112 116 153 In order to do a direct connection the following IP addresses can be used for the RCM3000 define MY_...

Страница 36: ...m TCP IP Ethernet adapter name Double click on this line to bring up the TCP IP properties dialog box You can edit the IP address directly and the subnet mask Disable obtain an IP address automaticall...

Страница 37: ...otice that the red ACT light flashes on the RCM3000 board while the ping is taking place and indicates the transfer of data The ping routine will ping the board four times and write a summary message...

Страница 38: ...t Semiconductor Technical Bulletin Board at www zworld com support bb Use the Technical Support e mail form at www zworld com support support_submit html If the sample programs ran fine you are now re...

Страница 39: ...rfect Bugs are always present in a system of any size In order to prevent danger to life or property it is the responsibility of the sys tem designer to incorporate redundant protective mechanisms app...

Страница 40: ...36 RabbitCore RCM3000...

Страница 41: ...are connections 11 install RCM3000 on Prototyp ing Board 11 power supply 13 programming cable 12 hardware reset 13 I IP addresses 27 32 how to set 31 how to set PC IP address 32 M MAC addresses 28 mod...

Страница 42: ...40 RabbitCore RCM3000...

Страница 43: ...Getting Started 41 SCHEMATICS 090 0136 RCM3000 Schematic 090 0137 RCM3000 RCM3100 Prototyping Board Schematic 090 0128 Programming Cable Schematic...

Страница 44: ...NGING ECO APPROVAL APPROVAL CONTROL DOCUMENT DATE REVISION HISTORY ENGINEER PROJECT DATE REV DESCRIPTION REVISION APPROVAL NONE DATE B DRAWING CONTENT APPROVALS INITIAL RELEASE SIGNATURES 2900 SPAFFOR...

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

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

Страница 47: ...S WHEN CHANGING ECO APPROVAL APPROVAL CONTROL DOCUMENT DATE REVISION HISTORY ENGINEER PROJECT DATE REV DESCRIPTION REVISION APPROVAL NONE DATE B DRAWING CONTENT APPROVALS INITIAL RELEASE SIGNATURES 29...

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

Страница 49: ...ECO APPROVAL APPROVAL CONTROL DOCUMENT DATE REVISION HISTORY ENGINEER PROJECT DATE REV DESCRIPTION REVISION APPROVAL SIGNATURES APPROVALS INITIAL RELEASE DRAWING CONTENT B 2900 SPAFFORD ST DAVIS CA 9...

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

Отзывы: