This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Breakpoint on Write to a Register?

Hello,


I am debugging with CCSv6, using a Blackhawk USB560v2, connected to my custom hardware which is based off of the Beagle Bone Black. My Linux kernel version is 3.14.


Is it possible to set a breakpoint/watchpoint when a register is written to? For example, if I want to break when the register GPMC_CONFIG5_3 is written to?

In the Breakpoint Manager, I am trying to add a New Hardware Watchpoint, and am entering 0x50000100 as the location (the address of GPMC_CONFIG5_3), and selecting "Write" as the operation to break on.

Upon kernel boot, the execution is never haulted, although I know that this register is being changed at some point.

I have followed similar steps to set a watchpoint on memory addresses of variables in my code and those seem to halt execution as expected. Is there something else I need to do for registers?

Thank you for your time - Anthony