MC9S08DZ60 Simulation in Code Warrior

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC9S08DZ60 Simulation in Code Warrior

933 Views
pawankumar
Contributor III

Hi All,

 

I am pretty new to Freescale controllers. This is my first project using a freescale mcu. I am using MC9S08DZ60

 

I would like to try some code before the board arrives. I have seen the Processor expert and Full Chip Simulation but I am not able to figure out how to simulate my code.

 

Any tutorial would be very helpful.

 

Please help me friends..

 

Pawan

Labels (1)
0 Kudos
1 Reply

409 Views
trytohelp
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos