I would like to access the internal registers via the ARM DAP using JTAG. The following is written in the Reference Manual::
- Debug mode: JTAG_MOD == 0, DAP is the only TAP controller in the daisy chain
- Test mode: JTAG_MOD == 1, SJC is the only TAP controller in the daisy chain.
I was able to successfully test the test mode (JTAG_MOD = 1). The instruction register length is 5 bit (IRSHIFT) and I was also able to read the device ID (DRSHIFT).
Unfortunately the debug mode (JTAG_MOD = 0) does not work. The instruction register length is still 5 bit and not 4 bit as expected for the ARM DAP. Also the Device ID is still the same and not the ARM ID as expected.
It looks as if the switch to the debug mode not working.
The BOOT_MODE0-3 pins are all = 1.
Are there any other conditions that have to be fulfilled to use the debug mode?
Many thanks