Setting a Variable Watchpoint

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

In PSoC Creator 2.0 it is possible to set a breakpoint that stops execution when a variable is accessed, read from or written to. The variable is given by its name and the debugger calculates its physical address (I presume).

   

When debugging a PSoC3 project I try to set a watchpoint to an address in xdata, but till now I failed with that.

   

 

   

Can anybody direct me how to set a watchpoint for a hex-address in xdata?

   

 

   

Bob

0 Likes
2 Replies
Anonymous
Not applicable

Hi Bob,

   

based on all your previous postings you seem to be more of a C-Wiz than I am but here is a thought.

   

Are you using the integrated debugger or Keil uVision? There are a couple hints in the Keil Knowledgebase articles how to handle it in Keil. I do not know how applicable that is for the handling within the Creator debugger. and search for "absolute"

   

Hope this helps

   

www.keil.com/c51/faq.asp

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Thank you for your effort, I tried the suggestions in the knowledge base, but the Creator-software seemingly does not accept the syntax the Keil debugger (µVision) expects. Too sad....

   

 

   

Bob

0 Likes