STM32F4 build in bootloader
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-11-17 1:49 AM
Posted on November 17, 2015 at 10:49
Hello there,
I am working on an application now where I have to be able to reprogram the chip memory from a connected PC (most likelly USB). I have read that there are BOOT0 and BOOT1 lines which allows one to jump to the hardware serial bootloader (I am not sure if USB works too?). The problem is I wont be able to phisically short/ pull them by only having usb connection. I was wondering, can I set the BOOT1/0 registers by software, so I can restart the mcu and boot it into hardware bootloader only by using USB connection?
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-11-17 2:41 AM
Posted on November 17, 2015 at 11:41
Hi Bremen,
In order to be able to reprogram the chip memory from a connected PC, I recommend you review the example STM32Cube_FW_F4_V1.9.0\Projects\STM324xG_EVAL\Applications\USB_Device\DFU_Standalone. It describes how to use USB device application based on the Device Firmware Upgrade (DFU) on the STM32F4xx devices.As recommended in the readme file, the DFU demo can be downloaded fromhttp://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1533/PF257916
.It is possible to bypass the BOOT pins and use software configuration to select the memory accessible at address 0x00000000: you have to use SYSCFG_MEMRMP for this purpose (Refer to RM0090).-Mayla-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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-11-17 2:49 AM
Posted on November 17, 2015 at 11:49
Thank you :).
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-11-17 4:47 AM
Posted on November 17, 2015 at 13:47
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
