Hello,
I have an 8M Mini processor I am trying to debug, and I'm having some difficulty learning about some of the debug registers on this processor. I came across this forum post (https://community.nxp.com/t5/i-MX-Processors/JTAG-Debuger-Selection-For-i-MX-8M-Mini/m-p/1177295), which supposedly allows debug of the M4 core. To enable M4-core debug, the JLinkScript runs the following lines of code:
JLINK_CORESIGHT_WriteAP(AHBAP_REG_ADDR, 0x007E0000);
JLINK_CORESIGHT_WriteAP(AHBAP_REG_DATA, 0x20008000);
JLINK_CORESIGHT_WriteAP(AHBAP_REG_ADDR, 0x007E0004);
JLINK_CORESIGHT_WriteAP(AHBAP_REG_DATA, 0x1FFE0009);
JLINK_CORESIGHT_WriteAP(AHBAP_REG_ADDR, 0x007E0008);
JLINK_CORESIGHT_WriteAP(AHBAP_REG_DATA, 0xE7FEE7FE);
This code isn't explained, and I can't find any information about these registers and what settings they control. The only thing the reference manual says about these addresses is that they're part of TCM Memory.
Can someone point me towards some more detailed information about these registers?