K82: SB key programming

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

K82: SB key programming

298 Views
EugeneHiihtaja
Senior Contributor I

Hello !

 

I'm not able to find FlashProgramOnce in latest SDK 2.5.x.

"

8.6 SB File Decryption Support

The SB key
begins at offset 0x30 in the program once registers.
For example, to program a key of 000102030405060708090A0B0C0D0E0F:
• FlashProgramOnce to index 0x30 with 4 bytes of 0x03020100
• FlashProgramOnce to index 0x31 with 4 bytes of 0x07060504
• FlashProgramOnce to index 0x32 with 4 bytes of 0x0B0A0908
• FlashProgramOnce to index 0x33 with 4 bytes of 0x0F0E0D0C

"

What is current equivalent of this function what can be used for write SB key to K82 MCU and SDK 2.5x ?

Regards,

Eugene

0 Kudos
1 Reply

233 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi Eugene,

 

Please check FTFx_CMD_ProgramOnce() function located in fsl_ftfx_controller.c driver.

Hope it helps!


Have a great day,
Felipe

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos