Updating Code On Arduino

Ok guys i have managed to produce a project thats just started to sell on the market it uses Arduino Micro Pro. Im at the stage now that i would like to offer an update to the product to improve things.
The problem im having is ive no idea how to update a Arduino thats ive sold , i DO NOT want to send the Code and just explain to them how to upload using Arduino IDE. Is there any way at all i can do this as a update that no one gets to steal my code ????
Im new to this So please be Gentle guys lol

You can compile the code to a HEX file and send that to your customers along with a program that can upload the HEX file to the Arduino.

...R

Ive tried Hex File With Xloader but ive had no joy with that im using a Micro/Pro , All that Xloader does is freeze on Uploading Got it set to ATmega328 57600 NO JOY :frowning:

Delta Can u chat im pm about this ?

OOPS!

Is this possible at all or am i banging my head against the wall i dont mind paying if the job is possible just not silly amounts im only a 1 man band here

The IDE is open source so it should be possible to strip-out the compiler and re-write it as a HEX programmer, or you can reverse-engineer it and write your own programmer.

Or, your customers could send it back for a "factory update".

...Since you'd be modifying an open-source project, I assume your programmer/updater would have to be open source (I haven't looked at the license), but your HEX/source code that you're downloading can still be proprietary.

And once you release the update, anybody could program it into other-multiple Arduinos so you'd be depending on your (unique?) hardware to keep people from stealing your design.

Hmm You got a point there tbh im unsure what to do then easy way is return it for upgrade. Problem with that is most my customers are usa and further as im UK based.

MasterMark2017:
Hmm You got a point there tbh im unsure what to do then easy way is return it for upgrade. Problem with that is most my customers are usa and further as im UK based.

You may want to investigate paying someone in the USA to do it for you.

Paul

MasterMark2017:
Is this possible at all or am i banging my head against the wall i dont mind paying if the job is possible just not silly amounts im only a 1 man band here

It is not impossible but the Arduino system is designed for learning and sharing, not for commercial products. You are attempting to do something that it was specifically designed NOT to do.