Using RTT in background mode with TI RM46

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Using RTT in background mode with TI RM46

      Hi,

      I'm using Segger RTT with A TI Hercules RM46L (ARM® Cortex®-R4F 32-Bit RISC CPU), and I want to use RTT in background mode.
      My problem is that the AP map detection seems to fail and fall back to the "Stop mode".

      imgur.com/a/7BwTDBY
      Imgur link because the forum is complaining about message size

      While the SEGGER wiki does not mention it supports the cortex-R core, the Using RTT on Cortex-A/R based devices application notes mention that it can be enabled if the AHB-AP exist

      imgur.com/a/RKgmcW6
      Imgur link because the forum is complaining about message size


      In the rm46l852 datasheet, there's mention that the AHB-AP exist

      imgur.com/a/KrjfgOD
      Imgur link because the forum is complaining about message size

      So according to this information, I think it should be feasible to enable it.
      It must be a configuration problem.

      How do I enable the RTT in background mode?

      I have tried to add the JlinkScritp without success

      Source Code

      1. int ConfigTargetSettings(void) {
      2. JLINK_SYS_Report("J-Link Script: ConfigTargetSettings(): Skip ECC RAM initialization");
      3. JLINK_ExecCommand("SetSkipInitECCRAMOnConnect = 1");
      4. JLINK_ExecCommand("SetIndexAHBAPToUse = 0");
      5. return 0;
      6. }


      As an additional note, I think I'm having a similar problem to this unresolved thread from 2019:
      [ABANDONED] TI RM57x (Cortex R5F) and RTT Background Mode

      Best,
      Gabriel