Em(01). Cannot find MEM-AP selected by core index (check target power)

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

Em(01). Cannot find MEM-AP selected by core index (check target power)

Jump to solution
3,973 Views
anthonyama
Contributor III

I read data from Flash (0x70300000 ~ 0x70400000), then copied them into buffer of RAM

For several times, I can not start for debug and got below error.
Any idea what has caused this and how to fix it?

Executing flash operation 'Program'
Checking MCU info...
Scanning for targets...
Executing flash action...
MCUXpresso IDE RedlinkMulti Driver v11.3
( 0) Reading remote configuration
Wc(03). No cache support.
Found chip XML file in
( 5) Remote configuration complete
Reconnected to existing LinkServer process.
============= SCRIPT: RT1064_connect.scp =============
RT1064 Connect Script
DpID = 0BD11477
Error: Wire Ack Wait Fault
Error: Wire Ack Wait Fault
Disabling MPU
Error: Wire Ack Wait Fault
Error: Wire Ack Wait Fault
Configure FlexRAM for 768KB OC RAM, 128KB I-TCM, 128KB D-TCM
Error: Wire Ack Wait Fault
Error: Wire Ack Wait Fault
Error: Wire Ack Wait Fault
Finished
============= END SCRIPT =============================
Probe Firmware: CMSIS-DAP (ARM)
Serial Number: 023200001
VID:PID: 0D28:0204
USB Path: \\?\hid#vid_0d28&pid_0204&mi_03#8&26260f74&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
connection failed - Em(01). Cannot find MEM-AP selected by core index (check target power).. Retrying
Failed on connect: Em(01). Cannot find MEM-AP selected by core index (check target power)
Connected&Reset. Was: NotConnected. DpID: 0BD11477. CpuID: 00000000. Info: <None>
Last stub error 0: OK
Last sticky error: 0x0 AIndex: 0
No debug bus (MemAp) selected
DAP Speed test unexecuted or failed
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
(100) Target Connection Failed
Unable to perform operation!
Command failed with exit code 1

 

I've read other questions, but still not be solved because I don't have j-link tool

https://community.nxp.com/t5/MCUXpresso-General/MCUXPresso-debugging-issues/td-p/916383

and on mimxrt1064, what jumper is used for Mass Erase?

Could you give me the position of that jumper by image?

https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-evk-quot-0-available-SWD-Devices-detected...

anthonyama_1-1624353692140.png

 

anthonyama_2-1624353702866.png

 

BR,

Anthony

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
3,947 Views
anthonyama
Contributor III
0 Kudos
Reply
2 Replies
3,948 Views
anthonyama
Contributor III
0 Kudos
Reply
3,972 Views
anthonyama
Contributor III

??

0 Kudos
Reply