|ARM Technical Support Knowledge Articles|
Applies to: uVision IDE
Information in this article applies to:
In uVision, how do I set a watchpoint on a particular memory location? For example the CAN Control/Status Register at EF00H?
Attempting to use either C1CSR or
(*((unsigned int volatile sdata *) 0xEF00))
(used in CAN.H to define the register) fails.
In order to set a watchpoint on a memory location, you must enter the appropriate WATCHSET command into the Command window. The following command sets a watchpoint in Watch Window #1 on location EF00H:
WS 1, _RBYTE(0xEF00)
The manual may be obtained by clicking on the Books tab and choosing 'uVision Getting Started'.
Article last edited on: 2005-07-19 10:05:02
Did you find this article helpful? Yes No
How can we improve this article?