What does CW put into S0 record?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What does CW put into S0 record?

Jump to solution
929 Views
kb3kj
Contributor I
I would like to know what information CW puts into the S0 record in
.S19 files. It seems to change when the project is recompiled in a different
directory, but not at different times in the same directory. My goal is to
make it so that others can compile the project and get exactly the same .s19
file.

I am using CW for the HC12 version 3.0

Jim
Labels (1)
Tags (1)
0 Kudos
1 Solution
288 Views
CompilerGuru
NXP Employee
NXP Employee
It's the filename of the elf file, I think.

For srecords creates with the burner, there is an option -Ns to configure if the full path or just the filename should be written to the s0, or if no s0 should be emitted at all.
However I don't know if this option is already in the V3.0 version you are using. Also srecords can be generated by other tools too (assembler/linker).

Daniel

View solution in original post

0 Kudos
1 Reply
289 Views
CompilerGuru
NXP Employee
NXP Employee
It's the filename of the elf file, I think.

For srecords creates with the burner, there is an option -Ns to configure if the full path or just the filename should be written to the s0, or if no s0 should be emitted at all.
However I don't know if this option is already in the V3.0 version you are using. Also srecords can be generated by other tools too (assembler/linker).

Daniel
0 Kudos