Hi Jelena,
yes, you can migrate from HC11 to HCS12 (shortly S12 device) quite easily. The code is compatible, but some development tools are necessary for S12 devices such as a development board, an IDE (debugger/compiler) and a HW programmer.
- IDE:CodeWarrior for S12(X) MCUs v5.1
Video Link : 5109
- Programmer: P&E USB Multilink
BDM Multilink In-Circuit Debugger/Programmer|NXP
Kindly see attached PDF where you can find detailed information about the migration.
As the S12 family is quite old, so are the evaluation board too. Most possibly they are not available to buy directly from us. It may be that some distributors have boards still available.
Regards,
Ivan