I am using an FRDM-K22F with the Segger J-Link OpenSDAv2.1 Firmware installed (Installed the 2.1 firmware from Windows).
I am able to use KDS to debug from within Windows, but prefer to be able to debug using KDS in Linux, as that is my "normal" build/dev environment.
When the board is connected to my linux machine, I am able to see the serial connection fine, and I get serial output from the previously programmed code (programmed from KDS debugger on Windows), but when I try to launch the debugger from KDS it fails to launch successfully.
Attached:
KDS console and terminal output
KDS Debugger settings
Original Attachment has been moved to: kds_console_output.txt.zip
Original Attachment has been moved to: kds_launch_terminal_output.txt.zip
Hi Steve,
Could you tell us which Linux distribution are you using?
Have you tried using one of the alternative debug connections (OpenOCD, P&E)?
Best Regards!
Carlos Mendoza
Technical Support Engineer
Hi Carlos, thank you for the reply.
I have since resolved the issue. I ended up debugging an issue with the J-Link driver. I am not entirely sure what the problem was, but I reinstalled the driver and it started working. Unfortunately I am not sure the root cause, but I may have had an older version of the driver previously installed.
This issue is resolved (question answered).
-Steve
Hi Steve,
Thanks for your reply, it is good to heat that the problem was resolved reinstalling the driver.
Best Regards!
Carlos Mendoza
Technical Support Engineer