EEPROM write and read in s32k while device is secure

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

EEPROM write and read in s32k while device is secure

216 Views
Saranraj
Contributor I

I tried writing and reading to the EEPROM, and it works when the device is unsecure. However, after enabling device security through the FSEC bit and flashing the hex file, the EEPROM stops working.

0 Kudos
Reply
1 Reply

188 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Saranraj,

The Flash Configuration Field can also set protection for the Emulated EEPROM.

danielmartynek_0-1755846780840.png

Do you have a communication interface that can be used to send the content of the 0x400-0x40F memory out while the MCU is secure?

 

Regards,

Daniel

 

 

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2156022%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EEEPROM%20write%20and%20read%20in%20s32k%20while%20device%20is%20secure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2156022%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20tried%20writing%20and%20reading%20to%20the%20EEPROM%2C%20and%20it%20works%20when%20the%20device%20is%20unsecure.%20However%2C%20after%20enabling%20device%20security%20through%20the%20FSEC%20bit%20and%20flashing%20the%20hex%20file%2C%20the%20EEPROM%20stops%20working.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2156573%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20EEPROM%20write%20and%20read%20in%20s32k%20while%20device%20is%20secure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2156573%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F217037%22%20target%3D%22_blank%22%3E%40Saranraj%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThe%20Flash%20Configuration%20Field%20can%20also%20set%20protection%20for%20the%20Emulated%20EEPROM.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22danielmartynek_0-1755846780840.png%22%20style%3D%22width%3A%20551px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22danielmartynek_0-1755846780840.png%22%20style%3D%22width%3A%20551px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F353647iC76B2BBF52478A73%2Fimage-dimensions%2F551x292%3Fv%3Dv2%22%20width%3D%22551%22%20height%3D%22292%22%20role%3D%22button%22%20title%3D%22danielmartynek_0-1755846780840.png%22%20alt%3D%22danielmartynek_0-1755846780840.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EDo%20you%20have%20a%20communication%20interface%20that%20can%20be%20used%20to%20send%20the%20content%20of%20the%200x400-0x40F%20memory%20out%20while%20the%20MCU%20is%20secure%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3EDaniel%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E