2.3 Starting Dynamic C
Once the RCM3360/RCM3370 is connected as described in the preceding pages, start
Dynamic C by double-clicking on the Dynamic C icon or by double-clicking on
dcrabXXXX.exe in the Dynamic C root directory, where XXXX are version-specific
characters.
Dynamic C uses the serial port on your PC that you specified during installation.
If you are using a USB port to connect your computer to the RCM3360/RCM3370 module,
choose Options > Project Options and select “Use USB to Serial Converter” on the
Communications tab.
2.4 Run a Sample Program
Since the RCM3360 and the RCM3370 run at 44.2 MHz and are equipped with a fast
program-execution SRAM, you should first set the compiler to run the application in the
fast program execution SRAM by selecting Code and BIOS in Flash, Run in RAM from
the Dynamic C Options > Project Options > Compiler menu.
Use the File menu to open the sample program PONG.C , which is in the Dynamic C
SAMPLES folder. Press function key F9 to compile and run the program. The STDIO
window will open on your PC and will display a small square bouncing around in a box.
This program shows that the CPU is working. The sample program described in
Section 6.5, “Run the PINGME.C Sample Program,” tests the TCP/IP portion of the board.
2.4.1 Troubleshooting
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 Dynamic C cannot find the target system (error message "No Rabbit Processor
Detected." ):
? Check that the RCM3360/RCM3370 is powered correctly — the red core LED on the
Prototyping Board should be lit when the RCM3360/RCM3370 is mounted on the Prototyping
Board and the AC adapter is plugged in .
? 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 RCM3360/RCM3370.
? Ensure that the RCM3360/RCM3370 module is firmly and correctly installed in its
connectors on the Prototyping Board.
User ’s Manual
11
相关PDF资料
101-1050-BE-00025 ADPT USB 2 A FEMALE-2 5PIN .25M
10112627-101LF MINI-SAS HD 1X2 EXT PCB
10112628-101LF MINI-SAS HD 1X4 EXT PCB
10136-3000PC CONN MINI-D 36POS SOLDER PLUG
10136-6000EC CONN MDR PLUG 36POS IDC GOLD
10150-4CZ3PL CONN MDR PLUG 50POS VERT T/H
10150-72E2PC CONN MINI-D 50POS R/A PLUG
10150-8000EE CONN PLUG 50 POS MINI-D
相关代理商/技术参数
101-0955 功能描述:模块化系统 - SOM RCM2260 RABBITCORE MODULE RoHS:否 制造商:Digi International 外观尺寸:ConnectCore 9P 处理器类型:ARM926EJ-S 频率:150 MHz 存储容量:8 MB, 16 MB 存储类型:NOR Flash, SDRAM 接口类型:I2C, SPI, UART 工作电源电压:3.3 V 最大工作温度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
101-0956 功能描述:开发板和工具包 - 其他处理器 Powercore Flex Kit US Version RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压:
101-0957 功能描述:开发板和工具包 - 其他处理器 Powercore Flex Kit International Vers. RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压:
101-0961 功能描述:模块化系统 - SOM RCM3720 CORE MOD. RoHS:否 制造商:Digi International 外观尺寸:ConnectCore 9P 处理器类型:ARM926EJ-S 频率:150 MHz 存储容量:8 MB, 16 MB 存储类型:NOR Flash, SDRAM 接口类型:I2C, SPI, UART 工作电源电压:3.3 V 最大工作温度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
10-109611-3S 制造商:Amphenol Corporation 功能描述:10-109611-03S - Bulk
10-109611-4S 制造商:Amphenol Corporation 功能描述:10-109611-04S - Bulk
10-109614-02S 制造商:Amphenol Corporation 功能描述:ER 4C 4#16S SKT PLUG
10-109614-05P 制造商:Amphenol Industrial Operations 功能描述:ER 5C 5#16S PIN PLUG