Problem debugging FRDM-K22F in Linux with Segger J-Link OpenSDAv2.1 Firmware

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem debugging FRDM-K22F in Linux with Segger J-Link OpenSDAv2.1 Firmware

732 Views
sjbrech
Contributor II

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

Labels (1)
0 Kudos
3 Replies

508 Views
Carlos_Mendoza
NXP Employee
NXP Employee

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

0 Kudos

509 Views
sjbrech
Contributor II

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

0 Kudos

509 Views
Carlos_Mendoza
NXP Employee
NXP Employee

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

0 Kudos