Alexander K.
Alexander K.

Reputation: 1

STM32F407 Debugging via JTAG: STICKYERR issue with DHCSR register access

I am playing with debugging STM32F407 via JTAG protocol and DAP interface etc. I want to use the DHCSR register to stop the processor (set the C_HALT bit in this register). And to do this through the interface DAP need to configure the register CSW, write the address of DHCSR in the register TAR and the necessary data in the register DRW, all this I do but after all this procedure I constantly get an error STICKYERR in the DAP register CTRL/STAT and accordingly can not read the register DHCSR or write to it. What I do wrong?

I attempted to halt the STM32F407 processor using the DHCSR register via the JTAG protocol and DAP interface. My steps:

After this I got STICKYERR in the DAP register `CTRL/STAT.

Upvotes: 0

Views: 139

Answers (0)

Related Questions