For S12G128 MCU, memory address can be located as local and global memory map.
Trace32 default script file(flash.cmm) seems support local memory map, when I want to program .s19 file with global memory map by flash.cmm, programming process will be failed.
the flash script should not be required in this case, just load the file like this:
SYStem.CPU AUTO ;or replace AUTO with the processor name
Data.LOAD.S1 <file> G:
If the flash programming result is still not as expected, please check the loaded address ranges using
and try to program again using Data.LOAD with option /FLAT:
Data.LOAD.S1 <file> G: /FLAT
TRACE32 provides support for S9S12G128. If your TRACE32 system can support this processor, depends on which TRACE32 debug module and debug cable you have. If you already used it to debug/program other processors of the S12 family, S9S12G128 should be supported as well, or can be supported by software upgrade. In this case, software maintenance might be required to use the software update.
If you used TRACE32 to debug some other architecture, you will have to purchase a debug cable for this architecture.
Please send your question and the serial numbers of debug module and debug cable to email@example.com. We will tell you what is required to add support for the S12 family to your existing hardware.
Thanks for your reply.
In fact I have two micro controllers MC9S12XEG128MAL and S9S12G128MLL that I want to program and debug. My application is automotive. Which compiler and programmer (debuger) do you recommend?
If the product you have is the same as the one at the following link, then it seems like it would not work with any of Freescale devices:
At the bottom of the page you can see the list of the supported MCUs.
And also, the number in the product name most probably means it is addressed for 32-bit MCUs. The S12G128 (and S12(X) family) has 16-bit architecture.