Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



New!

Thinking MCU? Think TI
Visit the new
TI MCU resource center for the latest videos and documents to help support your design efforts.

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | Rabbit-Semi | retrieve program from board

This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions, flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.

retrieve program from board - frank_lussier - May 28 17:46:59 2009

Hi
I have a BL2600 board with a program I install on it 2 years a go, I add to reformat my computer and I lost the program I made, is it possible to retrieve the program from the board.

Thanks
Frank

------------------------------------

______________________________
Have a look at the new TI MCU Center on EmbeddedRelated.com!


(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )


Re: retrieve program from board - Scott Henion - May 28 18:18:46 2009

frank_lussier wrote:
> Hi
> I have a BL2600 board with a program I install on it 2 years a go, I add to reformat my computer and I lost the program I made, is it possible to retrieve the program from the board.
>
> Thanks
> Frank
>

You can retrieve an image of the flash:

http://shdesigns.org/tips/readflash.shtml
--
------------------------------------------
| Scott G. Henion| s...@shdesigns.org |
| Consultant | Stone Mountain, GA |
| SHDesigns http://www.shdesigns.org |
------------------------------------------

today's fortune
I just remembered something about a TOAD!

------------------------------------

______________________________
Have a look at the new TI MCU Center on EmbeddedRelated.com!


(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: retrieve program from board - eilidhs_daddy - May 29 4:11:41 2009

--- In r...@yahoogroups.com, "frank_lussier" wrote:
>
> Hi
> I have a BL2600 board with a program I install on it 2 years a go, I add to reformat my computer and I lost the program I made, is it possible to retrieve the program from the board.
>
> Thanks
> Frank
>

There is no way to recover the source code, as all that is sent to the board itself is the compiled and linked code, which is basically machine code and data.

You can use Scott Henion's nice little utilities to recover a copy of the image of the flash, but you'd need to be very good at Rabbit Disassembly to make any use of the image. It'll be a mixture of your code and library code, and the functions will be in a different order than they were in your source!

You can also use the rabbit clone board to copy the programming from one board to another.

------------------------------------

______________________________
TI's C2000™ microcontrollers controlSUITE™ Desktop gives you instant access to all supporting software libraries, training, collateral, and more!


(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: retrieve program from board - frank_lussier - May 29 20:44:37 2009

Hi Scott
I try to compile the program and got this error.
Is this a error in the program or the board is compilable.

Frank

line 1 : ERROR SETFLASHCS.C : Missing character ';'.

line 3 : ERROR SETFLASHCS.C : Unmatched '{'.

line 11 : ERROR SETFLASHCS.C : Unmatched '('.

line 13 : ERROR SETFLASHCS.C : Multi-line ANSI string concatenation is not supported.

line 18 : WARNING SETFLASHCS.C : Insufficient arguments.

line 18 : ERROR SETFLASHCS.C : '}' doesn't match open token on line 12.

--- In r...@yahoogroups.com, Scott Henion wrote:
>
> frank_lussier wrote:
> > Hi
> > I have a BL2600 board with a program I install on it 2 years a go, I add to reformat my computer and I lost the program I made, is it possible to retrieve the program from the board.
> >
> > Thanks
> > Frank
> >
>
> You can retrieve an image of the flash:
>
> http://shdesigns.org/tips/readflash.shtml
> --
> ------------------------------------------
> | Scott G. Henion| shenion@... |
> | Consultant | Stone Mountain, GA |
> | SHDesigns http://www.shdesigns.org |
> ------------------------------------------
>
> today's fortune
> I just remembered something about a TOAD!
>

------------------------------------

______________________________
TI's C2000™ microcontrollers controlSUITE™ Desktop gives you instant access to all supporting software libraries, training, collateral, and more!


(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: Re: retrieve program from board - Scott Henion - May 29 21:05:24 2009

frank_lussier wrote:
> Hi Scott
> I try to compile the program and got this error.
> Is this a error in the program or the board is compilable.
>
> Frank
>
> line 1 : ERROR SETFLASHCS.C : Missing character ';'.
>
> line 3 : ERROR SETFLASHCS.C : Unmatched '{'.
>
> line 11 : ERROR SETFLASHCS.C : Unmatched '('.
>
> line 13 : ERROR SETFLASHCS.C : Multi-line ANSI string concatenation is not supported.
>
> line 18 : WARNING SETFLASHCS.C : Insufficient arguments.
>
> line 18 : ERROR SETFLASHCS.C : '}' doesn't match open token on line 12.
>
Hmm, don't know how the file got screwed up. Fixed file now on web site.

If IE still loads the old one (IE is bad about this), then use:

http://shdesigns.dyndns.org/files/hex2bin.zip

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

today's fortune
3) I don't sign parts of the body, even if they're still attached.
-- From Terry's Rules of Book Signing
(Terry Pratchett, alt.fan.pratchett)

------------------------------------

______________________________
Have a look at the new TI MCU Center on EmbeddedRelated.com!


(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: retrieve program from board - frank_lussier - May 29 22:27:02 2009

Thanks for the help guys.

In r...@yahoogroups.com, "eilidhs_daddy" wrote:
>
> --- In r...@yahoogroups.com, "frank_lussier" wrote:
> >
> > Hi
> > I have a BL2600 board with a program I install on it 2 years a go, I add to reformat my computer and I lost the program I made, is it possible to retrieve the program from the board.
> >
> > Thanks
> > Frank
> > There is no way to recover the source code, as all that is sent to the board itself is the compiled and linked code, which is basically machine code and data.
>
> You can use Scott Henion's nice little utilities to recover a copy of the image of the flash, but you'd need to be very good at Rabbit Disassembly to make any use of the image. It'll be a mixture of your code and library code, and the functions will be in a different order than they were in your source!
>
> You can also use the rabbit clone board to copy the programming from one board to another.
>

------------------------------------

______________________________
TI's C2000™ microcontrollers controlSUITE™ Desktop gives you instant access to all supporting software libraries, training, collateral, and more!


(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )