Powering target with Segger J-link debugger

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Powering target with Segger J-link debugger

跳至解决方案
6,625 次查看
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

标签 (1)
0 项奖励
回复
1 解答
6,603 次查看
ErichStyger
Specialist I

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

 

在原帖中查看解决方案

3 回复数
6,614 次查看
ErichStyger
Specialist I

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

6,609 次查看
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 项奖励
回复
6,604 次查看
ErichStyger
Specialist I

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