cancel
Showing results for 
Search instead for 
Did you mean: 

Command line Flash Loader for STM32L052

Posted on March 18, 2016 at 16:22

I have successfuly tested STM32Flash Loader Demo (GUI, V2.8.0) for my STM32L052 application.

Unfortunatelly, the comand line application STMFlashLoader.exe (from the same installation) that I want to pass to my ''client'' reports that this version does not support the selected chip (named STM32L0_x3_x2_x1_64K as shown in GUI).

Is there any workaround?

Ivan
4 REPLIES 4
Walid FTITI_O
Senior II
Posted on March 22, 2016 at 18:21

Hi dolezal.ivan,

Can you give more details about your hardware environment ( board/ connections..) ?

Otherwise, you should Ensure that you have selected the right COM and the selected ''Even'' as parity.

-Hannibal-

Posted on March 22, 2016 at 21:36

Thank you for response.

I have used TestUpload.bat

STMFlashLoader.exe -c --pn %1 --br 57600 ^
-i STM32L0_x3_x2_x1_64K ^
-u --fn %2.hex

as

TestUpload 5 mycode

having my USB/RS485 adapter as Virtual COM5. I have my own custom board with RS485 driver on UART1. I remind you that Flash Loader GUI version works with this hardware. Ivan
Walid FTITI_O
Senior II
Posted on March 23, 2016 at 18:18

Hi dolezal.ivan,

Our boot loader support the fullduplex with RS232. So, you are then in a safe zone. It's mentioned in the flash loader demonstrator's User manual

http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/CD00171488.pdf

.

For the use of RS485 , it may require further workaround that depends on the both HW dependencies and SW tool.

-Hannibal-
Posted on April 05, 2016 at 11:17

Hello, Hannibal.

I have a fast automatic hardware switching of TX/RX on the both sides of RS485 (in the driver connected to the uC and in a FTDI chip in USB/RS485 adapter) - that is why the bootloader works fine at least in the GUI version.

The issue origin must come from the Command Line version.

Ivan