codewarrior v5.9 for MC9S12XEP100

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

codewarrior v5.9 for MC9S12XEP100

ソリューションへジャンプ
2,091件の閲覧回数
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 解決策
2,006件の閲覧回数
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 返答(返信)
2,007件の閲覧回数
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 件の賞賛
2,006件の閲覧回数
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 件の賞賛
2,006件の閲覧回数
allenlw
Contributor III

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

0 件の賞賛
2,006件の閲覧回数
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 件の賞賛