AnsweredAssumed Answered

How to work with USB DFU bootloader without using VBUS and ID ilne for STM32F4xx ?

Question asked by TRIVEDI.RUTVIJ on Jan 21, 2016
Latest reply on Dec 19, 2016 by shingadaddy
Hello all,
I need your help as i am working on a MCU STM32f439ZI and IAR IDE 7.40,and working on a USB OTG boot loader downloaded from below link.


i have tested this boot loader with STM32F407 discovery board which is working perfectly fine.

but this same boot loader is not work with my custom board,

From the schematic of discovery board it can be seen that PA9 pin is needed for VBUS supply,which is being trigger by PC0 using switching mechanism.

Now in my case the PA9 pin is connected with other interface and i amusing external (5 v) supply (using PC and made common ground with mycustom board) also ID pin is not connected anywhere.

I also refereed the datasheets and tried to with OTG_FS_GCCFG 's "NOVBUSSENS" bit but it dose not recognize the USB connect/disconnect even i tried to remove those functionalities (which detects USB plugin events)as i found that connection/disconnected event can be recognized by VBUS's status, but though it dose not functioning .

So now my quires are as per below,

1) Do i compulsorily need to have a switch connected to supply VBUS from PA0/PB13 (as per data sheet) ?

2) Is NOVBUSSENS work in this scenario or is there any other way to function this above boot loader without PA9 and VBUS connection ?

3) If above is true then is there any guidance or document available ?

Please let me know if i can provide more details.
Any help on this would be great appreciable.

Thanks & Regards,