Ankur,
CW for MCU V6.3 is the last version based on Classic IDE.
This version is supporting HC08, HCS08, RS08 and ColdFire V1 core only.
Kinetis devices are not supported in MCU V6.3.
CW for MCU V10.6.4 is the last version released some months ago and supporting:
ColdFire®, ColdFire+, DSC, Kinetis, Qorivva, RS08, S08 and S12Z architectures
Under MCU V10.6.4, there are several build tool chain depending of the processor used.
The @ keyword is not defined in C and is not working similar with all architectures.
The definition you're using in HCS08 can not be used in Kinetis.
You must refer to the appropriate manual in the Help folder.
Based on your application ...
You can not create a project for K70 and add the code for mc9s08dv16.h.
This is not working like that.
What do you want to do ?
1- import the MCU v6.3 project to MCU V10.6.4 ?
This is for the same processor.
You can refer to the AN4727:
Import project from CW classic to CW MCU v10 4 CodeWarrior for Microcontrollers v10.4
http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4727.pdf
What 's about project using Processor Expert ?
By default on MCU V10.6.4 you must create a project including Processor Expert.
When the project is created to import PEx settings you just need to copy the .pe file to MCU project.
Then rename it as MCU one.
Now when the MCU project is re-opened, the classic PEx settings will be used
2- switch from HCs08dv16 to K70
Do we have example using TWR-LCD running under this device ?
I don't know BUT under the installation we provide lot of examples using Processor Expert.
You can access it under the folder \CW MCU v10.6.4\MCU\CodeWarrior_Examples
The Processor_Expert folder contains lot of examples.
If needed, the MQX can be installed too.
Regarding the example included in the TWR-LCD
I don't have this module and the DVD but according to the manual I've found the MCU v6.3 was used.
If you want you can import the project to MCU v10.6.4 if you refer to the AN4227 and change the .pe file as explained above.
I think this should work.
After that when the application is working under the mc9s08dv16 you can try to change the processor to K70 with PEx.
PEx will show you all points you need to check to be compliant with the Kinetis device.
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------