Powering target with Segger J-link debugger

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

Powering target with Segger J-link debugger

Jump to solution
3,608 Views
Msanad
Contributor II

Hello,

I'm trying to build a project with the KL03z baord using Kinetis Design Studio IDE, but I'm constantly facing problems when debugging. It keeps on giving the same error dialog "could not connect to target"

Before I was using MCUXpresso,  it all was going smoothly and when I have this error message, I just check the "Power target" and "Initialize CPU registers" in the "Debug configuration" panel and this fixes it.

However, with Kinetis Designer Studio, I can't find this feature anywhere ( Power target), so any help or tips will be highly appreciated.

MSanad

Labels (1)
0 Kudos
1 Solution
3,586 Views
ErichStyger
Senior Contributor V

the power on/off is an option to the J-Link

ErichStyger_0-1654071812071.png

Please check your J-Link documentation about the command to be used.

You can add an options like this in KDS as 'other options':

ErichStyger_1-1654072002511.png

 

View solution in original post

3 Replies
3,597 Views
ErichStyger
Senior Contributor V

What exact J-Link debug probe are you using? Because in general J-Link probes do not provide the target power.

3,592 Views
Msanad
Contributor II

Hello,
It's the Flasher ARM one, it's the same one used with the other IDE. I just had to permet "Power target", but now I can't do that with Kinetis Design Studio.

0 Kudos
3,587 Views
ErichStyger
Senior Contributor V

the power on/off is an option to the J-Link

ErichStyger_0-1654071812071.png

Please check your J-Link documentation about the command to be used.

You can add an options like this in KDS as 'other options':

ErichStyger_1-1654072002511.png