How to set breakpoint on exception vector SAM7 openocd gdb

Hi all,

Is it possible to set a breakpoint at the exception vectors on the Atmel SAM7X series with openocd and gdb?

I’ve played around with it a bit, and software breakpoints work fine for normal code addresses, but I get a SIGTRAP when I try to break at the IRQ vector or the assembler handler (mode ARM_MODE_IRQ). I can however break on the C IRQ handler (mode ARM_MODE_SVC). Weird…

Thanks

I should also mention that I use an Amontec JTAGKey JTAG adapter. I’ve heard rumors that this works with a Wiggler adapter, but not with the JTAGKey.

Maybe the OpenOCD forum is a more appropriate place to ask this