Nxps32k312 RAM Check Understanding

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

Nxps32k312 RAM Check Understanding

384 Views
Anitha7
Contributor III

Hi @lukaszadrapa 

I am working on the NXP S32K312 microcontroller and would like to understand how to detect RAM and ROM memory errors. I noticed that the FCCU (Fault Collection and Control Unit) can be used to monitor such errors. However, it seems that using the FCCU typically requires SAF (Safety) driver installation. I would prefer not to use any additional drivers. Is there a way to access or activate the FCCU registers directly, or alternatively, is there another method to detect RAM and ROM errors without relying on SAF drivers?

Tags (1)
0 Kudos
Reply
3 Replies

356 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Anitha7,

You don't need the SAF to inject faults into SRAM or Flash memories and detect them via the FCCU.
Instead, you can use the SDP drivers included in the standard S32K3xx software package, which are available free of charge.
To configure the FCCU, use the eMcem driver and call eMcem_InjectFault() to inject faults.
A SPD demo is available in the SPD standalone installer (.exe) for reference.


Of course, you're free to implement your own EIM/FCCU solution if needed.

Additionally, faults injected via EIM can be detected by the ERM module, although we currently do not provide a solution for that.

 

Regards,

Daniel

 

 

0 Kudos
Reply

342 Views
Anitha7
Contributor III
Hi @danielmartynek
Thank you for your response. Could you please suggest a solution for how to check for RAM and ROM memory errors.
0 Kudos
Reply

296 Views
danielmartynek
NXP TechSupport
NXP TechSupport

HI @Anitha7,

As I said, use the SPD drivers.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2186398%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ENxps32k312%20RAM%20Check%20Understanding%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2186398%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%2F37795%22%20target%3D%22_blank%22%3E%40lukaszadrapa%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20working%20on%20the%20NXP%20S32K312%20microcontroller%20and%20would%20like%20to%20understand%20how%20to%20detect%20RAM%20and%20ROM%20memory%20errors.%20I%20noticed%20that%20the%20FCCU%20(Fault%20Collection%20and%20Control%20Unit)%20can%20be%20used%20to%20monitor%20such%20errors.%20However%2C%20it%20seems%20that%20using%20the%20FCCU%20typically%20requires%20SAF%20(Safety)%20driver%20installation.%20I%20would%20prefer%20not%20to%20use%20any%20additional%20drivers.%20Is%20there%20a%20way%20to%20access%20or%20activate%20the%20FCCU%20registers%20directly%2C%20or%20alternatively%2C%20is%20there%20another%20method%20to%20detect%20RAM%20and%20ROM%20errors%20without%20relying%20on%20SAF%20drivers%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2188943%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Nxps32k312%20RAM%20Check%20Understanding%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2188943%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%2F228025%22%20target%3D%22_blank%22%3E%40Anitha7%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EAs%20I%20said%2C%20use%20the%20SPD%20drivers.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2187132%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Nxps32k312%20RAM%20Check%20Understanding%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2187132%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F160001%22%20target%3D%22_blank%22%3E%40danielmartynek%3C%2FA%3E%3CBR%20%2F%3EThank%20you%20for%20your%20response.%20Could%20you%20please%20suggest%20a%20solution%20for%20how%20to%20check%20for%20RAM%20and%20ROM%20memory%20errors.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2186476%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Nxps32k312%20RAM%20Check%20Understanding%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2186476%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%2F228025%22%20target%3D%22_blank%22%3E%40Anitha7%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EYou%20don't%20need%20the%20SAF%20to%20inject%20faults%20into%20SRAM%20or%20Flash%20memories%20and%20detect%20them%20via%20the%20FCCU.%3CBR%20%2F%3EInstead%2C%20you%20can%20use%20the%20SDP%20drivers%20included%20in%20the%20standard%20S32K3xx%20software%20package%2C%20which%20are%20available%20free%20of%20charge.%3CBR%20%2F%3ETo%20configure%20the%20FCCU%2C%20use%20the%20eMcem%20driver%20and%20call%20eMcem_InjectFault()%20to%20inject%20faults.%3CBR%20%2F%3EA%20SPD%20demo%20is%20available%20in%20the%20SPD%20standalone%20installer%20(.exe)%20for%20reference.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EOf%20course%2C%20you're%20free%20to%20implement%20your%20own%20EIM%2FFCCU%20solution%20if%20needed.%3C%2FP%3E%0A%3CP%3EAdditionally%2C%20faults%20injected%20via%20EIM%20can%20be%20detected%20by%20the%20ERM%20module%2C%20although%20we%20currently%20do%20not%20provide%20a%20solution%20for%20that.%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%3C%2FLINGO-BODY%3E