2011-05-29 05:02 AM
Hi,
I need to add a decryption mechanism to the bootloader firmware. 1. Is it possible to wirte a new bootloader firmware to ''system memory'' adreess 0x1FFF F000 - 0x1FFF F7FF (instead of the existing one)? 2. Can i get the bootloader firmware wich ST deliver (my micro is STM32F100RB)? or should i rewrite a new one? Thanks. #bootloader #bootloader2011-05-29 06:52 PM
It's in ROM so it might be a tad hard to rewrite/replace, and it's pretty tightly packed in 2KB. I have an annotated listing of the 103 boot rom. The Readout Protection is enforced, so your code is protected from your casual user.
As I recall some of the ST DFU loaders use AES My general recommendation would be to write something simple, based on the XMODEM, or family of protocols. Simple and robust. Not sure what encryption you have in mind, or if it is worth the effort. Without a strong end-to-end chain of protection, most of these things are breakable, or built broken. What's to stop someone extracting firmware from the die?2011-05-30 05:31 AM
2011-05-30 05:33 AM
Can you share with me (us) the boot rom annotated listing that you have (to be used as a reference)?
2011-05-31 06:15 AM