Segger GDBServer (SWV tracing) stopped working after J-Link FW upgrade
- January 24, 2022
- 5 replies
- 3791 views
I had a perfectly working setup:
Target STM32F411 , a probe Segger J-Link mini, GDBServer configured with SWV trace running at max speed over SWO wire, STM32CubeIDE and all it's "underwear" was upgraded to the latest (current) .
The only old version in the fully working system was the J-Link probe firmware.
As CubeIDE persisted in suggesting to upgrade that FW, I finally did that. After the upgrade the Debugger stopped working.
Specifically , it works only if I disable SWV functionality (SWO pin, ITM Cortex-M7 internal function) . When SWV is selected as before the upgrade with all the same configuration and hardware connection, then loading of target fails . The screenshot of the pop-up information provided by DGBServer is attached. The console debug window does not provided any more information and I cannot find option for DGBServer logs in the Debug configuration screen (I know where it was in the past but not any more).
Using the J-Link configurator I confirmed that the version of FW is the latest. Using J-Link commander I confirmed that the target is working fine . Only GDBServer in CubeIDE fails using J-Link probe to enable SWV configuration.
The linker script is the same previously working.
Please somebody suggest what could be broken after the upgrade?
