I'm using a Renesas demobaord with RA6M5 (R7FA6M5BH) microcontroller and e2studio IDE-Debugger (eclipse based)
I configured debugging with jlink over SWD and enabled SWO for printf debug using ITM (SWO)
Debugging with an external Jlink Ultra+ (version 7.96H) i didn't see any print on console
Instead, using an oboard jlink (J-Link OB-S124 compiled Oct 30 2023) SWO works fine and i see print on console
Capturing jlink DLL log in both cases, when SWO is enabled in IDE, i saw a difference in registers programming sequence, writing TPIU_ACPR:
in case of on boad J-Link OB-S124, 0xC7 value is written and SWO works, instead in case of Jlink Ultra+, 0x02 value is written and SWO doesn't work
Attached log for both sequences.
Due nothing changed in IDE-Debug settings (in e2studio project) in both cases, i suppose that different behaviour is up to jlink devices, so it seems an issue on jlink Ultra+ firmware
I'm not able to perform a similar test using SEGGER OZONE due a critical issue in OZONE with enabling SWO using Renesas RA6M5
See this post:
forum.segger.com/index.php/Thr…U/?postID=33883#post33883
I configured debugging with jlink over SWD and enabled SWO for printf debug using ITM (SWO)
Debugging with an external Jlink Ultra+ (version 7.96H) i didn't see any print on console
Instead, using an oboard jlink (J-Link OB-S124 compiled Oct 30 2023) SWO works fine and i see print on console
Capturing jlink DLL log in both cases, when SWO is enabled in IDE, i saw a difference in registers programming sequence, writing TPIU_ACPR:
in case of on boad J-Link OB-S124, 0xC7 value is written and SWO works, instead in case of Jlink Ultra+, 0x02 value is written and SWO doesn't work
Attached log for both sequences.
Due nothing changed in IDE-Debug settings (in e2studio project) in both cases, i suppose that different behaviour is up to jlink devices, so it seems an issue on jlink Ultra+ firmware
I'm not able to perform a similar test using SEGGER OZONE due a critical issue in OZONE with enabling SWO using Renesas RA6M5
See this post:
forum.segger.com/index.php/Thr…U/?postID=33883#post33883