S32K344-Fee sample software

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

S32K344-Fee sample software

Jump to solution
2,725 Views
Simon-Liu
Contributor V

Hello

I used the S32DS tool to generate the Fee sample software. I saw that the Fee, MemAcc and Mem_43_INFLS components were generated in the MCAL layer. And the fee interface was used in the main function to perform read and write operations.
But I noticed that it is inconvenient to use the Fee read and write interface to perform operations. After each read and write, the functions Fee_MainFunction() and MemAcc_MainFunction() need to be polled to perform the corresponding actions, which is not practical in actual applications.
Do you have an upper-level Flash data storage management module? Like the sample code of the NVM module in AutoSar?

 

BestRegards

Simon

0 Kudos
Reply
1 Solution
2,678 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Simon-Liu,

I apologize for the inconveniences, but those examples are currently the only ones available.

Best regards,
Julián

View solution in original post

3 Replies
2,705 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Simon-Liu,

You can look into the C40_Ip_Example_S32K344, which initializes IP C40 driver and erase, write, read internal flash memory.

Best regards,
Julián

0 Kudos
Reply
2,690 Views
Simon-Liu
Contributor V

Hi @Julián_AragónM 

Thank you for your answer.

But the software I mentioned before is not a simple software example for reading, writing and erasing Flash.
It is a software module that manages Fee Block on the upper layer of MemAcc and Fee, similar to the Nvm module in AutoSar.

 

BestRegards,

Simon

0 Kudos
Reply
2,679 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Simon-Liu,

I apologize for the inconveniences, but those examples are currently the only ones available.

Best regards,
Julián

%3CLINGO-SUB%20id%3D%22lingo-sub-1884890%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K344-Fee%20sample%20software%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1884890%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3EI%20used%20the%20S32DS%20tool%20to%20generate%20the%20Fee%20sample%20software.%20I%20saw%20that%20the%20Fee%2C%20MemAcc%20and%20Mem_43_INFLS%20components%20were%20generated%20in%20the%20MCAL%20layer.%20And%20the%20fee%20interface%20was%20used%20in%20the%20main%20function%20to%20perform%20read%20and%20write%20operations.%3CBR%20%2F%3EBut%20I%20noticed%20that%20it%20is%20inconvenient%20to%20use%20the%20Fee%20read%20and%20write%20interface%20to%20perform%20operations.%20After%20each%20read%20and%20write%2C%20the%20functions%20Fee_MainFunction()%20and%20MemAcc_MainFunction()%20need%20to%20be%20polled%20to%20perform%20the%20corresponding%20actions%2C%20which%20is%20not%20practical%20in%20actual%20applications.%3CBR%20%2F%3EDo%20you%20have%20an%20upper-level%20Flash%20data%20storage%20management%20module%3F%20Like%20the%20sample%20code%20of%20the%20NVM%20module%20in%20AutoSar%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBestRegards%3C%2FP%3E%3CP%3ESimon%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1886291%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K344-Fee%20sample%20software%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1886291%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%2F218611%22%20target%3D%22_blank%22%3E%40Simon-Liu%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EI%20apologize%20for%20the%20inconveniences%2C%20but%20those%20examples%20are%20currently%20the%20only%20ones%20available.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EJuli%C3%A1n%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1886101%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K344-Fee%20sample%20software%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1886101%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F200831%22%20target%3D%22_blank%22%3E%40Juli%C3%A1n_Arag%C3%B3nM%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20answer.%3C%2FP%3E%3CP%3EBut%20the%20software%20I%20mentioned%20before%20is%20not%20a%20simple%20software%20example%20for%20reading%2C%20writing%20and%20erasing%20Flash.%3CBR%20%2F%3EIt%20is%20a%20software%20module%20that%20manages%20Fee%20Block%20on%20the%20upper%20layer%20of%20MemAcc%20and%20Fee%2C%20similar%20to%20the%20Nvm%20module%20in%20AutoSar.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBestRegards%2C%3C%2FP%3E%3CP%3ESimon%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1885381%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K344-Fee%20sample%20software%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1885381%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%2F218611%22%20target%3D%22_blank%22%3E%40Simon-Liu%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EYou%20can%20look%20into%20the%20C40_Ip_Example_S32K344%2C%20which%20i%3CSPAN%3Enitializes%20IP%20C40%20driver%20and%20erase%2C%20write%2C%20read%20internal%20flash%20memory.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBest%20regards%2C%3CBR%20%2F%3EJuli%C3%A1n%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E