Topic : Unable to program Flash with STR9_pgm.exe

Forum : ARM

Original Post
Post Information Post
November 19, 2009 - 3:01pm
Guest

Hiya,
I am creating a programmer station and I need to program my ARM STR912FZ47 CPU.
I need to do this via the application STR9_pgm.exe.
When I use the RFlasher I load the file I need to download on the Flash and select the processor name and Press "Program".
This works with no problems what so ever. I can also "erase", "blank check" and "verify" without issues.

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
*Copyright (c) 2006 Raisonance S.A.S.

*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.
A blank check confirms this:

*C:\Program Files\Raisonance\Ride\Bin>str9_pgm.exe C

*STR9_pgm: command-line programming tool for STR9
*Copyright (c) 2006 Raisonance S.A.S.

*Opening com with RLink...OK.

*Selecting sectors, Main Flash, Secondary Flash, UserCode, Configuration...OK.

*Performing Check...OK.
* Part is NOT Secured. Result of Blank-Check:
* Part IS blank.

*Closing COM...OK.

So what am I doing wrong?

Replies
Post Information Post
+1
0
-1
November 19, 2009 - 4:31pm
Raisonance Support Team

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

+1
0
-1
November 19, 2009 - 4:57pm
Guest

Thanks a bundle Vincent, that worked like a charm!
And thank you for the fast reply.

Kind regards
BDM