Author Topic: Updating bootloader from main application  (Read 8115 times)

Offline FAQ

  • Newbie
  • *
  • Posts: 27
    • View Profile
Updating bootloader from main application
« on: February 20, 2020, 11:13:34 PM »
I have used uTasker serial boat loader to update the main application via SdCard/ serial.

But is it possible to update serial boat loader from Main application?

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3240
    • View Profile
    • uTasker
Re: Updating bootloader from main application
« Reply #1 on: February 20, 2020, 11:14:58 PM »
Hi

The serial loader can be updated from the main application by using the BM loader: https://www.utasker.com/docs/uTasker/uTasker_BM_Loader.pdf

One installs:

- BM-loader, which starts the serial loader, which starts the application.

- The application saves a new serial loader to intermediate storage space and the BM loader updates it (fail-safe) when it next starts.


If you have serial loader + application only the application can update the serial loader when it operates but it is generally too dangerous because if something fails in the process the board can no longer start.

Regards

Mark