Go Down

Topic: What is the simplest way to allow other to update the firmware of a a hardware. (Read 1 time) previous topic - next topic

Heratch

Hi,
This is my first port, and I thank you for taking the time to respond.

I created a hardware device that now and then I need to update the firmware.
These devices are all over the world in the hands of people who are not familiar with any software development.

I am looking for the simplest way, I can send the a file and they simply plug the device to USB and simply update. I prefer for them not to see the code. I don't want them to worry about drivers, or any thing,

Also, I will not know what kind of computer they have to

Is this possible?
thank you.

jasminejoe

I would like to thank you for the efforts you have made in writing this post. Thanks for posting Really Such Things. I should recommend your site to my friends.

Robin2

Hi,
This is my first port, and I thank you for taking the time to respond.

I created a hardware device that now and then I need to update the firmware.
You need to tell us exactly what microprocessor is used.

Was it originally programmed with the Arduino IDE.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

larryd

No technical PMs.
If you are asked a question, please respond with an answer.
If you are asked for more information, please supply it.
If you need clarification, ask for help.

Heratch

Hi,
Than you for the responses.

MC is ATMEGA328P-AU
Yes programmed with the Arduino IDE.


6v6gt

You may find something on this thread.
A nice solution would be an external socketed flash memory chip which the user could replace.
The bootloader would recognise the data was new and copy the program code from the external flash to the internal flash and, hence, do the upgrade.
This requires a modified bootloader because only the bootloader has the authority to write to flash memory (for ATmega series chips)

https://forum.arduino.cc/index.php?topic=283255.0

Go Up