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
LPC link 2 is used for debugging.It works fine in serial downloader mode, but not working via swd programming.Initially it was working.
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
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
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
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
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:
Best Regards,
Kerry