Hi, I'm implementing a flash downloader for S12 series, the algorithm is ready, all the source code is at: http://code.google.com/p/vsprog/source/browse/trunk/src/target/s12x.
HCS08 support is tested OK: http://code.google.com/p/vsprog/source/browse/trunk/src/target/hcs08.
s19 file parser is at: http://code.google.com/p/vsprog/source/browse/trunk/src/tools/s19.
But there is something I don't understand.
In the s19 file generated by Codewarrior (source code is the demo from my develop board):
S11EC000CF2100C6055B134A804CFE4A8000FE0000C015C0190000000000006E
S105FFFEC0003D
S224FE800010EFC6C05B0351071EC6FF0710C63F070CC6FF0708C6BF070EC67F20F65B01CC1F
S224FE802001F44A8031FE3D5B01CC01F44A8031FE3D6CAC186982200B1887088E01F425FA30
S224FE8040186282EC82AC8025EF1B840AFEC011FDC00F270E35ED31EC3169700434FB31034A
S219FE806026F2FEC013EC31270BED31180A30700434F920F10AA4
The first line defines 27(0x1E - 3) bytes at 0xC000, but for 128K flash, flash shoud start from 0x7E0000.
Where should I put the data in 0xC000?