FAQ

Häufig gestellte Fragen

How to debug with watchpoint in Keil μVision or IAR EWARM?  Datum:2019-10-01

Introduction:

Under debug mode in Keil μVision or IAR EWARM, when the setting condition is met, the watchpoint will stop the CPU for debugging. There are two common setting conditions as listed below.

(1) The expression condition is met.

(2) The target variable is read or written.

 

Scenario:

(1) Debugging memory access status.

(2) Debugging parameters with unexpected changes.

 

Keil μVision:

(1) Install the Nu-Link Keil Driver (required).

(2) Use “Ctrl+B” to open Breakpoints window.

(3) Supports “Access Break (A)”, “Execution Break (E)” and “Count”.

267-1

IAR EWARM:

(1)  Install the Nu-Link IAR Driver (required).

(2) Supports Data breakpoints with read and write access.

(3) Supports Code breakpoints with variable as a condition.

(4) Go to View -> Breakpoints window, right click on “New Breakpoint” and then select “Code” or “Data”.

267-2

Produkte:
Applikationen:
Funktion: Software and Tools,Development-Environment,IAR,Keil
This website uses cookies to ensure you get the best experience on our website. Learn more