cancel
Showing results for 
Search instead for 
Did you mean: 

USB bootloaser does not work

DmtryVovk
Associate II
Posted on July 17, 2016 at 12:48

So, hello everyone. I have a problem with starting bootloader using USB cable.

I think i did all conditions to provide this mode. 

NUCLEO F070RB. Win10, Win7

HSE(crystall) 12 MHz works fine in Led-blink project. BOOT0=1, nBOOT1=1(Checked).

Windows have no any reaction after connecting USB (D+, D-, GND)!

If i add pull-up resistor on D+ or D-, windows can see ''Unknown device'' with wrong descriptor. 

Please halp me!

#dfu #usb #bootloader
24 REPLIES 24
Posted on July 17, 2016 at 18:46

http://www.st.com/content/ccc/resource/technical/document/datasheet/31/4f/10/5f/a5/32/46/42/DM00141386.pdf/files/DM00141386.pdf/jcr:content/translations/en.DM00141386.pdf

Is it supported?

3.3 Boot modes

At startup, the boot pin and boot selector option bit are used to select one of the three boot

options:

• Boot from User Flash

• Boot from System Memory

• Boot from embedded SRAM

The boot loader is located in System Memory. It is used to reprogram the Flash memory by using USART on pins PA14/PA15 or PA9/PA10.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
DmtryVovk
Associate II
Posted on July 17, 2016 at 19:36

Yes, it is supported. But i need USB , not USART. 

Posted on July 17, 2016 at 20:23

The documentation I cited says it doesn't, please provide a counter-cite indicating that this specific part# supports. Nucleo normally takes 8 MHz from ST-LINK

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
DmtryVovk
Associate II
Posted on July 17, 2016 at 22:13

/content/ccc/resource/technical/document/application_note/b9/9b/16/3a/12/1e/40/0c/CD001675pdf/files/CD001675pdf/jcr:content/translations/en.CD001675pdf

PAGE

DmtryVovk
Associate II
Posted on July 17, 2016 at 22:51

I have done USB-Virtual COM application. It works fine.

Please, help me to start DFU !

0690X0000060MoLQAU.gif, i disconnected ST-Link from main part NUCLEO, not physically, through deletionnull-resistors.

I not use MCO impulses, HSE 12 MHz only.

slimen
Senior
Posted on July 18, 2016 at 11:19

Hi,

Maybe you can try with

http://www.st.com/web/en/resource/technical/document/application_note/CD00264379.pdf

document ''USB DFU protocol used in the STM32 bootloader''.

You can find this manual UM0391 - DfuSe File Format Specification: 

http://rc.fdr.hu/UM0391.pdf

Regards

DmtryVovk
Associate II
Posted on July 18, 2016 at 11:59

0690X0000060MoMQAU.gif, thanks , but i cant begin to write my aplication or use DfuSeDemo.

DmtryVovk
Associate II
Posted on July 18, 2016 at 14:35

Please, if someone has the NUCLEO , try to use usb bootloader!

Posted on July 18, 2016 at 22:20

How quickly does the 12MHz source start?

Could you have tried USB connectivity with the 8MHz originally provided?

Are you sure of the USB connection wiring/integrity?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..