Hello
We designed a board which is almost a clone of the MIMXRT1010-EVK. In order to setup our custom board for programming, we followed the instructions in AN13206.pdf for setting up the OpenSDA probe. The first step is to program the OpenSDA bootloader. It is working and the board anumerate as a Maintenance drive. We are able to go to the second step and load the OpenSDA firmware for our microcontroller. The board disconnect and reenumerate as a RT1010-EVK drive. We are able to program the IMXRT1010 microcontroller. However if we unplug the board and plug it in again it enumerate again as a Maintenance drive. We did the same steps with an original MIMXRT1010-EVK and the board enurate as a RT1010-EVK drive even after several plug/unplug.
Could you please tell what is making our board enumerating in maintenance mode after power loss. Thanks in advance. Jérémy
Solved! Go to Solution.
Hi Diego
Thanks for your reply. So I did some progress. To answer to your question:
* Yes the schematics of our board is almost a clone of the MIMXRT-1010-EVK. We removed only useless sections for us like sound code, ...
* I am able to program the probe as a JLINK probe and program and debug the target IMXRT1010 under MCUxpresso
* If I plug and unplug the board it enumerates as a JLINK probe and I can reprogram the target
* If I switch back to open SDA, after programming the probe it enumerates as MIMRXRT1010 drive but if i unplug and then plus again the board, it enumerates as a Maintenance drive. Some conclusions:
=> I re-red the AN13206. It says that in JLINK mode the prode does not drive the power converter of the target
=> I went to the conclusion that my problem could come from the activation of the target so I powered the probe (with OpenSDA firmware) but by disconnecting the target power. Surprisingly the probe enumarate as a MIMRXRT-1010 drive as it should do.
Conclusion: The power drown from the target MCU during probe enumeration yield to making the probe not booting in OpenSDA mode but keeps it in maintenance mode. I do not know currently why the official board is not affected by this problem and mine is. If you have any ideas of the source of the problem I would appreciate your insight.
Thanks in advance for your valuable help. Kind regards, Jérémy
Hi @jterrien
Thank you for reaching out.
I just have a couple of questions. I do not know if the OpenSDA FW you loaded gets lost after reset, or if the LPC43xx is entering on DFU mode.
Is your on-board debugger circuitry ( for the LPC43xx ) the same than the one we have on the RT1010 EVK?
Are you installing the FreeLink debug FW or the LPC Link 2 FW? It sounds like that you are following chapter 4 Switching back to OpenSDA DapLink firmware (factory default firmware) steps from the AN.
Could you try with Segger FW ?
Diego