SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By ananya.muddu
#196032
Hi,

I am studying OpenOCD source code to understand how one can sample the PC (program counter) of Cortex A9 non-intrusively (processor does not halt) by bitbanging the JTAG port from a microcontroller. There is no dedicated external debugger device (such as the Segger J-link) in the loop. The microcontroller bitbangs directly to the DAP inside the Cortex A9.

I need help from OpenOCD users and developers to understand if:
- it is feasible to sample the Cortex A9 PC non-intrusively using bitbanging
- there are any source code examples in OpenOCD that can guide me

Best regards,
Ananya