Freescale Semiconductor Microcontrollers Manuel D’Utilisation

Page de 892
349
Microcontrollers Debugger Manual
13
ICS MON08 Interface 
Connection
ICS Mode
In-Circuit Simulation (ICS) Mode is a P&E Microcomputer Systems mode of operation 
that is a hybrid between In-Circuit Debugging, and Full Chip simulation. P&E has 
combined the benefits of each of these modes, while minimizing their respective 
deficiencies.
ICS mode simulates the CPU core instructions on the user's PC. However, Inputs/Outputs 
are read directly from the user's development device, and certain modules are run on the 
actual device. Any instructions that affect an I/O location, for example, lda PORTA or 
sta PORTA
, also use data from the real device. This allows for all the benefits of full 
chip simulation (Cycle by Cycle accuracy, unlimited breakpoints, and speed, to name just 
a few), while allowing the obvious benefit of garnering relevant signals from actual 
hardware.
In-Circuit simulation requires a user to have a connected MCU Device, be it a 
development board, prototype hardware, or simply a device placed in a simple circuit on a 
breadboard. Once connection is established, the P&E Interface loads a .MON file to the 
microcontroller itself. This .MON file is the ICS-Kernel: it constantly runs on the device, 
and interacts with the P&E software to provide information about changing I/O and any 
peripherals that are running on the device itself.
The following modules are run on the actual device when in ICS mode, and as such their 
Simulation commands become unnecessary, and therefore do not function:
I/O ports, SCI, SPI, IRQ, ADC, LCD, KBI.
All other modules function as fully simulated modules. For information about relevant 
simulation commands, see the 
 section.