imxrt error could not connect to core

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

imxrt error could not connect to core

1,647 Views
ancymuhammed
Contributor III

We are using MIMXRT1176AVM. We had assembled 22 boards. All boards are initially working. But in some of the boards flashing error is observing now. We are using MCUExpresso and programming via SWD. Boot device is NOR flash connected via FlexSPI. The error shown is Wire ACK fault, could not connect to core, no connection to chips debug port. Mass erase option is working fine in these boards using MCU Utility tool.

What will be the possible reason for this error

0 Kudos
Reply
7 Replies

1,643 Views
jay_heng
NXP Employee
NXP Employee

What kind of HW debugger are you using?

Try to set chip boot mode to 2'b01 (serial downloader) before downloading. it will be more stable.

1,638 Views
ancymuhammed
Contributor III

LPC link 2 is used for debugging.It works fine in serial downloader mode, but not working via swd programming.Initially it was working. 

0 Kudos
Reply

1,608 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ancymuhammed ,

   When you use the LPC-LINK2, which firmware you are using? JLINK or CMSIS DAP?

   When you meet the can't download issues, you need to do the flash mass erase at first.

   When you use the LPC-LINK2 JLINK firmware, you need to make sure your app code don't contains the JTAG pin control, eg, the sdk, led_blinky, that will have influence to the LPC-LINK2 debugger, as the controlled LED is the JTAG_TDI.

 

Wish it helps you!

Best Regards,

Kerry

0 Kudos
Reply

1,604 Views
ancymuhammed
Contributor III

CMSIS DAP firmware is using. We are getting the issue in two boards, In one board mass erase functions good. But in other board it fails. Initially all the boards are working fine. Recently this issue appears

0 Kudos
Reply

1,574 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ancymuhammed ,

   To the other board, which even mass erase can't work.

   Whether use the serial download mode, use the MCUBootUtility tool can download the code and the app can work or not?

  Do you use the serial download mode, read the external flash, whether that works?

  You also can share your internal boot mode debug log when use the CMSIS DAP.

 

Best Regards,

Kerry

0 Kudos
Reply

1,550 Views
ancymuhammed
Contributor III

In the board in which mass erase does not works we cannot download the code using serial downloader. The error shows during erase is Failed to mass erase boot device error code is 20106. In other board serial downloader & mass erase is fine working. But in two boards could not connect to core error shows while programming via SWD

0 Kudos
Reply

1,543 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ancymuhammed ,

   Do you have the JLINK?

   Use the JLINK command, to check whether you can find the ARM core or not?

  If you even can't find the ARM core, it means, these two boards have hardware issues.

   I mean JLINK test result like this:

MIMXRT1170 JLINK.jpg

Best Regards,

Kerry

0 Kudos
Reply