B-L475E-IOT01A is not able to enumerate as USB DFU class.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-01 5:05 AM
I am using B-L475E-IOT01A (STM32L475VGTx) dev kit and this article for DFU and I am getting following issue.
- device is not able to enumerate as USB DFU class on my windows 10 PC
I am using flash decription as show in the tutorial.
#define FLASH_DESC_STR "@Internal Flash /0x08000000/02*016Ka,02*016Kg,01*064Kg,03*128Kg"
For replacing flash mem read,write api I have taken a reference from STM32L476G-EVAL DFU_Standalone example.
- bootloader code is not able jump to app location.
In my driver SCB->VTOR is not set so not changed app start location.
Can anyone please suggest what could be the reason for this ?
- Labels:
-
Bootloader
-
STM32L4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-10 3:55 AM
I have tried to use STM32Cube Programmer instead DfuSe Tool but it has some other issue.
Reading operation failed.
Can anyone help me with any of these tool DfuSe or STM32CubeProgrammer ?
@Imen DAHMEN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-15 2:49 AM
I have further debugged this.
I have found that tool sends request for get status to device.
At that time USBD is in configured state. And DFU state is busy(4 as shown in screen shot).
Anyone has idea for this ? I have been stuck for this since long. Any help would be great.
@Imen DAHMEN can you please ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-16 4:02 AM
Hi @Keyur Thumar ,
Maybe the problem here is caused by the HSE crystal. I recommend you these FAQs that may help you on your issue:
- DFU mode with system bootloader is not working, while USB does
- How can I use STM32CubeProgrammer to access the USB-DFU bootloader on my STM32 board?
Hope my answer helps you!
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-17 6:29 AM
Thanks @Imen DAHMEN I am not using HSE.

- « Previous
-
- 1
- 2
- Next »