I wonder if anyone mastered connecting to bcm2837 with JLink and the Segger provided tools? OpenOCD can and does connecting fine using Link hardware. However, I want to use RTT, and that needs the native Sagger tooling. So I tried a few variations of jscript, attempting to configure CTI and debug base with no success.
JLINK_CORESIGHT_CoreBaseAddr = 0x80000000;
JLINK_ExecCommand("CORESIGHT_SetCSCTICoreBaseAddr=0x80018000");
It all ends up in:
No AP map specified by user. Setting auto-detected AP map.
DebugRegs + CTI manually specified. ROM table scan skipped.
Failed to identify core.
****** Error: Debug registers of core not found. Debugging not possible
Could not determine core debug registers + core CTI. Debugging not possible
The addresses are well know by OpenOCD, what is a working translation of them into Segger dialect?
set _DBGBASE {0x80010000 0x80012000 0x80014000 0x80016000}
set _CTIBASE {0x80018000 0x80019000 0x8001a000 0x8001b000}