Hi,
I want to program the new firmware (.bin file) by drag and drop and my board need to be detected as MSD when connected to the PC. We are using custom board based on iMXRT1060 EVK and IAR IDE development platform.
Are there any examples available to achieve this functionality.
Your help on this is highly appreciated.
Thanks.
Hi,
You can check the document Modifying Debug Firmware on i.MX RT10xx Boards Featuring an LPC4322-based Debug Probe (AN13206)
On section 4 Switching back to OpenSDA DapLink firmware (factory default firmware) start with how to count the board as mass storage device.
Best Regards
Pablo
Hi @Pablo_Ramos ,
Our custom board does not have the OpenSDA circuit. How to achieve the functionality? I have currently installed the OTA bootloader to bootload the firmware using MCUBootUtility tool, but the now having issues with bootloading with that tool in Windows 11.
Your help on this is highly appreciated.
Thanks.
Hi @EmbeddedTech,
In this case, if you want to use the iMXRT1060 as Mass Storage Device a secondary bootloader will be necessary in order to support this feature.
We have the AN12604 Implement Second Bootloader on i.MX RT10xx Series and the AN13497 Firmware Update Using Secondary Bootloader that you can use as reference, however the implementation of MSD should be made on your end.
Other option could be to use a software such as MCUBootUtility in order to do the updates, the official tool that we have is Secure Provisioning Tool.
Even though this software does not have the option of drag and drop, you are able to build and write the image through USB, just take in consideration that you will need to manually set the MCU as serial downloader. I recommend you the take a look to the training Getting Starting with MCUXpresso Secure Provisioning Tool.
If you still want to use MCUBootUtility there is a GitHub that you can take as reference
GitHub - JayHeng/NXP-MCUBootUtility: 恩智浦全系列MCU安全启动一站式工具(研发模式),基于Python2.7.15+wxPython4.0.3
Hi @Pablo_Ramos,
How to put the custom board to serial download mode in production? That is not feasible.
As mentioned earlier I am not able to use the MCUBootUtility tool after some windows11 update. Previously it was working fine.
I have already raised the request in forums multiple times and also to NXP FAE but in vain.
Plese find the discussion links below,
Solved: Bootloader to flash the external QSPI flash - NXP Community
Re: iMXRT1060 Custom board - MCUBootUtility not working - NXP Community
Re: blhost on PC running Windows 11 - Page 2 - NXP Community
Can someone provide the solution to the above problem.
your help on this is highly appreciated.
Thanks.
Hi @EmbeddedTech,
Could you help me with further explanation of the steps you used to do on MCUBootUtility in order to upload the firmware?
Best Regards,
Pablo
Hi @Pablo_Ramos ,
Please find below the steps which I followed to download the software using MCUBootUtility.
‘OTA_BOOTLOADER\NXP-MCUBootUtility-master\bin’
Hi @EmbeddedTech,
Checking the steps you follow on MCUBootUtility it is not suitable to replicate it on Secure Provisioning Tool.
Regarding the issue it has on Windows 11 I will need to ask you to please raise an issue on the official MCUBootUtility GitHub
My recommendation would it be to use SPSDK in order to replicate the blhost commands MCUBootUtility uses, you can check this on the Log section. If this do not work out the other solution, would it be to implement a secondary bootloader that support MSD, however, these implementations should be made on your own.
Installation Guide — SPSDK documentation