EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Communication Error with RCM2200

Started by Sunil Jha February 20, 2004
Hi All!
I am newbie to rabbit Core Modules and seeking kind help from all
experienced rabbit core experts in the group. I opt for RCM2200
module to embed communcation over LAN with my device with least
programming overhead. So, I purchased RCM2200 module with its
programming cable. I developed my own board for placing RCM2200 on
it. I have Dynamic C 7.33TSE2 installed in Windows 98 SE environment
on PII 266 MHz PC.

My problem is that I am not able to run and debug even a single
sample program. Bios compiled successfully. On compiling any example
program, After loading to flash completely I receive Communication
Error with message "Timeout while waiting for response from Target".
I have tried all debug baud rates 57600, 19200, 9600 with
enabling/disabling Max download Baud rate option in communication
settings. I set on my PC COM1/2 with 57600 baud, 8 data bits, no
parity, 1 stop bit and no flow control. I am puzzling myself from
last 3 days with this communication problem and loosing my all
enthusiasm to work with Rabbit core module. After removing
programming cable and resetting the processor some sample examples
like falshled.c are working. But I am mainly interested in TCP/IP
programs.

With TCP/IP programs, I am unable to run even simple pinging program.
As communication is not working properly, I am unable to debug any of
them. So, I have tried RFU to download .bin file in the target and
then run without debugging. In this case while running pingme.c the
LNK and ACT LEDs on the RCM2200 glows simultaneously and then goes
off randomly. I expect this to be like LNK LED should remain ON while
ACT should blink on pinging. But the behaviour of both LEDs are quite
abnormal. I failed to understand the cause of this. If anyone can
give some clue I will be very much thankful to him.

Waiting for an urgent help to keep my enthusiasm alive to work with
Rabbit modules. Feeling quite helpless...

regards,
Sunil Jha
I.I.T. Kanpur
INDIA


Did you wrote the ID_block? Try the file "WRITE_IDBLOCK.c" available in the files section of this group. In the file you must uncomment your board type and write the MAC address of the stick in your board. After this your board will be ready to run tcp/ip samples.
 
Guilherme Carneiro
 
----- Original Message -----
From: Sunil Jha
To: r...@yahoogroups.com
Sent: Friday, February 20, 2004 2:47 AM
Subject: [rabbit-semi] Communication Error with RCM2200

Hi All!
   I am newbie to rabbit Core Modules and seeking kind help from all
experienced rabbit core experts in the group. I opt for RCM2200
module to embed communcation over LAN with my device with least
programming overhead. So, I purchased RCM2200 module with its
programming cable. I developed my own board for placing RCM2200 on
it. I have Dynamic C 7.33TSE2 installed in Windows 98 SE environment
on PII 266 MHz PC.

My problem is that I am not able to run and debug even a single
sample program. Bios compiled successfully. On compiling any example
program, After loading to flash completely I receive Communication
Error with message "Timeout while waiting for response from Target".
I have tried all debug baud rates 57600, 19200, 9600 with
enabling/disabling Max download Baud rate option in communication
settings. I set on my PC COM1/2 with 57600 baud,  8 data bits, no
parity, 1 stop bit and no flow control. I am puzzling myself from
last 3 days with this communication problem and loosing my all
enthusiasm to work with Rabbit core module. After removing
programming cable and resetting the processor some sample examples
like falshled.c are working. But I am mainly interested in TCP/IP
programs.

With TCP/IP programs, I am unable to run even simple pinging program.
As communication is not working properly, I am unable to debug any of
them. So, I have tried RFU to download .bin file in the target and
then run without debugging. In this case while running pingme.c the
LNK and ACT LEDs on the RCM2200 glows simultaneously and then goes
off randomly. I expect this to be like LNK LED should remain ON while
ACT should blink on pinging. But the behaviour of both LEDs are quite
abnormal. I failed to understand the cause of this. If anyone can
give some clue I will be very much thankful to him.

Waiting for an urgent help to keep my enthusiasm alive to work with
Rabbit modules. Feeling quite helpless...

regards,
Sunil Jha
I.I.T. Kanpur
INDIA

> program, After loading to flash completely I receive Communication
> Error with message "Timeout while waiting for response from Target".

Did you have the #nodebug directive in your code somewhere in the
beginning?
This will prevent all responses after starting up, including printf()
calls.



The 2024 Embedded Online Conference