Skip to main content
zexx86
Associate III
May 10, 2014
Question

STM32F103 - RDP with programming

  • May 10, 2014
  • 2 replies
  • 539 views
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
This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
May 10, 2014
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 VenmoUp vote any posts that you find helpful, it shows what's working..
zexx86
zexx86Author
Associate III
May 10, 2014
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.