cancel
Showing results for 
Search instead for 
Did you mean: 

Secure st25dv04k from RF write

POrlo.2
Associate II

How to secure st25dv04k from data overwriting by an RF device?

1 ACCEPTED SOLUTION

Accepted Solutions
JL. Lebon
ST Employee

Hello,

You can protect memory areas in read and/or write.
Protection can be either temporarily disabled by a password presentation or permanent.

To enable the data protection for a memory area, you have 4 configuration Bytes (one per possible memory area): RFA1SS, RFA2SS, RFA3SS and RFA4SS. Please refer to the chapter "5.6 Data protection" of the datasheet for the description of those configuration bytes.

You may also want to configure the memory in several areas. Each area can be individually protected. By default (factory setting), there is only one area, occupying the full memory.

Typically, if you want to protect the write access of this area (area1), you would write RFA1SS=05h. This would protect your area1 (full memory by default) in write, with password 1. In order to write into area1, you would then have to present the password 1 first (Present Password command), otherwise write would fail. Password 1 is be default all 00, but you can change it with a Write Password command.

Best regards.

View solution in original post

1 REPLY 1
JL. Lebon
ST Employee

Hello,

You can protect memory areas in read and/or write.
Protection can be either temporarily disabled by a password presentation or permanent.

To enable the data protection for a memory area, you have 4 configuration Bytes (one per possible memory area): RFA1SS, RFA2SS, RFA3SS and RFA4SS. Please refer to the chapter "5.6 Data protection" of the datasheet for the description of those configuration bytes.

You may also want to configure the memory in several areas. Each area can be individually protected. By default (factory setting), there is only one area, occupying the full memory.

Typically, if you want to protect the write access of this area (area1), you would write RFA1SS=05h. This would protect your area1 (full memory by default) in write, with password 1. In order to write into area1, you would then have to present the password 1 first (Present Password command), otherwise write would fail. Password 1 is be default all 00, but you can change it with a Write Password command.

Best regards.