cancel
Showing results for 
Search instead for 
Did you mean: 

DfuSe Problem with STM32L0 73 on chip usb bootloader

max239955_stm1
Associate
Posted on September 22, 2016 at 18:53

Hi,

I have a Problem with the DfuSe Demo (v3.05) and the STM32L073CZT  on chip bootloader.

It is not possible to upload or down Load from/to the InternalFlash.

Downloading or Uploading the DATA Memory is possible.

I have tried it with our own borad and a nucleo board both the same problem!

Does

anyone knows what the problem is?

Is it a Problem from the STM32L073CZT  chip or from the DfuSe Software?

0690X00000604i2QAA.png

The X for Readable Writeable and Eraseable are missing for flash memory (we have no protection activated ).

 

0690X00000604vUQAQ.png

edit(26.09.16):

today i tested it with the DFU Tester (v3.0.1).

there the Flash is also shown as not readable writeable.

but it is possible to write or erase the Flash, also leave dfu mode works.

#!dfuse-!stm32l0-!usb-!bootloader
8 REPLIES 8
Walid FTITI_O
Senior II
Posted on September 26, 2016 at 16:57

Hi max,

What is the status of boot pins ? IS the BFB2 (bit 23 in FLASH_OPTR register) set or reset ?

-Hannibal-
max239955_stm1
Associate
Posted on September 26, 2016 at 20:23

Hi Hannibal,

the boot pin s are so configured that the SMT boots from System mem. (nboot1 is checked (standard (

factory

) config ) and boot0 pin is connected to Vdd ).

the BFB 2 bit is in standard (

factory

) config (because i am currently not at work i can?t say it

exactly but i think it is checked

) .

(we would have connected Boot0 to vss but the left tree form fig.49 form AN2606 won?t work it never end in the bootloader. so we have connected boot0 to vdd and I hope we can kill the repeatedly starting bootloader by enabling Protection Level 2)

0690X00000604veQAA.png

darko23
Associate
Posted on October 23, 2016 at 21:50

Hi,

We use DfuSe Demo 3.0.5, and have same problem with STM32L073CZ. When click to ''Upgrade'' button PC app very quickly (around 3 seconds) do programming and say that all Ok. But after click on ''Leave DFU mode'' don't work. See picture. STM32 is stay in DFU mode.

0690X00000602dEQAQ.jpg

We try old (but in new archive with DfuSE Demo 3.0.5) STDFUTester.exe and it show all that work (erase, donwnload, leave Dfu mode) but nothing is changed. We try old drivers, and new drivers 3.0.5 for STM32 DFU Bootloader device.

Also, try command line utils, same is happened.

Do you resolve this issue, and how?

Best regards,

Darko

________________

Attachments :

Picture1.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtkA&d=%2Fa%2F0X0000000aWS%2F._QWz16a1GIL28G18UQnMYswICarkmPLWVO9HFXiOIQ&asPdf=false
valentinasp
Associate
Posted on October 31, 2016 at 21:45

Hi, I have the same problem. Maybe somebody knows how to solve it?

stefanhagenbuch9
Associate
Posted on June 16, 2017 at 15:07

Hi all

We have exactly the same two problems with STM32L083KZT6. Is there any chance to solve that issue (programming STM32L083 via Windows dfu).

Many thanks

Steve

feuerwolf
Senior
Posted on February 26, 2018 at 16:43

Pushing this up, because i have the same problem on STM32L073

Posted on February 26, 2018 at 16:55

There were some .HEX alignment issues (mostly GNU related), but don't think we've seen an update for L0 and L4.

DAHMEN.IMEN

st.mcu

‌ please see if something newer than 3.05 is available in this stand-alone form (not All-In-One)

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on February 27, 2018 at 11:24

Hello,

Our recommendation is to use

http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stm32cubeprog.html

(STM32CubeProgrammer software for programming STM32 products).

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.