Topic : HEX file programming STM32 Rlink

Forum : ARM

Original Post
Post Information Post
May 7, 2008 - 11:57am
Guest

what is the best way to program STM32 in production ?

I suggest to use JTAG and RLINK and a batch file somehow,
any examples about how to do this ?

I dont like production people to use RIDE or similar,
they can handle execution of a prog.bat and that is it,
I like to keep it simple, awoid errors.

Replies
Post Information Post
+1
0
-1
May 7, 2008 - 12:11pm
Guest

can RFlasher support STM32 ??
http://www.raisonance.com/products/RFlasher.php
cant see if that is possible on that link.
also can RFlasher run in called by batch file mode ?
or get locked to production people have only one button to press
for full, erase, program, verify, lock device, in one easy way. with nothing else to click.

+1
0
-1
May 7, 2008 - 4:28pm
Guest

Hi,

Here are some details about RFlasher.

RFlasher can be used to program STM32 just like other ST-ARM families (STR7x,STR9x) or ST7 and STM8 derivates.

Note that RFlasher7 is available since a few weeks only, and you need to download the latest update of RIDE7 (RIDE7 and ARM kits) for using it.
Before that, you had to use RFlasher6, which was part of RIDE6 and is no longer supported.

RFlasher has actually been designed for production purpose, for people who don't know C and/or don't have access to the firmware sources.
For that reason, to use RFlasher you only need to know the commands that you can see in the panel.
You have for instance the button "Configure" where you can choose the different actions that will be done From erasing,...programing, verify ..
You also have "Auto Mode" that enable to reproduce the same sequence of action (those selected before) as many time as you need with a simple click each time.
Refer to the "GettingStartedRFlasher" document for more information.

For using a batch file, you can call the programming executables, which are installed with RIDE7.
For STM32, you need to call "Cortex_pgm.exe". For STR7, you need to call "STR7_pgm.exe", etc.
Call the executables without argument and it will display its syntax.

Best Regards,

Matloub

+1
0
-1
May 14, 2008 - 4:53pm
Guest

thanks alot that works and is easy to use, the syntax Cortex_pgm.exe print out is also quite helpfull
we will soon purshase an extra lot of Rlinks for our production :-)

+1
0
-1
May 14, 2008 - 6:58pm
Raisonance Support Team

Hi,

Please just note that for now, it is not convenient to use several RLinks on the same PC.
It can be done but it requires some multi-process programming on your side.

So we recommend to have as many PCs as RLinks for multi-line production.

It is planned for us to implement a multi-RLink handling in the software, but I cannot tell when I will be able to do it.

Best Regards,

Vincent