I see on the i.MX RT 1010 EVK schematic on the section labeled "Freelink" that there are buffers and jumpers on the JTAG/SWD signals. It is unclear, nor can I find any documentation on, if an EVK can be used to program an external design using an MCU in the same family. Can this be done?
If external target programming is possible, should JTAG or SWD be used? What would the connection from an EVK to another MCU look like?
Hi vishayp,
The EVK on board debugger SWD interface has two, but one for LPC4322JET100 which is the freemaster own chip, another is the on board target RT1010 chip, so, no directly SWD interface to connect the external target.
But, from the following picture which is cut from the schematic, you can find the related SWD can be disconnect from the on board target.
So, if you want to use the external target, J61, J62 disconnect, then use the related pin1 to connect your external debugger, please also note, you still need to add the VDD, VSS to your external board.
You can try it on your side, but no directly SWD interface.
In fact, I highly suggest you use the external debugger, eg, our LPC-LINK2, MCU-LINK:
https://www.nxp.com/design/development-boards/lpcxpresso-boards/mcu-link-debug-probe:MCU-LINK
Wish it helps you!
Best Regards,
Kerry