Skip to main content
Visitor II
June 1, 2022
Question

B-L475E-IOT01A is not able to enumerate as USB DFU class.

  • June 1, 2022
  • 13 replies
  • 2441 views

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 ?

    This topic has been closed for replies.

    13 replies

    Visitor II
    June 15, 2022

    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).

    0693W00000NrvDjQAJ.png 

    Anyone has idea for this ? I have been stuck for this since long. Any help would be great.

    @Imen DAHMEN​  can you please ?

    Technical Moderator
    June 16, 2022

    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:

    1. How to Modify USB DFU firmware examples to work with STM32CubeProgrammer

    Hope my answer helps you!

    Imen

    Visitor II
    June 17, 2022

    Thanks @Imen DAHMEN​  I am not using HSE.

    0693W00000Ns7hXQAR.png