2016-03-18 08:22 AM
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? Ivan2016-03-22 10:21 AM
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-2016-03-22 01:36 PM
Thank you for response.
I have used TestUpload.batSTMFlashLoader.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
2016-03-23 10:18 AM
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 manualhttp://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-2016-04-05 02:17 AM
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