Is the HCS12 port compatible with HCS12X processor cores? For instance the MC9S12XDP512MAG device?
as far as I know there is one major difference between the HCS12 and HCS12X. The pushed and popped values from the stack has a size of 1 Byte for the HCS12 and 2 Byte for the HCS12X.
check out the unsupported ports/Freescale section of the freertos site. there is a hcs12/12X port.
i am trying to get it to work right now myself, but it will compile properly with
flag set in the linker or compiler command line options (using code warriror of course) . the official HCS12 demo would not compile after much effort.
right now i am having problems with my ISRs not being called in CW which is not incrementing ticks. so i can only get one task to run constantly
let me know if you get processor expert to work with the ISRs setup in the unofficial port, i am pretty new to this but i hope it helps.
I found the problem that prevents the demo to run for me anyways.
processor expert continually sets TIOS=0b10000001
set TIOS=0b00000001 and everything works.
to maintain compatibility with processor expert I use this command in the startup code