OpenSDA connect fail

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

OpenSDA connect fail

1,155 Views
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 Kudos
4 Replies

874 Views
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 Kudos

874 Views
leeyong
Contributor I

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

0 Kudos

874 Views
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 Kudos

874 Views
leeyong
Contributor I


Jlink Segger V4.90

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

0 Kudos