FAQ

FAQ

How to debug with watchpoint in Keil μVision or IAR EWARM?  Issue Date: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

Products:
Applications:
Function: Software and Tools,Development-Environment,IAR,Keil