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

Offline FAQ

  • Newbie
  • *
  • Posts: 26
    • 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: 3155
    • View Profile
    • uTasker
Re: Updating bootloader from main application
« Reply #1 on: February 20, 2020, 11:14:58 PM »

The serial loader can be updated from the main application by using the BM loader:

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.