µTasker Forum > NXPTM M522XX, KINETIS and i.MX RT
MSD for Serial loading to still be available after flashing board
(1/1)
Samuel S:
Hello Mark,
I've been reading through the examples and documentation but one answer to a question alludes me.
Currently after flashing "uTaskerBootComplete_MIMXRT1060" to my board, "Upload Disk" is available in My Computer. I copy across a program, such as one of the examples "uTaskerCompleteImage_MIMXRT1060_RNDIS_device.bin" or "uTaskerV1.4_AES256_MIMXRT1060.bin" and flashing is successful. But for further updates "Upload Disk" isn't available.
What do I need to incorporate into my program, so that "Upload Disk" is always available.
My program requires calibration updates and I'd love to use to potential of µTasker.
Regards,
Sam
mark:
Hi
When the serial loader has completed its work the application is started and the serial loader is no longer running - therefore its normal that the upload disk is no longer available.
For the disk to re-appear the application would need to implement the same USB-MSD loader functionality, although this is not practically possible as the application would delete itself during the operation.
Typically the application, when it knows that the loader is needed again, will command a reset to the loader and then the serial loader allows the next update.
Alternatively the application allows new code to be saved to an intermediate area in flash and the BM-loader then updates it at the next reset. This would allow USB-MSD to be used (to load to intermediate memory) if the application can implement its own method.
Regards
Mark
Navigation
[0] Message Index
Go to full version