Posted: Sat Aug 30, 2025 1:09 am Post subject: Bootloader Field Uploader
I have devices in the field with a bootloader installed and new firmware can be uploaded by serial using the MCS boot loader program that runs on a PC.
PLAN A
What I would like is a device that I can preload with the new firmware and send to the customer. They would then plug it onto the serial port of my device and press a button and that would send the firmware up and the boot loader would do the rest.
So this is NOT programming by UPDI or ISP or that sort of thing. It's firmware upgrade over serial using the MCS boot loader protocol (Basically X-Modem).
Does anyone know if such a device happens to exist?
OR PLAN B ( Develop )
I was thinking possibly use a raspberry pi in a box with a battery and write a uploader in Python. If PLAN A does not eventuate, is anyone interested in doing Plan B?
Thoughts on this path are welcome too.
A plan A device can be made with various options and at low cost.
But it depends on the parameters.
- will you send a device to the customer and does he return it?
- or will you send an SD card to the customer?
- or does the customer download firmware and copies it to an SD card?
- is there some DB-9 connector or what kind of serial interface is there?
- when customer sends device back it can be a simple AVR processor with SPI memory.
- when customer get SD or use SD it need to be an AVR with more memory.
- can the device be powered from the device it updates? or must it have a battery/power cord.
The protocol is in the bootloader.bas and is simple but what does the customer do? is there a reset button. or does he replug the device.
The bootloader once loaded works good and simple and messing with fuses etc is not a good idea IMO.
If you want something to be developed you can contact support. _________________ Mark
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum