Hi Andy Dong,
So, you need to read the flashloader source code carefully, you can boot from the app, then check the app version, then decide update the app or not.,about the SD card and nor flash driver, the flashloader already contains it, you can check the code carefully. You need to modify it by yourself.
led_demo_evk code in folder:
SDK_2.6.1_EVKB-IMXRT1050\boards\evkbimxrt1050\bootloader_examples\demo_apps
is just the app code.
The flashloader code is:
\SDK_2.6.1_EVKB-IMXRT1050\boards\evkbimxrt1050\bootloader_examples\flashloader
So, if you want to write your own flashloader code, you need to refer the flashloader project, not the led, led is just the app code.
Wish it helps you!
If you still have questions about it, please kindly let me know.
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------