Programmer for NXP i.MX RT1020, RT1062 - Page 1
Forum section: electronics / general

author: luiHS
author_rank: Frequent Contributor
timestamp: April 14, 2020, 10:45:41 am
content: Hi.I have two ARM programmers, a Chinese Jlink V9 and an original PE Multilink. I use them to program the Kinetis microcontrollers, I practically only use the Jlink because it allows me to work both from MCUXpresso, and to program directly with the Jflash utility.Now with the NXP RT1020, RT1050 and RT1062 microcontrollers, I don't have a complete solution to program the microcontroller, if I don't use MCUXpresso having the source code developed in this IDE. There are applications that are developed for Teensy 4.0 that works with RT1062, and once the program has been compiled I don't see how to program the object code on a board developed by me with RT1062, I can use Teensy 4.0 in the development stage, but my product end includes my own board.My Jlink V9 does not support NXP RT series, and PE Multilink does not supply any application (free of charge) to directly program the object code, as Jflash does for Jlink. There is a PROGACMP application for Multilink, but it is quite expensive, what I do not understand is how this application is not included at no cost with the purchase of the programmer.Right now the only option I see is to buy a Jlink V10 from the Chinese, to be able to use Jflash V6.70 that does support the NXP RT series, or to put a USB connector on my boards with the RT, to be able to load the firmware using the bootloader of the microcontroller.What other solution would I have that is not very expensive?Best Regards

author: Evan.Cornell
author_rank: Regular Contributor
timestamp: April 14, 2020, 11:50:59 am
content: In extensive use with NXP's higher i.MX processors (i.MX6 & i.MX8), I've always just had a micro USB on the board to use their mfgTool. I am not sure if RT series uses that same paradigm, but if it does, that's probably path of least resistance.

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: April 14, 2020, 12:04:06 pm
content: I have not tested them yet, But I have designed my own i.MXRT1052, it's in the way from china to his home town for now. I have checked, you can use jflash and jlink to program them,

author: luiHS
author_rank: Frequent Contributor
timestamp: April 14, 2020, 12:05:49 pm
content: Quote from: Evan.Cornell on April 14, 2020, 11:50:59 amYes, the RT series also allows USB programming using mfgTool.I will test it, but I prefer not to have to put in all my boards a micro USB connector, because I do not use it for other applications. All the updates that I give for my products are with micro SD cards, which I also use to store application configuration files.I would like more to be able to program the boards by SWD, with a TC2050 connector, so there is no additional cost or connector to put on the board. This is how I do it on my cards with Kinetis.I will test all the options, also with a Jlink V10 from the Chinese. What was a bad purchase is PE Multilink, expensive and without any included program to be able to program the microcontrollers, money wasted.

author: luiHS
author_rank: Frequent Contributor
timestamp: April 14, 2020, 12:10:06 pm
content: Quote from: ali_asadzadeh on April 14, 2020, 12:04:06 pmWhich version of Jlink is yours, have you tried it?Mine is V9, and with Jflash V6.14 it doesn't support RT.I have later versions of Jflash, up to V6.70, but I do not know if they are compatible with these Chinese Jlink V9, the programmer could be damaged by not being original.

author: cgroen
author_rank: Unknown
timestamp: April 14, 2020, 12:15:33 pm
content: Luis,I use Tag connect on all my designs (also RT), and I use Keil for development on all my ARM designs (been using Keil for more than 25 years now, first 8051 and last 18 years for ARM).I use their various uLink adapters (ME/Pro etc), and I "have heard" that you can buy cheap copies (from China, where else....) of their uLink adapters on ebay....You can most probably use these with other vendors programming software (including MCUxpresso)....

author: luiHS
author_rank: Frequent Contributor
timestamp: April 14, 2020, 02:45:16 pm
content: Thanks cgroen.I will look for information about uLink, the important thing is that it includes software to be able to directly program the microcontrollers by SWD, in addition to being supported by MCUXpresso.

author: cgroen
author_rank: Unknown
timestamp: April 14, 2020, 02:52:19 pm
content: Quote from: luiHS on April 14, 2020, 02:45:16 pmLuis,the uLink programs all SWD devices. I'm currently actively, using EFM32GG230, LPC11C24, LPC824, LPC845, LPC1788, LPC5460x, i.MXRT1050, 1052, 1060 and 1064, LPC1549, all programs perfectly fineRegards,Carsten

author: ehughes
author_rank: Frequent Contributor
timestamp: April 14, 2020, 06:33:33 pm
content: Step 1.)Buy a a real j-link, not a pirated one.Step 2.)Debug with the real j-link.You might also be able to to get a LPC-LINK-2 and use with JLINK firmware. I believe the license allows you to use it for development on NXP devices.

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: April 14, 2020, 07:15:25 pm
content: Quotemy j-link is version 8.0,it's a clone and it can do almost any device It had touched!But I can test and confirm that it would work on RT series about a month later, when I get my PCB's from china and solder them and test them.

author: luiHS
author_rank: Frequent Contributor
timestamp: April 15, 2020, 04:01:09 am
content: Quote from: ali_asadzadeh on April 14, 2020, 07:15:25 pmOk, thanks.My version of Jlink is v9.40, but I use version 6.14 of Jflash.I have been looking at other versions of Jflash and it is from 6.40 when they support NXP RT series, I think I will try it, maybe it will work. I have until 6.70.About the v10 interface, what I read is that it is much faster loading.