Hi,
The file you provided uses a linear array for the flash rather than paged addresses (as you are probably aware).
The HCS12 programmer only supports this format for a very few devices that provide programming directly in that format in the BDM interface.
I have added an option to the HCS12 programmer to convert SREC files from linear to paged addressing when loading the hex file. The updated software is available on sourceforge:
https://sourceforge.net/projects/usbdm/files/
Using this version of the programmer I was able to program the device as expected from the image.
Doing a read-back using Usbm Memorydump provided an image that verified correctly against the programmed device in the programmer.
The image does not have repeated blocks which was the start of this discussion so I have no explanation for why that occurred.
I obviously cannot verify that the program runs correctly - let me know if there is still a problem.
Can you tell me what software produced the image provided?
bye
Edit: Updated link