Writing Key in OP Byte
Hello Team,
I want to store encryption Key - 4 byte into Option Byte OR any other memory Except in-built Flash Memory.
Is it possible to write in Option Memory ?
If not what could be the other option ?
Hello Team,
I want to store encryption Key - 4 byte into Option Byte OR any other memory Except in-built Flash Memory.
Is it possible to write in Option Memory ?
If not what could be the other option ?
@bsuthar wrote:
Can we Program those bytes with Cube Programmer and Read using Firmware code ?
I am using RDP1 after Flashing Firmware.
This is what the reference manual is saying. It's accessible over this address: 0x1FFF F804

But it can contain only two bytes and their opposite (Datax and nDatax) and you need 4-bytes storage!
In the CubeProgrammer I've written 0x12 in Data0, 0x78 in Data1:

Read in software:
key = *(uint32_t*)0x1FFFF804;
key contains 0x8778ED12
ED the bitwise inversion of 12 and 87 is the bitwite inserion of 78.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.