Wire ACK Fault in DAP access

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

Wire ACK Fault in DAP access

12,642 次查看
saad_saeed
Contributor III

Hello,

I have just recently installed McuExpresso 10.3.0. Previously I was using McuExpresso 10.0.2. When I downloaded the latest SDK for FRDM K64 and tried to debug a demo example, I got this error.

Failed on connect: Nn(05). Wire ACK Fault in DAP access

I dont understand what is wrong. Kindly, help me with this.

Thanks,

Saad.

标记 (2)
0 项奖励
回复
17 回复数

9,424 次查看
Krish403
Contributor I

Hi,

We are also having the same problem as CBI.

Is your problem resolved? If so please post it here.

Thank you very much.

0 项奖励
回复

11,653 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Saad,

First, we need identify this issue is only on one project or a common issue for all project.

- please create a NEW project in a NEW workspace, see how the connection works.

- please test your project in a NEW workspace, how does it work?

If both of above can't fix the issue, I suggest you update your K64 firmware.

OpenSDA Serial and Debug Adapter|NXP 


Have a great day,
Jun Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

11,653 次查看
saad_saeed
Contributor III

Hello,

I have done what you said to me.

Now I am getting the following error

15: Target error from Commit Flash write
15: Target error from Commit Flash write
Cannot halt processor.
Debugging context: frdmk64f_lwip_tcpecho_bm Debug

0 项奖励
回复

11,653 次查看
saad_saeed
Contributor III

Thanks,

The issue has been resolved.:)

0 项奖励
回复

11,651 次查看
bjemt
Contributor III

I have the same problem

  • How did you solve the problem in the end?

0 项奖励
回复

11,651 次查看
bjemt
Contributor III

I found the problem was that the MCP was locked, It's a simple way of unlocking a MCU in MCUXpresso that I thought I'd share with other novices so they can get going again easily:

 

Unlock Kinetis MCU!!.png

 

Step 1: Open the GUI Flash tool

Step 2: Choose Resurrect locked...

Step 3: Hit Run.

 

In a moment the MCU will be unlocked and ready for more programming action!

5,365 次查看
cowles
Contributor I

In mcuxpressoide-11.7.1_9221 there is no such thing as "Resurrect locked ..."

0 项奖励
回复

5,282 次查看
ErichStyger
Specialist I

As the screenshot indicates:

"Resurrect locked Kinetis device": this feature exists for Kinetis devices only.

If you happen to have an LPC: try erasing the flash from the bootloader, or you might use a recover script like described here: https://mcuoneclipse.com/2023/07/25/linkserver-scripting-and-how-to-recover-mcus-with-a-script/

5,188 次查看
mrichardson
Contributor II

Tried the script....no dice.  But thanks for pointing me in that direction.

标记 (1)
0 项奖励
回复

5,167 次查看
ErichStyger
Specialist I

Thanks for trying. It worked in several cases on my side. Maybe indeed your device is permanently bricked.

11,604 次查看
Guntash
Contributor I

Worked for me as well. Thanks man!

0 项奖励
回复

11,651 次查看
bjemt
Contributor III

I have the same problem

  • How did you solve the problem in the end?

0 项奖励
回复

11,651 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Good to know it. You are welcome!


Have a great day,
Jun Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

10,871 次查看
CBI
Contributor II

The Problem has not been solved for me... I search a solution !!!

0 项奖励
回复

10,879 次查看
CBI
Contributor II

Hi all, 

I am young in this forum
Meanwhile When I perform this 

CBI_0-1614612775982.png

 

I have the following result

CBI_1-1614612812733.png

 

The detail infos in the console:

Executing flash operation 'Resurrect locked Kinetis device' (Resurrect locked Kinetis device) - Mon Mar 01 16:30:41 CET 2021
Checking MCU info...
Scanning for targets...
Executing flash action...
MCUXpresso IDE RedlinkMulti Driver v11.3 (Jan 11 2021 16:41:13 - crt_emu_cm_redlink.exe build 9)
( 0) Reading remote configuration
Wc(03). No cache support.
Found chip XML file in C:/Users/binard/Documents/MCUXpressoIDE_11.3.0_5222/workspace/frdmkw38_heart_rate_sensor_freertos/Debug\MKW38A512xxx4.xml
( 5) Remote configuration complete
Reconnected to existing LinkServer process.
Connecting to probe 1 core 0 (using server started externally) reports:
'Ee(42). Could not connect to core.'
Retrying...
Reconnected to existing LinkServer process.
Server OK but no connection to probe 1 core 0 (after 3 attempts) - Ee(42). Could not connect to core.
============= SCRIPT: kinetismasserase.scp =============
Kinetis Mass Erase Script
Error: Wire Ack Fault - target connected?
Assert NRESET
Reset pin state: 00
Error: Wire not connected
Power up Debug
Error: Wire not connected
Error: Wire not connected
No Debug Power
============= END SCRIPT ===============================
Failed on connect: Ee(42). Could not connect to core.
No connection to chip's debug port
(100) Target Connection Failed
Unable to perform operation!
Command failed with exit code 1

0 项奖励
回复

6,107 次查看
gpira
Contributor III

I have the same issue, do you find a solution?

0 项奖励
回复

9,319 次查看
hfabbasi
Contributor III

@CBI   Did you manage to find the solution for this? I am facing the same problem and tried the same solution but it is not working for me as well

0 项奖励
回复