codewarrior v5.9 for MC9S12XEP100

cancel
Showing results for 
Search instead for 
Did you mean: 

codewarrior v5.9 for MC9S12XEP100

Jump to solution
1,549 Views
allenlw
Contributor II

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?

Labels (1)
0 Kudos
1 Solution
1,464 Views
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

View solution in original post

0 Kudos
4 Replies
1,465 Views
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 Kudos
1,464 Views
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 Kudos
1,464 Views
allenlw
Contributor II

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

0 Kudos
1,464 Views
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 Kudos