AnsweredAssumed Answered

How to use the range option when we are setting the watchpoint?

Question asked by Chaitanya Praveen Vutukuri on Jan 9, 2017
Latest reply on Jan 12, 2017 by Fall Guy

Hello Everyone,

I am trying to set a watchpoint for a global variable. when I click on "Toggle Watchpoint" after selecting a variable, there is a "range" option along with the other options(like read, write).

Is the "range" option used to program the mask register of comparator in DWT hardware to trigger a debug event, if an access is made in the range of addresses?

Is it effective in LPCXpresso v8.2.2?

I tried setting the range with different values and access memory locations with in the range, I cannot trigger a debug event for this.

Debug event is triggered only for the first address.

If the "range" option is effective, please tell me how I can use the it?

 

Thank you

 

Best Regards,

Chaitanya Praveen

Outcomes