AnsweredAssumed Answered

How to flash program with .sx file by codewarrior 10.6?

Question asked by Young-kyun Park on Dec 29, 2014
Latest reply on Jan 3, 2015 by ZhangJennie

I'm trying to merge bootloader and my own application.

 

I have got a merged .sx file and .elf file by adding "HEXFILE bootloader.sx" to .prm file.

 

actually, I got some error message when I try to download with merged elf file.

 

I think HEXFILE directive just merging line by line.

 

application's sx file is ended by reset vector address 0x00FE0000 at 0xFFFFFD with other vectors

 

and bootloader's sx file is ended by reset vector address 0x00FFF6E0 at 0xFFFFFD in a new single line

 

but, merged sx file has both lines.

 

So, I want to try to download after modifying those lines in manually.

 

but, I don't know how to program .sx file to p-flash in codewarrior.

 

My target MCU is MC9S12ZVML128.

 

anyone can help me?

Outcomes