AnsweredAssumed Answered

Why are there two s-record files, .s19 and .sx generated when S12 MCU compiling?

Question asked by dongpeng hou on Jun 25, 2014
Latest reply on Jul 9, 2014 by dongpeng hou

Hello, why there are two s-record files, .s19 and .sx generated when S12 MCU compiling? .s19 file is always generated in spite of compiler option -B present or not, but .sx is generated only when -B present. I compared the two files, the main difference is as below example, for .s19, the s9 line does not have the correct start address, the address is always 0000, but .sx have the correct start address, which is _Startup() address.

And I tested -Ns build option, it controls the .s19 file output format, including S0/7/8/9 or not.

Could anybody explain the purpose of two s-record files? Which one do you usually use for program download? How to configure the .s19 file to include the start up address?

 

Project.abs.s19

S9030000FC

 

Project.sx

S903FAFC06

Outcomes