Comments on: More updating firmware without using Arduino http://www.polargraph.co.uk/2012/07/more-updating-firmware-without-using-arduino/ drawing by robot Mon, 14 May 2018 00:33:14 +0000 hourly 1 https://wordpress.org/?v=4.9.7 By: sandy http://www.polargraph.co.uk/2012/07/more-updating-firmware-without-using-arduino/#comment-7074 Sun, 10 Mar 2013 19:40:13 +0000 http://www.polargraph.co.uk/?p=530#comment-7074 Good to know you got it done, the “proper” way Klaus!

]]>
By: Klaus http://www.polargraph.co.uk/2012/07/more-updating-firmware-without-using-arduino/#comment-7071 Sun, 10 Mar 2013 17:53:15 +0000 http://www.polargraph.co.uk/?p=530#comment-7071 Working on OSX

First I did not change the board type.

Then I tried to use XLoader on Win2k (not possible because .net V4 is not available) and on XP64 bit (not possible, too).

Then I tried to use the command line where i wasted another hour.

Finally I went back to installed Arduino.app copied all the files into the scetchbook directory. Still not working so I copied all the directories and content into the already existing libraries directory. Then I started arduino, opened the directory with polargraph_server_polarshield. Then using the test option. Everything was fine. So I uploaded. After maybe half a minute the touchscreen was available.

It is up too you what you do. But I had to realize, the shortcut with precompiled firmware was – for me – a waste of time. The way it finally worked is how it is best to understand.

]]>
By: TeamTeamUSA http://www.polargraph.co.uk/2012/07/more-updating-firmware-without-using-arduino/#comment-5321 Wed, 26 Dec 2012 06:14:14 +0000 http://www.polargraph.co.uk/?p=530#comment-5321 Great tip for OS X! I needed the absolute path to avrdude.conf to upgrade the firmware using Arduino’s avrdude. Here’s the command I used: /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude \
-C/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega2560 -carduino -D \
-b 115200 -cstk500v2 -P/dev/tty.usbserial-A101KV2X \
-Uflash:w:/Users/lighm007/Documents/workspace/polargraph-read-only/embedded/branch/polargraph_server_polarshield/polargraph_server_polarshield.cpp.hex:i

Go!

=ml=

]]>
By: Dan Newman http://www.polargraph.co.uk/2012/07/more-updating-firmware-without-using-arduino/#comment-2511 Mon, 03 Sep 2012 17:46:53 +0000 http://www.polargraph.co.uk/?p=530#comment-2511 Hmmm. The comment’s markup ate some of my command. Here’s the command in a form that it may leave intact

% avrdude -Cavrdude.conf -v -patmega2560 -carduino -D \
-b 115200 -cstk500v2 -Pdevice-path\
-Uflash:w:hex-file-path:i

where “device-path” is the device name (e.g., /dev/tty.usbserial-A101KW9I) and “hex-file-path” is the name of the .hex file.

]]>
By: sandy http://www.polargraph.co.uk/2012/07/more-updating-firmware-without-using-arduino/#comment-2503 Sun, 02 Sep 2012 10:54:32 +0000 http://www.polargraph.co.uk/?p=530#comment-2503 Right, really good point, thanks Dan. I’m revealing my windows-centricity (how embarrassing). And it’s worth also pointing out that XLoader and Arduino Uploader are nothing more than tools that build commandline strings for avrdude, so you can do it manually if you want to.

]]>
By: dnewman http://www.polargraph.co.uk/2012/07/more-updating-firmware-without-using-arduino/#comment-2500 Sun, 02 Sep 2012 03:46:32 +0000 http://www.polargraph.co.uk/?p=530#comment-2500 For Linux and Mac users, you can open a terminal window and use the following avrdude command

% avrdude -Cavrdude.conf -v -patmega2560 -carduino -D \
-b 115200 -cstk500v2 -P \
-Uflash:w::i

where is the device (e.g., /dev/tty.usbserial-A101KW9I) and is the name of the hex file (e.g., polar1.4.hex).

avrdude is supplied with the Arduino app and can also be downloaded from various sites such as Ada Fruit (http://www.ladyada.net/media/usbtinyisp/usbtiny-intel-macosx-avrdude-54.zip).

]]>