Notice: Vacation shutdown from 4/29/2024 through 5/14/2024. Store will be offline.

Using Log2Phy with ICC for CPU12 output for 9S12XDP512

For a source file test.s19, the utility Log2Phy produces two files:  test.phy and test.s19.extra.  Those two files need to be combined into a single file to get the entire program into flash.

Here's the original test.s19 file generated by ICC:

S10E4000CF400016405587CE10008E04
S110400B100027056A000820F6CE405ACDAB
S111401810008E405A2706180A307020F51644
S1074026402A20FE0A
S110402A34B7751B9EC6FF7B025AC6FF7B90
S110403702584A8000E02010C6FF7B0258AA
S10D40444A8000E07902584A800027
S10A404EE020EEB757303DFE
S21238000034B7751B9ECC00006C1E2007EC1E15
S21238000EC300016C1EEC1E8CFA0025F2B757A4
S20638001C300A6B
S2123FFF80FFFFFFFFFFFFFFFFFFFFFFFFFFFF3D
S2123FFF8EFFFFFFFFFFFFFFFFFFFFFFFFFFFF2F
S2123FFF9CFFFFFFFFFFFFFFFFFFFFFFFFFFFF21
S2123FFFAAFFFFFFFFFFFFFFFFFFFFFFFFFFFF13
S2123FFFB8FFFFFFFFFFFFFFFFFFFFFFFFFFFF05
S2123FFFC6FFFFFFFFFFFFFFFFFFFFFFFFFFFFF7
S2123FFFD4FFFFFFFFFFFFFFFFFFFFFFFFFFFFE9
S2123FFFE2FFFFFFFFFFFFFFFFFFFFFFFFFFFFDB
S2123FFFF0FFFFFFFFFFFFFFFFFFFFFFFFFFFFCD
S2063FFFFE40007D
S10840551D0016073DEB
S9034000BC

After running log2phy, you'll get test.phy:
S2147F4000CF400016405587CE10008E100027056AD9
S2147F4010000820F6CE405ACD10008E405A2706184C
S2147F40200A307020F516402A20FE34B7751B9EC6D0
S2147F4030FF7B025AC6FF7B02584A8000E02010C6EC
S2147F4040FF7B02584A8000E07902584A8000E020D1
S20E7F4050EEB757303D1D0016073D02

and test.s19.extra:
S21238000034B7751B9ECC00006C1E2007EC1E15
S21238000EC300016C1EEC1E8CFA0025F2B757A4
S20638001C300A6B
S2123FFF80FFFFFFFFFFFFFFFFFFFFFFFFFFFF3D
S2123FFF8EFFFFFFFFFFFFFFFFFFFFFFFFFFFF2F
S2123FFF9CFFFFFFFFFFFFFFFFFFFFFFFFFFFF21
S2123FFFAAFFFFFFFFFFFFFFFFFFFFFFFFFFFF13
S2123FFFB8FFFFFFFFFFFFFFFFFFFFFFFFFFFF05
S2123FFFC6FFFFFFFFFFFFFFFFFFFFFFFFFFFFF7
S2123FFFD4FFFFFFFFFFFFFFFFFFFFFFFFFFFFE9
S2123FFFE2FFFFFFFFFFFFFFFFFFFFFFFFFFFFDB
S2123FFFF0FFFFFFFFFFFFFFFFFFFFFFFFFFFFCD
S2063FFFFE40007D

Those two files need to be combined into a single .s19 file (e.g. use copy/paste)