Arduino Forum

General Category => General Discussion => Topic started by: Heratch on Sep 24, 2019, 12:31 am

Title: What is the simplest way to allow other to update the firmware of a a hardware.
Post by: Heratch on Sep 24, 2019, 12:31 am
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.
Title: Re: What is the simplest way to allow other to update the firmware of a a hardware.
Post by: jasminejoe on Sep 26, 2019, 01:40 pm
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.
Title: Re: What is the simplest way to allow other to update the firmware of a a hardware.
Post by: Robin2 on Sep 26, 2019, 03:54 pm
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
Title: Re: What is the simplest way to allow other to update the firmware of a a hardware.
Post by: larryd on Sep 26, 2019, 06:10 pm
User Crossroads has a programmer that can be used for this.



Title: Re: What is the simplest way to allow other to update the firmware of a a hardware.
Post by: Heratch on Sep 27, 2019, 06:54 pm
Hi,
Than you for the responses.

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

Title: Re: What is the simplest way to allow other to update the firmware of a a hardware.
Post by: 6v6gt on Sep 29, 2019, 08:00 pm
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 (https://forum.arduino.cc/index.php?topic=283255.0)