DFU Problem with STM32L0 73 on chip usb bootloader and STM32cubeProgrammer
- March 4, 2018
- 3 replies
- 1930 views
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:
Select a Hex file
Enable verify
Verbosity level to 3
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.hex08:06:13 : File : C:\Users\Alexander Wolf\Documents\PROJEKTE\210 EOS\2 PROGRAMMING\eos 009 - 5\Debug\EOS_009_5.hex08:06:13 : Size : 66748 Bytes08:06:13 : Address : 0x08000000 08:06:13 : Erasing Segment <0> Address <0x08000000> Size <66748>Bytes08:06:13 : Erasing memory corresponding to segment 0:08:06:13 : Erasing internal memory sectors [0 521]08:06:13 : sector 0000 does not exist08:06:13 : sector 0001 does not exist08:06:13 : sector 0002 does not exist08:06:13 : sector 0003 does not exist.....
08:06:13 : sector 0520 does not exist
08:06:13 : sector 0521 does not exist08:06:13 : erase: 0003ms08:06:13 : Download in Progress:08:06:13 : data: 210000000808:06:13 : data: 005000208dc30008ddc30008ddc....
08:06:14 : File download complete
08:06:14 : Time elapsed during the download operation is: 00:00:00.17708:06:14 : VERIFYING ...08:06:14 : data: 210000000808:06:14 : data: 0050002029c3000879...
08:06:14 : Error: Verification issue at address 0x08000004 (byte = 0x29)
08:06:14 : Error: Download verification failed
