Red Suite 4 watchpoint

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Red Suite 4 watchpoint

1,305 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dhill on Mon Jun 04 15:39:42 MST 2012
I set a watch point in Red Suite 4 to stop execution on a write to a variable. I got an error message when I started execution again.

15: Target error from Set break/watch
Unable to set a watchpoint - no resource available

I am running on a LPC2368. Doesn't this processor support data write breakpoints?
0 Kudos
Reply
6 Replies

1,286 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dadalolo on Mon Sep 24 15:10:48 MST 2012
I know I can change global format. I was writing about the issue that the FORMAT of 'individual variable' changed during debug session is NOT kept after pressing F8 (run) when program then stopped at any breakpoint. This is a bug and I was hoping that it would be fixed some day.
0 Kudos
Reply

1,286 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Sep 16 17:07:44 MST 2012
Just switch it to decimal ;) http://support.code-red-tech.com/CodeRedWiki/DefaultDisplayFormats?
0 Kudos
Reply

1,286 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dadalolo on Sun Sep 16 15:19:34 MST 2012
When I add a variable to Watch Expression and change its FORMAT to say DECIMAL, then when I run the program in STEP by STEP mode, the format stays the same. But when I let the code run (F8) and the breakpoint is hit the FORMAT of that variable is changed back to HEX.

Can this be fixed somehow ?
0 Kudos
Reply

1,286 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dhill on Wed Jun 06 07:53:44 MST 2012

Quote: CodeRedSupport
The number of breakpoints and watchpoints is determined by the resources on the processor you are using. An ARM7 allows a maximum of 2 in total. See
http://support.code-red-tech.com/CodeRedWiki/HowManyBreakpoints
for more details



I can set 2 breakpoints but I can not set any watchpoints. I did not have any breakpoints set and attempted to set one watchpoint. Does the LPC2368 support 2 breakpoints and no watchpoints?
0 Kudos
Reply

1,286 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Jun 05 01:08:41 MST 2012
The number of breakpoints and watchpoints is determined by the resources on the processor you are using. An ARM7 allows a maximum of 2 in total. See
http://support.code-red-tech.com/CodeRedWiki/HowManyBreakpoints
for more details
0 Kudos
Reply

1,286 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by creafyumi on Mon Jun 04 19:35:40 MST 2012

Quote: dhill
I set a watch point in Red Suite 4 to stop execution on a write to a variable. I got an error message when I started execution again.

15: Target error from Set break/watch
Unable to set a watchpoint - no resource available

I am running on a LPC2368. Doesn't this processor support data write breakpoints?



How many watch points have you set? You may try delete some other watch points if you have too many of them.
0 Kudos
Reply