OpenSDA connect fail

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

OpenSDA connect fail

1,193 次查看
leeyong
Contributor I

I have MKW25D512 develop board, I had connect it by OpenSDA, but I can't connect it now, I try to connect to it by SWD ports.and given massages is"ERROR: Could not power up debug port: Control/Status register reads D0000040 ",why? how to solve it. Thanks!

0 项奖励
4 回复数

912 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello lee,

Which IDE do you use ?

And please screenshot your debug configuration and the error .

BR

Alice

0 项奖励

912 次查看
leeyong
Contributor I

我原来用IAR使用OpenSDA方式进行连接,可以正常连接,后改过一次程序,下到板子后就再也无法连接了,同时我使用Jlink 的SWD方式连接,提示我"ERROR: Could not power up debug port: Control/Status register reads D0000040“,请问如果程序有问题,有什么方法可以完全擦除掉里面的程序进行重新下载,现在我怎么也连接不上,所以无法擦除。

0 项奖励

912 次查看
AngelC
Senior Contributor I

Dear Lee,

It is still unclear the IDE you are using, are you using IAR or another tool? Also, you mentioned you used the openSDA successfully before, is that correct? If so, what changes have you done recently that could have caused such issue?

Moreover, you may use the Jlink commander utility from Segger to unlock the kinetis W devices. Please check a similar thread where a solution to this has been discussed. You may try if that works too.

Link: https://community.freescale.com/message/473258

Regards,

AngelC

0 项奖励

912 次查看
leeyong
Contributor I


Jlink Segger V4.90

{C$165P~PSLL@L5U(04-20-16-05-28).png

0 项奖励