How S32DS generates a checksum to populate a hex file or S19 file

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

How S32DS generates a checksum to populate a hex file or S19 file

173 次查看
ChenPeng3
Contributor II

hello:

       I've been working on a S32K144 feature recently to generate a checksum for my own hex or S19 files and store it in flash to verify file integrity

     I'd also like to know how the internal checksum is calculated using how to use the S32DS configuration, or which tool to use to do this at GCC compile time。

标记 (2)
0 项奖励
2 回复数

127 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

if you need checksum for - let's say Intel hex - generated by objcopy tool - you need to use an external tool like srec_cat - https://srecord.sourceforge.net/  

 

Nice tutorial you can find here - https://mcuoneclipse.com/2015/04/26/crc-checksum-generation-with-srecord-tools-for-gnu-and-eclipse/

0 项奖励

131 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

This is called flash array integrity check. As I know S32K1 does not support it by HW. It is available on ASIL-D device as some MPC5 and S32K3.

 

0 项奖励