AnsweredAssumed Answered

DFU Problem with STM32L0 73 on chip usb bootloader and STM32cubeProgrammer

Question asked by Alexander Wolf on Mar 4, 2018
Latest reply on Mar 8, 2018 by Alexander Wolf

I can connect a STM32L073 via USB in in DFU mode to STM32CubeProgrammer but i can not programm the uController. Reading device Memory and option bytes work, but programming does not. What I do is:

  1.       Select a Hex file

  2.       Enable verify

  3.       Verbosity level to 3

  4.       Start Programming

Now I got Verification Error and erasing sectors does not work. See end of this post or Please See Output Log file. It shows up like the programm has been updated, but it was not. There is still the old programm starting.

Option Bytes shows that there is no write protection enabled.

It should not be that difficult !?

 

Please STM team, could someone of your dev team grab a STM32L073 Nucleo board and try to program it via USB DFU and post a step by step solution?

 

 

STM32CubeProgrammer Output:

08:06:13 : data: 210000f81f
08:06:13 : Memory Programming ...
08:06:13 : Openeing and parsing file: C:\Users\Alexander Wolf\Documents\PROJEKTE\210 EOS\2 PROGRAMMING\eos 009 - 5\Debug\EOS_009_5.hex
08:06:13 :   File          : C:\Users\Alexander Wolf\Documents\PROJEKTE\210 EOS\2 PROGRAMMING\eos 009 - 5\Debug\EOS_009_5.hex
08:06:13 :   Size          : 66748 Bytes
08:06:13 :   Address       : 0x08000000
08:06:13 : Erasing Segment <0> Address <0x08000000> Size <66748>Bytes
08:06:13 : Erasing memory corresponding to segment 0:
08:06:13 : Erasing internal memory sectors [0 521]
08:06:13 : sector 0000 does not exist
08:06:13 : sector 0001 does not exist
08:06:13 : sector 0002 does not exist
08:06:13 : sector 0003 does not exist

.....

08:06:13 : sector 0520 does not exist
08:06:13 : sector 0521 does not exist
08:06:13 : erase: 0003ms
08:06:13 : Download in Progress:
08:06:13 : data: 2100000008
08:06:13 : data: 005000208dc30008ddc30008ddc

....

08:06:14 : File download complete
08:06:14 : Time elapsed during the download operation is: 00:00:00.177
08:06:14 : VERIFYING ...
08:06:14 : data: 2100000008
08:06:14 : data: 0050002029c3000879

...

08:06:14 : Error: Verification issue at address  0x08000004 (byte = 0x29)
08:06:14 : Error: Download verification failed

 

 

Attachments

Outcomes