MIMXRT1060-EVK Stops responding to onboard debugger and does not run the preprogrammed example

cancel
Showing results for 
Search instead for 
Did you mean: 

MIMXRT1060-EVK Stops responding to onboard debugger and does not run the preprogrammed example

210 Views
rtilson
Contributor III

While developing on the mimxrt1060-evk I tried to use the OCRAM (0x2020_0000) as the loading point for my application. The program failed and the chip threw Hardfaults. However, after I corrected the configuration in the IDE, the MCU stopped responding to the built in debugger and is not executing the preprogrammed example. I am not sure what happened and not sure how to proceed with diagnosing the issue.

The configuration boot switch SW5 is all set to the off position, and the SW7 switch has 1,2,4 set to off and 3 set to on. I have not attempted to write any programs to the flash chips or change the onboard programming from the factory.

How do I come out of this state?

The redlink log file:

[Started server]
[Connected on port 3025]
redlink> ProbeList
Index = 1
Manufacturer = ARM
Description = CMSIS-DAP
Serial Number = 02290000060ba1d500000000000000000000000097969905
VID:PID = 0D28:0204
Path = \\?\hid#vid_0d28&pid_0204&mi_03#7&33a7b045&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
redlink> ProbeStatus
Index = 1
Manufacturer = ARM
Description = CMSIS-DAP
Serial Number = 02290000060ba1d500000000000000000000000097969905
VID:PID = 0D28:0204
Path = \\?\hid#vid_0d28&pid_0204&mi_03#7&33a7b045&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 64
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = CMSIS-DAP
Probe Reference Count = 0
redlink> ProbeIsOpen 1
FALSE
redlink> ProbeOpenByIndex 1
Probe Handle 1 Open
redlink> WireIsConnected 1
FALSE
redlink> WireSwdConnect 1
DpID = 0BD11477
redlink> CoresConfigured 1
TRUE
redlink> CoreList 1
Error: Wire Ack Fault - target connected?
redlink> ProbeStatus
redlink> quit

Labels (1)
0 Kudos
3 Replies

145 Views
Sabina_Bruce
NXP Employee
NXP Employee

Hello Richard,

Hope you are doing well.

Please set your board to serial downloader SW7 1,2,3 off and 4 on. Flash a known example such as blinky from the SDK. Once it is recovered you can return your SW7 to 1,2,4 off and 3 on and continue debugging.

Please let me know if this results positive for you.

Best Regards,

Sabina

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

----------------------------------------------------------------------------------------------------------------------- 

0 Kudos

145 Views
rtilson
Contributor III

Hello Sabina,

 Thank you for your response. I depopulated U33 and I was able to continue to debug as normal. Right now I have no intention in doing Flash operations and thus removing that chip was an easy solution to my problem.

Thanks.

0 Kudos

145 Views
Sabina_Bruce
NXP Employee
NXP Employee

Glad that you were able to resolve this.

Best Regards,

Sabina

0 Kudos