Skip to main content
PNova.2
Associate II
June 26, 2024
Solved

"self downloading" firmware via USB

  • June 26, 2024
  • 2 replies
  • 1344 views

Hello
is it possible for the microcontroller with USB OTG to download the program memory from the USB stick itself?
In other words, change the firmware simply by connecting a USB stick with a .bin file and perhaps by resetting the component.

So far I have solved it using two MCUs. One only reads the .bin file from the USB and then uploads it to the target device via the usart bootloader, but this seems too impractical to me.

This topic has been closed for replies.
Best answer by MM..1

If you ask for system boot solution then no, But you can use own bootloader for this...

2 replies

Andrew Neil
Super User
June 26, 2024

Sure - it's just a way to get the data into the microcontroller.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
MM..1
MM..1Best answer
Super User
June 26, 2024

If you ask for system boot solution then no, But you can use own bootloader for this...