Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

Testing, Simulation and Debugging

Techniques and Tools:

Lesson-5

In-Circuit Emulator

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 1
Raj Kamal, Publs.: McGraw-Hill Education
1. Development processes using ICE

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 2
Raj Kamal, Publs.: McGraw-Hill Education
Target debugging

Simulation Use Use target


emulator monitor

Circuit for emulating target system remains


independent of a particular targeted system and
processor

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 3
Raj Kamal, Publs.: McGraw-Hill Education
Using an Emulator or ICE
• A circuit for emulating target system
remains independent of a particular
targeted system and processor
• Emulator or ICE provides great flexibility
and ease for developing various
applications on a single system in place of
testing that multiple targeted systems.

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 4
Raj Kamal, Publs.: McGraw-Hill Education
An Emulator

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 5
Raj Kamal, Publs.: McGraw-Hill Education
An ICE

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 6
Raj Kamal, Publs.: McGraw-Hill Education
Emulator

 Emulates MCU inputs from sensors


 Emulates controlled outputs for the
peripheral interfaces/systems
 Emulates target MCU IOs and socket
to connect externally MCU

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 7
Raj Kamal, Publs.: McGraw-Hill Education
ICE

• Means In-Circuit Emulator


• Interface COM port of a computer
• Emulates target MCU IOs
• ICE socket connects MCU externally

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 8
Raj Kamal, Publs.: McGraw-Hill Education
ICE…

• Uses computer developed object files


and hex files for the MCU
• Uses debugger at the computer
developed files for the MCU
application

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 9
Raj Kamal, Publs.: McGraw-Hill Education
A Emulator

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 10
Raj Kamal, Publs.: McGraw-Hill Education
Difference in Emulator and ICE
• Emulator uses the circuit consisting of the
microcontroller or processor itself. The
emulator emulates the target system with
extended memory and with codes
downloading ability during the edit-test-
debug cycles.

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 11
Raj Kamal, Publs.: McGraw-Hill Education
Emulator and ICE …

• ROM Emulator emulates only a


ROM.
• ICE uses another circuit with a card
that connects to target processor (or
circuit) through a socket.

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 12
Raj Kamal, Publs.: McGraw-Hill Education
2. Back support hardware package and
ICE Subunits

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 13
Raj Kamal, Publs.: McGraw-Hill Education
Back support hardware package and ICE
Subunits
 Interface circuit
 Socket
 External Memory
 Emulator-board display unit
 Twenty-keys pad
 Registers
 Connectors
Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",
2015 14
Raj Kamal, Publs.: McGraw-Hill Education
Summary

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 15
Raj Kamal, Publs.: McGraw-Hill Education
We learnt
 ICE used for debugging a target system
without using the target processor
microcontroller

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 16
Raj Kamal, Publs.: McGraw-Hill Education
We learnt
 Number of software tools used to develop
software for designing an embedded
system.
 Sophisticated tools─ RTOS, Integrated
Development Environment and Prototype
development tools needed for integrated
development of system software and
hardware.

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 17
Raj Kamal, Publs.: McGraw-Hill Education
End of Lesson-5 of chapter 15 on
In-Circuit Emulator

Chapter-15L05: "Embedded Systems- Architecture, Programming and Design",


2015 18
Raj Kamal, Publs.: McGraw-Hill Education

You might also like