AnsweredAssumed Answered

OpenSDA binaries for the MIMXRT1010-EVK

Question asked by Kevin Chevens on Nov 27, 2019
Latest reply on Dec 3, 2019 by Victor Jimenez

I'm  using  a MIMXRT1010-EVK dev board. I have managed to corrupt the OpenSDA debugger that resides on the LPC4322JET100 chip. After some experimentation I have managed to reprogram the boot loader with a bin found here

MIMXRT1060-EVK as this seemed to be the closes to what I need. 

When I connect the debugger it now shows as RT1060-EVK. I was then able to get it into MAINTENANCE mode (which incidentally required the changing of jumper J27 on my board, not in the documentation and why I got into this problem). From MAINTENANCE mode I was then able to reload the DAPLink v0244 firmware, again for the RT1060. My Eclipse IDE can now see the debugger, however this is the result of a debug session:

 

xPack OpenOCD, 64-bit Open On-Chip Debugger 0.10.0+dev (2019-07-17-11:28)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
Warn : Transport "swd" was already selected
adapter speed: 1000 kHz

Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : CMSIS-DAP: SWD Supported
Info : CMSIS-DAP: FW Version = 1.10
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 0 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 1000 kHz
Info : SWD DPIDR 0x0bd11477
Info : imxrt1011.cpu: hardware has 8 breakpoints, 4 watchpoints
Info : imxrt1011.cpu: external reset detected
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
target halted due to debug-request, current mode: Thread
xPSR: 0x61000000 pc: 0x60002d20 msp: 0x20007fe8
Error: Failed to read memory and, additionally, failed to find out where
Error: Failed to read memory and, additionally, failed to find out where
Polling target imxrt1011.cpu failed, trying to reexamine
Error: Could not find MEM-AP to control the core
Examination failed, GDB will be halted. Polling again in 100ms
Error: Could not find MEM-AP to control the core
Info : AP write error, reset will not halt
Error: DP initialisation failed

Polling target imxrt1011.cpu failed, trying to reexamine
Error: Could not find MEM-AP to control the core
Examination failed, GDB will be halted. Polling again in 300ms
Warn : target was in unknown state when halt was requested

Polling target imxrt1011.cpu failed, trying to reexamine
Error: Could not find MEM-AP to control the core
Examination failed, GDB will be halted. Polling again in 700ms
semihosting is enabled

Error: Failed to write memory and, additionally, failed to find out where
Error: Failed to write memory and, additionally, failed to find out where
Error: Failed to read memory and, additionally, failed to find out where
Error: Failed to read memory and, additionally, failed to find out where
Info : dropped 'gdb' connection

 

Not totally unexpected. So my question. Is there a copy of the boot loader and DAPLink binaries for the MIMXRT1010-EVK available?

Outcomes