EmbeddedRelated.com
Forums

Write IDBlock

Started by tmies October 11, 2006
Hello,

I am trying to upgrade the core module in an OP7200 from an RCM2200 to
an RCM2250 (equiv to OP7200B). I have tried to write a new ID block
to the new core using the program provided by Rabbit (WriteIdBlock.c),
but am given the following errors.

write_idblock.c, version 2.06.

ID block successfully written.

Error -3 when reading ID block.

When I try to read the ID block out, it is blank now.

Any suggestions,
Thanks,
Tim
You probably use a DC version which supports ID blocks Version 5. I
think this is from 9.1 or so up (not sure).
The ID block functions are in IDBLOCK.LIB.
This lib is downward compatible. I.e. it can read ID block Version 4
modules. Only it can not write Version 4 blocks.

The writeidblock.c 2.06 you have downloaded from the Rabbit website
only supports Version 4.

I had the same problem. You need to call RabbitSemi and just ask for
the newest and latest writeidblock.c which does support Version 5
IDBlocks.

Problem is, there is no warning when you use 2.06. It just writes a
block with a wrong CRC, which results in the -3 error code.

Rudi
www.x-graph.be the next generation Rabbit SBC with (Color TFT) LCD

--- In r..., "tmies" wrote:
>
> Hello,
>
> I am trying to upgrade the core module in an OP7200 from an RCM2200 to
> an RCM2250 (equiv to OP7200B). I have tried to write a new ID block
> to the new core using the program provided by Rabbit (WriteIdBlock.c),
> but am given the following errors.
>
> write_idblock.c, version 2.06.
>
>
>
> ID block successfully written.
>
>
>
> Error -3 when reading ID block.
>
> When I try to read the ID block out, it is blank now.
>
> Any suggestions,
> Thanks,
> Tim
>
Thanks Rudi
Tim
At 01:42 PM 10/11/2006, you wrote:

>You probably use a DC version which supports ID blocks Version 5. I
>think this is from 9.1 or so up (not sure).
>The ID block functions are in IDBLOCK.LIB.
>This lib is downward compatible. I.e. it can read ID block Version 4
>modules. Only it can not write Version 4 blocks.
>
>The writeidblock.c 2.06 you have downloaded from the Rabbit website
>only supports Version 4.
>
>I had the same problem. You need to call RabbitSemi and just ask for
>the newest and latest writeidblock.c which does support Version 5
>IDBlocks.
>
>Problem is, there is no warning when you use 2.06. It just writes a
>block with a wrong CRC, which results in the -3 error code.
>
>Rudi
>www.x-graph.be the next generation Rabbit SBC with (Color TFT) LCD
>
>--- In
>r...,
>"tmies" wrote:
> >
> > Hello,
> >
> > I am trying to upgrade the core module in an OP7200 from an RCM2200 to
> > an RCM2250 (equiv to OP7200B). I have tried to write a new ID block
> > to the new core using the program provided by Rabbit (WriteIdBlock.c),
> > but am given the following errors.
> >
> > write_idblock.c, version 2.06.
> >
> >
> >
> > ID block successfully written.
> >
> >
> >
> > Error -3 when reading ID block.
> >
> > When I try to read the ID block out, it is blank now.
> >
> > Any suggestions,
> > Thanks,
> > Tim
> >

Timothy A. Mies
SoyFACE project
University of Illinois Urbana-Champaign
379 ERML MC-051
1201 W. Gregory Drive
Urbana, IL 61801

ph : 217.244.8610
fax: 217.333.4582
http://www.soyface.uiuc.edu