Pages: [1]   Go Down
Author Topic: In Field Programming?  (Read 368 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I developed a cool application ,which I want to send out to users but may have to change the code later for all current owners.
Question is, how do i send out later, to owners with say, a Nano embedded in the device, a means to reflash with updated code?

Has anybody implemented a simple flash routine we could email to users, they could just load the windows app, connect to usb, and hit go?  It really needs to be that easy if possible.
« Last Edit: January 30, 2013, 01:53:56 pm by cornwallav8r » Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It is possible to invoke the AVR uploader from a command prompt, so it could be done from a batch file. You would need to provide the uploader and the executable image, and provide some means to launch the loader. You could wrap that in an executable file, for example an executable ZIP file, or supply it on a memory stick with autorun configured and persuade them to trust you enough to run it - or just give them instructions to run the batch file manually.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well I will have to take your word on that, and do more research based on what you said, cause frankly most went over my head.  :-)
Have little avr experience...
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, I found avrdude's page...
http://www.nongnu.org/avrdude/

So I would have to make a batch file customized to load the program via avrdude, to the USB port-connected Arduino?
Or would it have to be ICSP connected?
And would I supply only a hex file to be uploaded?
Logged

Pages: [1]   Go Up
Jump to: