Failed on connect: Ee(42) Could not connect to core. No connection to chips debug port

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

Failed on connect: Ee(42) Could not connect to core. No connection to chips debug port

1,056 Views
dparth
Contributor I

I have been facing this issue when I try to load any code on i. MX RT1064 eval board. Can you please help me to clear this error? Already tried to change cable and usb port but did not work.

0 Kudos
Reply
3 Replies

1,038 Views
dparth
Contributor I

Hello,

Many thanks for the response.

Yes I am connecting the board through J41.

My PC would not let MCUbootUtility tool run- blocked by security software. Is there any other source to download/install it?

0 Kudos
Reply

1,031 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @dparth ,

   1. About tool download in serial download mode, you also can try this nxp.com tool:

https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-s...

 

 2. Please try whether you can download code to internal RAM in serial download with the onboard CMSIS DAP debugger.

  If yes, you can use my attached code to test your internal flash, whether erase, program and read can work successfully.

kerryzhou_0-1647309179537.png

When this can work, then you can change the erase location from 0x60000000.

Just do the mass erase.

Please try it on your side, any updated information, please kindly let me know.

Best Regards,

Kerry

 

0 Kudos
Reply

1,046 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @dparth 

  Do you connect the USB to J41, and can you find the CMSIS DAP debugger?

  If yes, and previously, you can download code, just now can't download code, you need to do the flash mass erase at first.

  Please follow me to test it.

  1. Power off the board, SW7:1-OFF,2-OFF,3-OFF,4-ON, enter serial download mode. 

  2. Download the MCUbootUtility tool:

https://github.com/JayHeng/NXP-MCUBootUtility/archive/refs/tags/v3.4.0.zip

the related user manual is:
https://github.com/JayHeng/NXP-MCUBootUtility

  3. find another USB connect to J9, then 

kerryzhou_0-1647229620064.png

Connect the board, and erase the chip flash.

Then exit,

4. power off, SW7:1-OFF,2-OFF,3-ON,4-OFF

Use your CMSIS DAP connect again, you can test the SDK led_blinky simple code, it should works Ok now.

 

Best Regards,

Kerry

 

 

0 Kudos
Reply