Page 1 of 1

Once again about the system bootloader via UART.

Posted: Tue Oct 03, 2023 6:28 pm
by art445
Hi


Another way to remotely update the firmware. I'm using the system bootloader. To activate I use a time relay and a software reset. My device "load monitor" is connected to the computer via a RS485 to TTL converter. For the computer, I made a bootloader program that sends the “GO_Update” command to the microcontroller, which activates the time relay, reboots device and enters boot mode. After this, the bootloader downloads the firmware. This method has one advantage - there is no need to waste memory on a third-party bootloader.
ouyy.jpg
ouyy.jpg (41.51 KiB) Viewed 26914 times
20231001_18102w0.jpg
20231001_18102w0.jpg (61.86 KiB) Viewed 26914 times

Re: Once again about the system bootloader via UART.

Posted: Sun Oct 08, 2023 8:40 am
by art445
this also works on other processor.

20231008_112818.jpg
20231008_112818.jpg (94.25 KiB) Viewed 26696 times