cancel
Showing results for 
Search instead for 
Did you mean: 

When I connect CubeProgrammer in USB mode I am getting "Device Read Failed". Please suggest to overcome this issue.

Rsukh.1
Associate II
 
4 REPLIES 4
Peter BENSCH
ST Employee

The USB DFU boot mode is bound to a few requirements which you can read in the following application notes:

  • AN2606 STM32 microcontroller system memory boot mode
  • AN3156 USB DFU protocol used in the STM32 bootloader

Please check all requirements for your specific device, such as pins BOOT0 and BOOT1 if applicable, bootloader activation pattern, clock frequency incl. accuracy etc.

Regards

/Peter

In order 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.
MM..1
Chief II

Maybe you need explain how you connect and what.

USB mode is for system bootloader connection to MCU USB and activated bootloader.

When you use STLink need other setup.

Hi MM..1,
Thank you for your reply. Will get back to you on this.
Thanks & Regards,
Shekhar.S
Hi BENSCH,
Thank you for your reply.
Will look into the datasheets that you have shared and get back to you.
Thanks & Regards,
Shekhar.S