How to Easily Debug Embedded Interrupts Using Logic: Part 2

This blog post is the second of three in our series on how to easily debug embedded interrupts. In the first part of this feature, we went through launching and configuring Logic 4 to get started. In this post, we will go over capturing interrupt signals and saving captures.

Capture

Once you have the Logic 4 configured (including the trigger) and connected to the needed signals and code has been compiled and downloaded to the target, signals from the DUT can be captured and analyzed. Press the green Start button on Logic’s interface, then generate an interrupt on the DUT (in our case by pressing SW1). Initially, we see Logic show “Waiting for trigger”, until our interrupt, then the capture begins, ending after the configured duration. This video shows our capture scenario:

 

Save Capture

The capture can be saved for later analysis. On the right-hand side of Logic’s display, go to Options->Save Capture. This video below shows how to save a capture:

Next, in the third and final part of our series focusing on how to easily debug embedded interrupts, we’ll walk you through measuring interrupt signals.