Lec21Debug - Debugging Tools-Remote Debuggers Functionality...

Info icon This preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 471 21-Debug-1 Lecture 21 Embedded System Debugging Outline Debugging Tools Debugging Interrupts Debugging Timing Issues Debugging Program Flow Problems Debugging Compiler Errors
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
ECE 471 21-Debug-2 Debugging Tools-Remote Debuggers Functionality can vary from minimal machine level debugging capability to high-level language source level debugging. Use either a debug port or target resources for communication and control. If a processor does not have a debug port, some target resources such as a serial port, interrupt, and timer are typically used to control and communicate with the target processor. If the target processor does not have standard peripheral devices available for a debugger, a custom setup may be required.
Image of page 2
ECE 471 21-Debug-3 Debugging Tools-Remote Debuggers Remote debuggers typically have the following functions: Stop at a breakpoint. Momentarily pause at a stop-point and update variable displays. Processors with debug ports are usually capable of breaking on data accesses.
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
ECE 471 21-Debug-4 Debugging Tools-In-Circuit Emulators An In-Circuit Emulator (ICE) allows the user to examine the state of the processor on which the code is running. These devices can perform real-time monitoring. Can break on many types of events. Can save execution traces in real-time with data filters. No target resources are used by ICE units.
Image of page 4
ECE 471 21-Debug-5 Debugging Tools-In-Circuit Emulators ICE units typically offer many real-time trace options for execution and data triggering. Triggers need to be set and further adjusted to focus on the relevant code to provide the best insight into the problem and yet limit collected data. Data can be collected around trigger points without slowing or stopping the target processor. Many ICE units are capable of saving data for several instructions around a trigger point.
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
ECE 471 21-Debug-6 Debugging Tools-ROM Emulators Emulates a read-only memory device. Target connection is through the ROM socket and communicates with a host. Looks like a debug monitor to the user. Supplies its own serial or network connection to the host. Relies on the hardware working properly, so is less useful in the early stages of debugging.
Image of page 6
ECE 471 21-Debug-7 Debugging Tools-Logic Analyzer A logic analyzer is capable of examining many I/O lines in response to a trigger. It is
Image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern