cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103 - RDP with programming

zexx86
Associate II
Posted on May 10, 2014 at 17:58

Hello

I am searching for the way how to protect my chip. It should:

- protect flash memory from reading in all cases, even if somebody flashes his own firmware.

- allow to upload new firmware with stock bootloader (usart) - only XX pages are erased/replaced.

- allow to read/write flash only from my firmware.

I need to protect especially one flash page, other pages are irelevant.

Do you think it is even possible with RDP or different technique?

Thank you very much

#flash-protection
2 REPLIES 2
Posted on May 10, 2014 at 18:10

- protect flash memory from reading in all cases, even if somebody flashes his own firmware.

How would that work? Even with RDP the code running in flash can read the entire memory space. You can't get the level of partitioning you seek.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
zexx86
Associate II
Posted on May 11, 2014 at 00:21

Well, that is unclear to me too but I know it could be used as attack.

Simply I need to protect one page of memory from reading. It should be accessible only from my (trusted) firmware.