Skip to main content
jeff.lee
Associate II
April 9, 2019
Question

can control boot0 pin in user firmware program ? or i want to goes to USB DFU bootloader by using firmware code.

  • April 9, 2019
  • 2 replies
  • 726 views

hello.

i want to USB DFU bootloader, however, i cannot control the boot0 pin high on my board.

so, i want to control boot0 pin in my main() function. it means that i want to goes to USB DFU bootloader by using firmware code.

is it possible?

please give me some information about it.

thanks a lot

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
April 9, 2019

You could likely remap ROM, and transfer control directly to entry point in ROM, see SP/PC from its vector table. Works for F2/F4 parts.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
jeff.lee
jeff.leeAuthor
Associate II
April 9, 2019

hello clive

it is my appreciated if you give me source code to me, or reference code.

thanks a lot ​