codewarrior v5.9 for MC9S12XEP100

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

codewarrior v5.9 for MC9S12XEP100

跳至解决方案
2,048 次查看
allenlw
Contributor III

After compile, can the codewarrior add a dll or other file to do some post compile action, for example, calculate a CRC based on the s19 file and put this CRC in the specific address area?

标签 (1)
0 项奖励
1 解答
1,963 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

regarding CRC you can go into the CW installation folder (c:\Program Files (x86)\Freescale\CWS12v5.2\Help\pdf\) and look into Build_Tools_Utilities.pdf. There are checksum including principles described there.

Best regards,

Ladislav

在原帖中查看解决方案

0 项奖励
4 回复数
1,964 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

regarding CRC you can go into the CW installation folder (c:\Program Files (x86)\Freescale\CWS12v5.2\Help\pdf\) and look into Build_Tools_Utilities.pdf. There are checksum including principles described there.

Best regards,

Ladislav

0 项奖励
1,963 次查看
stanish
NXP Employee
NXP Employee

Hi,

just adding my two cents:

Except natively supported CRC calculation by the build tools in Codewarrior for HC12  (as suggested by Lama) it is also possible to run a prebuild/postbuild steps (run a batch script). See the screenshots below:

pastedImage_3.png

pastedImage_4.png

Stan

0 项奖励
1,963 次查看
allenlw
Contributor III

Is there a similar feature in the S32DS? I can't find anthing in the help document.

0 项奖励
1,963 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

S32DS doesn't contain such tools ready for use, but it is possible run post build script - including python ones. Good tool for s-record manipulation are GNU SRecord tools  - CRC Checksum Generation with ‘SRecord’ Tools for GNU and Eclipse - GNU Tools - Wiki  

Jiri

0 项奖励