Is there another way to upload code to arduino?

Hi,

I want to sell my product built from arduino. I have an idea to update the code by the users upload to arduino by themselves at their home.
If I give them my .pde that not be good for sure.
So is there another way to save the code for uploading by arduino? I dont want the end user see my code.

Thank you in advance.

The code is converted to a .hex file and uploaded by a tool called avrdude.exe
The installation of Arduino contains a help document about it.

If you press the shift and upload simultaneously in the IDE you see the command +params used pass by.

You could give the end users access to the .hex file and point them in the direction of XLoader

http://russemotto.com/xloader/

which will hide the command line-iness of having to use avrdude directly, unfortunately it's Windows only.

Good luck!

Thank you so much!
robtillaart and magagna