cancel
Showing results for 
Search instead for 
Did you mean: 

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

jeff.lee
Associate III

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

2 REPLIES 2

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
Up vote any posts that you find helpful, it shows what's working..
jeff.lee
Associate III

hello clive

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

thanks a lot ​