Hi there,
I'd like to know if there are any useful options to program the i.MX RT1050 without using the DAP link? I need to run XIP programs from QSPI Flash.
1. MfgTool works but it appears to be very slow as it loads a program into RAM before actually programming the user application.
2. The reference manual says that the on-chip Boot ROM can be used to download code through USB or LPUART, is there any documentation or application like the MfgTool to do this or would I need to write it from scratch?
Any other suggestions are welcome, using USB OTG (as a VCP or CDC) and the boot ROM seems like a good option at the moment but I'm not sure how much has been done in this space already.
Thanks,
Frenoy
Solved! Go to Solution.
Hi Frenoy
flashloader documentation describes flashing procedures, they use ROM indirectly.
>Is there any documentation or guide on using the on-chip boot ROM directly?
I am afraid no. ROM only provides simple commands for loading application to memory.
Since flash programming requires complex procedures (depending on used external memories),
additional application (like secondary Kinetis Bootloader described in flashloader documentation )
is needed for that.
Best regards
igor
Hi Frenoy
NXP provides tool for flashing external memories
Programmers (Flash, etc.) (1)
Flashloader i.MX-RT1050
i.MX RT1050 MCU/Applications Crossover Processor | Arm® Cortex®-M7 @600 MHz, 512KB SRAM |NXP
sources:
Also there are much number of app notes devoted to programming external flash memories with
examples on below link:
i.MX RT1050 MCU/Applications Crossover Processor | Arm® Cortex®-M7 @600 MHz, 512KB SRAM |NXP
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks for the reply Igor.
The flashloader uses the MfgTool, correct?
I've also taken a look at the app notes, but they appear to use the MfgTool to program flash which only seems to work on Windows. I've had some success using MCUXpresso IDE to program the flash but it was on the EVK-A. I'm waiting to test this out on my custom board.
Is there any documentation or guide on using the on-chip boot ROM directly?
Thanks,
Frenoy
Hi Frenoy
flashloader documentation describes flashing procedures, they use ROM indirectly.
>Is there any documentation or guide on using the on-chip boot ROM directly?
I am afraid no. ROM only provides simple commands for loading application to memory.
Since flash programming requires complex procedures (depending on used external memories),
additional application (like secondary Kinetis Bootloader described in flashloader documentation )
is needed for that.
Best regards
igor
Thanks for the update Igor.
I'll dig deeper into this to test it out completely.
Regards,
Frenoy