pyOCD: MIMXRT1050-EVKB flash fails
Flash MIMXRT1050-EVKB board constantly fails. There seems to be two type of errors occurring. Daplink details.txt and full traces are attached.
Error number one:
pyocd.probe.pydapaccess.dap_access_api.DAPAccessIntf.TransferError: No ACK received
Error number two:
pyocd.core.exceptions.DebugError: No cores were discovered!
$ pyocd --version
0.24.1
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 55 (23 by maintainers)
cc @jhqian (Big thanks for helping us finally make some real progress on the RT1052!)
@juhhov Thanks for testing. Basic flashing also works for me, and I similarly see an exception in some other cases. The failures may be due to not having code on the device. The “No ACK received” error means that the target is not responding to SWD at all. I’m going to look into it some more.
(Btw, you don’t need to include the
--pack
argument in the command line since you are using the builtinmimxrt1050_hyperflash
target type. The RT1052 pack also has some issues that prevent it from being used by pyOCD.)It really should not matter WHAT is currently in the flash, IMHO. Whatever is there, should get overwritten by the DAPLINK application anyway (if you’re flashing a
.bin
-file). So, we clearly have some underlying issue here at hand.Well, that was a bit premature. Actually, even the USB mode flashing fails now.
FAIL.TXT
says now:So, the board is now stuck in a non-programmable mode.
Seems we have others with the same issue; https://os.mbed.com/forum/platform-317-MCIMX6RT1050-EVK-community/topic/33537