offline MISR signature calculation for Flash Array Integrity Check

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

offline MISR signature calculation for Flash Array Integrity Check

723 Views
sandeepSingh18606
Contributor III
I am working on implementing the Flash Array Integrity Check on the S32K311 controller. My goal is to calculate the MISR signature value offline for a generated .bin file and store it in NVM for comparison.
 
I have attempted to calculate the MISR value from the .bin file using the method described in the reference manual; however, the results do not match the values observed in the UM0-UM9 registers. Could you please provide a simple C code formula to read data from a .bin file and generate the MISR value for a specific memory section?
 
Additionally, I would appreciate clarification on the role of the MISR[288] bit, as its function is currently unclear.
 

sandeepSingh18606_0-1768478273222.png

 

 
Best regards,
 
Sandeep Singh

 

 

0 Kudos
Reply
2 Replies

587 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @sandeepSingh18606,

Let me check if we have a solution to that.

The MISR is 288 bits wide, implemented as UM0–UM9, MISR[288] is just the MSB.

 

Regards,

Daniel

 

0 Kudos
Reply

362 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @sandeepSingh18606,

Thank you for your patience. I would like to inform you that at this moment, there is no available offline solution for this functionality.
However, we have submitted a request to our software tools team to review the possibility of developing such an option. The evaluation is still in progress, and we do not yet have a conclusion or a timeline for a potential solution.

 

Regards,

Daniel

 

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2294262%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eoffline%20MISR%20signature%20calculation%20for%20Flash%20Array%20Integrity%20Check%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2294262%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%3EI%20am%20working%20on%20implementing%20the%20Flash%20Array%20Integrity%20Check%20on%20the%20S32K311%20controller.%20My%20goal%20is%20to%20calculate%20the%20MISR%20signature%20value%20offline%20for%20a%20generated%20.bin%20file%20and%20store%20it%20in%20NVM%20for%20comparison.%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EI%20have%20attempted%20to%20calculate%20the%20MISR%20value%20from%20the%20.bin%20file%20using%20the%20method%20described%20in%20the%20reference%20manual%3B%20however%2C%20the%20results%20do%20not%20match%20the%20values%20observed%20in%20the%20UM0-UM9%20registers.%20Could%20you%20please%20provide%20a%20simple%20C%20code%20formula%20to%20read%20data%20from%20a%20.bin%20file%20and%20generate%20the%20MISR%20value%20for%20a%20specific%20memory%20section%3F%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EAdditionally%2C%20I%20would%20appreciate%20clarification%20on%20the%20role%20of%20the%20MISR%5B288%5D%20bit%2C%20as%20its%20function%20is%20currently%20unclear.%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sandeepSingh18606_0-1768478273222.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22sandeepSingh18606_0-1768478273222.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22sandeepSingh18606_0-1768478273222.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22sandeepSingh18606_0-1768478273222.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F372957iD175E6614FF79AF1%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22sandeepSingh18606_0-1768478273222.png%22%20alt%3D%22sandeepSingh18606_0-1768478273222.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EBest%20regards%2C%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3ESandeep%20Singh%3C%2FDIV%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2295676%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20offline%20MISR%20signature%20calculation%20for%20Flash%20Array%20Integrity%20Check%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2295676%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%2F256373%22%20target%3D%22_blank%22%3E%40sandeepSingh18606%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3ELet%20me%20check%20if%20we%20have%20a%20solution%20to%20that.%3C%2FP%3E%0A%3CP%3EThe%20MISR%20is%20288%20bits%20wide%2C%20implemented%20as%20UM0%E2%80%93UM9%2C%26nbsp%3BMISR%5B288%5D%20is%20just%20the%20MSB.%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%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2313005%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20offline%20MISR%20signature%20calculation%20for%20Flash%20Array%20Integrity%20Check%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2313005%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F256373%22%20target%3D%22_blank%22%3E%40sandeepSingh18606%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20your%20patience.%20I%20would%20like%20to%20inform%20you%20that%20at%20this%20moment%2C%20there%20is%20no%20available%20offline%20solution%20for%20this%20functionality.%3CBR%20%2F%3EHowever%2C%20we%20have%20submitted%20a%20request%20to%20our%20software%20tools%20team%20to%20review%20the%20possibility%20of%20developing%20such%20an%20option.%20The%20evaluation%20is%20still%20in%20progress%2C%20and%20we%20do%20not%20yet%20have%20a%20conclusion%20or%20a%20timeline%20for%20a%20potential%20solution.%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