Computing of CRC value of the flash memory

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Computing of CRC value of the flash memory

跳至解决方案
3,018 次查看
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 项奖励
回复
1 解答
2,649 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,650 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,649 次查看
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 项奖励
回复