iMXRT: USB with Flashing and Data Measurements

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

iMXRT: USB with Flashing and Data Measurements

619 Views
Sam_ECU
Contributor IV

Hallo,
In preparation to moving to a custom board following the first part of software development with MBDT. I've several overarching questions:

I'd like to be able to easily flash the iMXRT1010 over USB and continue to make measurements using Freemaster (and other measurements tools).

1a. How to set up the USB-OTG to flash the iMXRT1010 using MCU-BootUtility?
https://github.com/JayHeng/NXP-MCUBootUtility

- The functionality doesn't appear to be available in MBDT, can this all be integrated in MCUxpresso?
- Is it just a matter of activating the middleware in the .mex File. What configuration should be used? Examples?

Sam_ECU_1-1654069292863.png

1b. Could it also be completed (but with a speed sacrifice) using a USB-Uart-Device?
-Is this the "VCOM"?
https://eckstein-shop.de/USBaufRS232TTLUARTPL-2303HXChipRevAKonverterKabel

Sam_ECU_2-1654069350473.png

 

2. How can the USB-OTG be set up continue measurements with Freemaster, rather then running over OpenSDA with an additional MCU?
- Is it just a matter of activating the middleware in the .mex File. What configuration should be used?
- What is the correct configuration in Freemaster? (Will it be recognised as a serial port?)

Sam_ECU_3-1654069440208.png

 

3. Is the only way to flash the iMXRT1010 as a Mass Storage Device (CMSIS-DAP) to have an additional MCU as on the EVB?

4. The "MCU-Link Debug Probe" can replace the EVB-OpenSDA hardware?
- Flashing as MSD and Uart connection to Freemaster?
(Is it safe to assume that the two options below can also fulfil this role?
https://mcuoneclipse.com/2019/02/02/tutorial-transforming-the-nxp-lpc845-brk-into-a-cmsis-dap-debug-...
https://www.l-tek.com/web-shop/cmsis-dap-debug-probe/)

Regards,
Sam

0 Kudos
1 Reply

617 Views
Sam_ECU
Contributor IV
0 Kudos