Go Down

Topic: Updating Code On Arduino (Read 179 times) previous topic - next topic

MasterMark2017

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

Robin2

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
Two or three hours spent thinking and reading documentation solves most programming problems.

Delta_G

#2
Jan 14, 2019, 07:48 pm Last Edit: Jan 14, 2019, 07:50 pm by Delta_G
Too bad you're not open source.  If you were I'd just give you the solution.  Since you're not I have to ask, how much would you be willing to pay?

I do think it's pretty rich that someone who is worried about getting their code "stolen" wants someone else's code for free. 
|| | ||| | || | ||  ~Woodstock

Please do not PM with technical questions or comments.  Keep Arduino stuff out on the boards where it belongs.

MasterMark2017

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 :(

Delta Can u chat im pm about this ?

Paul_KD7HB


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

DVDdoug

#6
Jan 14, 2019, 08:20 pm Last Edit: Jan 14, 2019, 08:29 pm by DVDdoug
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.


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.

Paul_KD7HB

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

MorganS

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.
"The problem is in the code you didn't post."

Go Up