iMXRT1064 SWD programming from an external microcontroller

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMXRT1064 SWD programming from an external microcontroller

285 Views
etronic_arg
Contributor III

Hi,

I just want to program the internal FlexSPI flash of the iMXRT1064 from an external microcontroller via SWD interface using GPIOs.

I managed to flash a Kinetis K64F from another K64F using 4 GPIO pins connected to a SWD interface (SWDIO, SWDCLK, RESET, GND).

1. Is that possible?
2. Should I only change the programming algorithm?
3. Where can I get the programming algorithm for the iMXRT1064?

Thanks

0 Kudos
Reply
1 Reply

258 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @etronic_arg ,

Thanks for your interest in NXP MIMXRT series!

From your description, this application scenario appears to be an offline programmer? Although we have not provided a direct example, this should be possible. One question is, if the SWD is emulated using GPIOs, will the rate be slower? In addition, a previous customer put the RT MCU on the slave side into serial download mode by using the MCU as the host and wrote image in serial download mode. There should be an advantage in speed in this way, and it is also recommended that you consider it.

Best regards,
Gavin

0 Kudos
Reply