2025-08-04 7:32 AM
Hello.. I'm designing a project using STM32F767 that upgrades firmware using USB Host 2.0. Could anyone advise on the following:
1. any application notes regarding the hardware pin connection, schematic diagram or any EVK board?
2. should i use USB_OTG_HS_DP, USB_OTG_HS_DM, USB_OTG_HS_VBus?
3. Should i use the 4 wire USB female connector? with these pins VCC, D+, D- , Gnd? Please advise soon, thx
woldes
2025-08-04 7:55 AM
Firmware Update using USB Pen drive
As far as the USB Host goes, the fact that you're doing firmware update would be irrelevant - you're just pulling data from the inserted device.
On the Product Page for your chosen STM32F767, go to the 'Tools & Software' tab to find recommended dev boards.
AN4879: Introduction to USB hardware and PCB guidelines using STM32 MCUs
AN4661: Getting started with STM32F7 Series MCU hardware development
2025-08-04 8:04 AM
hello Andrew...
2025-08-04 8:07 AM
Can anyone kindly advise?
2025-08-04 8:16 AM
That's DFU - which is device-side.
Or are you saying that you want your STM32F767 to be able to update a device that's plugged into it?
ie, update from the STM32F767 Host to a device plugged into it?
2025-08-04 10:21 PM
HI Andrew, i m using the USB DFU to upload, upgrade firmware (say a newer code, version 2, 3, 4...) into the F767 MCU..
2025-08-05 1:32 AM
In that case, the F767 needs to be a Device - not a Host.
AN2606, Introduction to system memory boot mode on STM32 MCUs
AN3156, USB DFU protocol used in the STM32 bootloader
2025-08-05 3:26 AM
This is an example firmware of DFU application on F746. It should be the same implementation as Nucleo F767.
Maybe this application note could be helpful as well.
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.