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.

AM1705: Is it possible to access EmbeddedICE-RT debug registers from ARM core?

Part Number: AM1705

Hi. I'm running Linux 2.6.33 on an AM1705, and I'm debugging nasty memory issues in my user space application, so I'd like to have access to the hardware watchpoints for debug from gdb (or ptrace and a sigtrap handler). I found some patches that ARM added to the kernel to support them, but they're only for ARMv6 and up (and the debug interface seems to have changed a lot from ARM7/ARM9 to ARM11).

In the ARM docs for the ARM9 debug interface, I only see references to shifting in values to the debug registers over JTAG (which I don't have). So I just want to know how to set the values from within the ARM core in the Linux kernel.

Once I know that, I think I can figure it out from the ARM docs and openocd source.

Cheers, Tim