Forum : ARM
Post Information | Post |
---|---|
November 19, 2009 - 3:01pm
|
Hiya, Screenshots of my RFlasher7 Setup: http://img213.imageshack.us/img213/3466/rflasher7.jpg http://img38.imageshack.us/img38/9890/str9options.jpg But when I use the STR9_pgm.exe - application VERBATIM FROM THE COMMAND PROMPT: *C:\Program Files\Raisonance\Ride\Bin>str9_pgm.exe P RCP.bin R=9 *STR9_pgm: command-line programming tool for STR9 *Opening com with RLink...OK. *Selecting sectors, Main Flash, Configuration...OK. *Programming RCP.bin...OK. *Closing COM...OK. In other words it says it has succeeded in programming the flash but the software is NOT downloaded. *C:\Program Files\Raisonance\Ride\Bin>str9_pgm.exe C *STR9_pgm: command-line programming tool for STR9 *Opening com with RLink...OK. *Selecting sectors, Main Flash, Secondary Flash, UserCode, Configuration...OK. *Performing Check...OK. *Closing COM...OK. So what am I doing wrong? |
Hi,
STR9_pgm cannot program .bin files.
It only works with .osf files, generated either by CAPS or by STR9_pgm itself.
Most bin files are seen as empty when read as an osf file, which explains why programming it succeeds by doing nothing.
Seeing you managed to program using RFlasher, I suggest you follow this procedure:
1. Program your application in one device using RFlasher, Verify it and check that it executes as expected.
2. Use command 'D' of STR9_pgm to dump your application to an osf file. (not only the Flash content, but also the Configuration and maybe the rest too)
3. Use this osf file to program all the other devices using command 'P' of STR9_pgm. (verify and check exec at least on a few of the first ones)
Or use CAPS to generate an osf file right from the start.
Best Regards,
Vincent
Thanks a bundle Vincent, that worked like a charm!
And thank you for the fast reply.
Kind regards
BDM