Hi Pawan,
With Processor Expert (PE) you can create some examples.
However PE is designed to be used with real board and not simulator.
This is the case for the Init function which is awaiting board signal to go out while loop.
In case of simulator you must comment this line.
This is I think the key problem.
You will find more information under the \CW MCU v10.6.4\MCU\Help\PDF\Targeting_Microcontrollers.pdf manual page 585
Chapter 9 Connections - HCS08 Architecture.
There is a chapter 9.1 P&E Full Chip Simulation.
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------