cancel
Showing results for 
Search instead for 
Did you mean: 

Read protection with over-the-air updates?

cns1307
Associate II
Posted on October 14, 2014 at 17:39

I am trying to figure out a way to secure a small section of user data on the STM32F437, and keep it in place during reflashing the device. 

I ideally want to be able to make it so this data is read protected, but the whole device must be able to be updated through a wireless module I have attached to the processor without losing this one particular block of data.

Is there any way to achieve this without an external chip to secure the data?

#security-read-protection
2 REPLIES 2
chen
Associate II
Posted on October 14, 2014 at 17:46

Hi

''I ideally want to be able to make it so this data is read protected, but the whole device must be able to be updated''

Do you mean 'read' or 'write' protected?

The STM32F4 series can do both :

Read protect stops reading the binary out of the device after it has been programed. It to stop people cloning (or reverse engineering) your software.

Write protect stops accidental erasing and writing over sectors in the STM32 Flash.

Both are set/configured through the 'Option bytes'

Posted on October 14, 2014 at 18:12

There's Backup RAM and OTP

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