Skip to main content
cns1307
Associate
October 14, 2014
Question

Read protection with over-the-air updates?

  • October 14, 2014
  • 2 replies
  • 779 views
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
    This topic has been closed for replies.

    2 replies

    chen
    Associate II
    October 14, 2014
    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'

    Tesla DeLorean
    Guru
    October 14, 2014
    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 VenmoUp vote any posts that you find helpful, it shows what's working..