EmbeddedRelated.com
Forums

Problem with RFU download : Please help

Started by INDRANUJ HALDAR March 7, 2005


Hi all,
I am using rabbit 2000 with 256 k flash and
512k ram with realtek chip (RTL8019AS) for ethernet
adaptar .
There is no specific module with this configuration
with Z WORLD .
1. If I compile the code in debug mode and download in
flash through Dynamic C 7.25P it works fine .

2. If i compile in nodebug mode and download the code
into flash through Dynamic C 7.25P then also I find no
problem .

3. But if I compile the code and take the .bin file to
download through RFU it does not work . It goes and
stands over there . Specifically the network (ethernet
link)does not come steady .

While DC compiles the code, in realtek.lib it always
raises a warning that it can not understand the the
board type . In DC define target configuration I have
tried to define the configuration of the board .But
still there is no change .But from DC7.25P if the
program is downloaded then every thing works fine .But
moment i try downloading with RFU nothing works as
explained above .

It seems that RFU is not downloading a part of the
code .

I will be highly thankful if somebody helps me out
of this problem . I am completely stuck with RFU .
Please reply ASAP.

Rgds,

Indranuj Haldar
Embedded Design Engineer.
Synectic Telecom Exports Pvt. Ltd.
196,1st Main ,3rd Stage,4th Block
Basaveshwar Nagar ,Bangalore 560 079,India
Tel:+91-80-23585920-Ext-309
Emai: indranuj@indr...
www.synectix.net

__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/



At 01:32 AM 3/7/2005, you wrote:
>While DC compiles the code, in realtek.lib it always
>raises a warning that it can not understand the the
>board type . In DC define target configuration I have
>tried to define the configuration of the board .But
>still there is no change .But from DC7.25P if the
>program is downloaded then every thing works fine .But
>moment i try downloading with RFU nothing works as
>explained above .
>

You need to set the "Define target Configuration". It is compiling for the
wrong board when you generate a .bin file.

<Scott>

------
| Scott G. Henion| shenion@shen... |
| Consultant | Stone Mountain, GA |
| SHDesigns | PGP Key 0xE98DDC48 |
| http://www.shdesigns.org/rabbit/ |
------


Sir,
Thank you for your response.
I have already set "DEFINE TARGET CONFIGURATION"
as:
selected "Specify Board Parameters"
Board ID Code: 0xFF02
Board Name : SEC
CPU : Rabbit 2000
Base Frequency:22.1184MHZ
RAM (Kbytes):512
Primary Flash(Kbytes):256

tried with the same configuration parameters and BOARD
ID CODE 0x0E00 for RCM2250 also
but
BOTH CONFIGURATIONS DO NOT WORK .

If any of the things you find incorrect please mention
that .
Please reply ASAP.

thanking you ,
Rgds,
Indranuj

--- Scott Henion <shenion@shen...> wrote:

> At 01:32 AM 3/7/2005, you wrote:
> >While DC compiles the code, in realtek.lib it
> always
> >raises a warning that it can not understand the the
> >board type . In DC define target configuration I
> have
> >tried to define the configuration of the board .But
> >still there is no change .But from DC7.25P if the
> >program is downloaded then every thing works fine
> .But
> >moment i try downloading with RFU nothing works as
> >explained above .
> >
>
> You need to set the "Define target Configuration".
> It is compiling for the
> wrong board when you generate a .bin file.
>
> <Scott>
>
> ------
> | Scott G. Henion| shenion@shen... |
> | Consultant | Stone Mountain, GA |
> | SHDesigns | PGP Key 0xE98DDC48 |
> | http://www.shdesigns.org/rabbit/ |
> ------


__________________________________________________





By the way, does anybody know, how really RFU works? I saw that it proceeds the following steps:
1. Opens the port at 2400 bps (clears RTS and DTR )
2. Sends the coldload.bin byte by byte (with some small changes, meaning a header and a footer...)
3. Sets baud rate at 57600 bps.
4. Sends a header (6 bytes).
This is the point where the Rabbit should answer with a "0x05"..
5. Sends the pilot.bin byte by byte.
etc...
Can anyone tell me how the transmission is managed - RTS, CTS, DTR, DSR, maybe a diagram, etc?
Thanks in advance.

Scott Henion <s...@shdesigns.org> wrote:
At 01:32 AM 3/7/2005, you wrote:
>While DC compiles the code, in realtek.lib it always
>raises a warning that it can not understand the the
>board type . In DC define target configuration I have
>tried to define the configuration of the board .But
>still there is no change .But from DC7.25P if the
>program is downloaded then every thing works fine .But
>moment i try downloading  with RFU nothing works as
>explained above .You need to set the "Define target Configuration". It is compiling for the
wrong board when you generate a .bin file.

<Scott>

------
| Scott G. Henion| s...@shdesigns.org |
|   Consultant   |   Stone Mountain, GA  |
|   SHDesigns    |   PGP Key 0xE98DDC48  |
|     http://www.shdesigns.org/rabbit/   |
------


__________________________________________________

On Mar 7, 2005, at 1:47 AM, Adrian Mojoatca wrote:
> By the way, does anybody know, how really RFU works? I saw that it
> proceeds the following steps:

I believe you can license the RFU source from Rabbit Semiconductor in
exchange for a non-disclosure and a fee.

--
Tom Collins - tom@tom@...
QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet:
sniffter.com


A few questions--
    (1) Are you aware that RFU doesn't restart the board after download; you must remove the cable and cycle power?
    (2) Do you have "include bios" enabled?
    (3) Have you tried a binary file using "Compile to bin file using defined target configuration"
    (4) Are you compiling to flash, not RAM?
 
-----Original Message-----
From: INDRANUJ HALDAR [mailto:i...@yahoo.com]
Sent: Sunday, March 06, 2005 11:33 PM
To: r...@yahoogroups.com
Subject: [rabbit-semi] Problem with RFU download : Please help



Hi all,
        I am using rabbit 2000 with 256 k flash and
512k ram with realtek chip (RTL8019AS) for ethernet
adaptar .
There is no specific module with this configuration
with Z WORLD .
1. If I compile the code in debug mode and download in
flash through Dynamic C 7.25P it works fine .
      
2. If i compile in nodebug mode and download the code
into flash through Dynamic C 7.25P then also I find no
problem .

3. But if I compile the code and take the .bin file to
download through RFU it does not work . It goes and
stands over there . Specifically the network (ethernet
link)does not come steady .

While DC compiles the code, in realtek.lib it always
raises a warning that it can not understand the the
board type . In DC define target configuration I have
tried to define the configuration of the board .But
still there is no change .But from DC7.25P if the
program is downloaded then every thing works fine .But
moment i try downloading  with RFU nothing works as
explained above .

  It seems that  RFU is not downloading a part of the
code .

  I will be highly thankful if somebody helps me out
of this problem . I am completely stuck with RFU .
  Please reply ASAP. 

Rgds,

Indranuj Haldar
Embedded Design Engineer.
Synectic Telecom Exports Pvt. Ltd.
196,1st Main ,3rd Stage,4th Block
Basaveshwar Nagar ,Bangalore 560 079,India
Tel:+91-80-23585920-Ext-309
Emai: i...@synectictelecom.com
www.synectix.net     
           
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/