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

629件の閲覧回数
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 返答(返信)

583件の閲覧回数
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 件の賞賛
返信

587件の閲覧回数
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 件の賞賛
返信