Skip to main content
Rsukh.1
Associate II
January 6, 2022
Question

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

..

This topic has been closed for replies.

4 replies

Peter BENSCH
ST Technical Moderator
January 6, 2022

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.
Rsukh.1
Rsukh.1Author
Associate II
January 7, 2022
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
MM..1
Super User
January 6, 2022

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.

Rsukh.1
Rsukh.1Author
Associate II
January 7, 2022
Hi MM..1,
Thank you for your reply. Will get back to you on this.
Thanks & Regards,
Shekhar.S