Thanks for your response. I have version 4.8.0 but I don't see any references to 68HC12 family devices anywhere. I do see support for MC9S12DG128 devices under HCS12 family.
I am not experienced with these devices so please correct me but I think the following is true about MC9S12DG128 and MC68HC912DG128A:
- basic memory layout seems to be the same
- some register locations are different
- S12 version supports additional BDM v4 commands
- 68HC12 version does not support SYNC command for clock recovery
- flash control registers are fundamentally different
Also the "A" suffix device added the low voltage programmable flash and:
The Flash Control Register (FEECTL) is in the same location. However,
the individual bit functions have changed significantly to support the new
technology.
Programming of the flash is greatly simplified over previous HC12s. The read / verify / re-pulse programming algorithm is replaced by a much simpler method.
Based on the above it appears that the flash programming algorithm for S12 series devices would not be compatible with the MC68HC912DG128A and additionally a generic algorithm for 68HC12 series devices would not either because of the flash changes mentioned above.
So please let me know if have I missed something in the package that would provide the support necessary for this chip. It seems like what is needed is a compatible algorithm and a proper xml device description. I am not sure if any other changes beyond this would be necessary.
Also it seems like it would be not too difficult to either add support for linear s19 files in FlashProgramming.cpp or convert the files to paged (there may be existing s/w that does this?).
Any help would be much appreciated.
Thanks.