cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to write in bootloader addreess?

Arman Ilmak
Senior
 
5 REPLIES 5
AvaTar
Lead

What bootloader addresses ?

For the system BL, no. And that's a good thing.

User should expect it to act like ROM, expect it will Hard Fault if you attempt.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Which part is writable?

I want to change the start address of the main code and no one else can figure out the start address by reading the flash.How can I do such a thing?

The boot loader doesn't determine that. Assume your actual adversaries understand the platform/technologies better than you, they have more time and more resources. Figure you are matching wits with Einstein or Tesla, or both at once.

If the micro-controller can figure it out how hard can it be for anyone else?

Are you talking about your own loader, or the system loader (BOOT0=High)?

The memory at 0x1FFxxxxx other than the options and OTP is generally not writable.

On the H7 I think you can specify a start block for the vector table, but not sure how useful that is.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..