J-Link breaks debugging (Failed to read current instruction) (Cortex-A7)

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

    • J-Link breaks debugging (Failed to read current instruction) (Cortex-A7)

      Hello!
      There is strange behaviour observed when debugging Cortex-A7 IMX6ULL processor.

      Application loading and debugging fine, but only until i opened Generic Timer peripheral from CP15 menu.
      After that debugging practically breaks, user no longer able to single step with these messages flooded the console:

      Source Code

      1. Could not read CP15 register.
      2. Debug.StepInto();
      3. Failed to read current instruction.


      I`am able to run and stop the application, but single stepping no longer works...

      Using Ozone's default Cortex-A7.svd file.

      The same behaviour with the IAR EWARM, it breaks single stepping after opening various peripheral registers/tabs.

      JLink log file attached.
      Regards, Vlad.
      Files
      • jlink.zip

        (13.13 kB, downloaded 960 times, last: )