Computing of CRC value of the flash memory

cancel
Showing results for 
Search instead for 
Did you mean: 

Computing of CRC value of the flash memory

Jump to solution
621 Views
zorrotz
Contributor III

Hi,

I need to test the invariable memory of a Kinetis using the functions provided by the core self-test library for Kinetis CM4 devices.

For other microcontrollers, using CodeWarrior 10.6, the CRC of the invariable memory is calculated in the linking phase and saved in the invariable memory with the application code.

How can this be done with MCUXpresso?

This article describes how to do it for S-Record files: CRC Checksum Generation with ‘SRecord’ Tools for GNU and Eclipse | MCU on Eclipse , but what about .axf ELF/Dwarf files?

Regards,

Igor Vicente

0 Kudos
1 Solution
252 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Pablo,

The MCUXpresso IDE also can generate S-record files, then you can refer to the article you menetioned

to compute CRC.

About how to generate S-record files please refer to : MCUXpresso IDE: S-Record, Intel Hex and Binary Files | MCU on Eclipse 

Hope it helps


Have a great day,
TIC

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

View solution in original post

0 Kudos
2 Replies
253 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Pablo,

The MCUXpresso IDE also can generate S-record files, then you can refer to the article you menetioned

to compute CRC.

About how to generate S-record files please refer to : MCUXpresso IDE: S-Record, Intel Hex and Binary Files | MCU on Eclipse 

Hope it helps


Have a great day,
TIC

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

View solution in original post

0 Kudos
252 Views
zorrotz
Contributor III

Hello Alice,

Finally I have implemented the flash memory test successfully folowing the post. Know I can debug the application with the information of ELF file.

Thanks

Best regards,

Igor

0 Kudos