Pages: 1 [2]   Go Down
Author Topic: avrdude Apple  (Read 2007 times)
0 Members and 1 Guest are viewing this topic.
Dallas, Texas
Offline Offline
God Member
*****
Karma: 0
Posts: 861
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Emily... This path you suggest does not work either  smiley-cry

You know you can just drag the file from the Finder into your Terminal window and it will automatically write the correct path? Try that.
Logged

France
Offline Offline
Sr. Member
****
Karma: 0
Posts: 262
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

oups Emily... YES it works... your suggested path works.... MANY THX smiley-lol
Logged

Dallas, Texas
Offline Offline
God Member
*****
Karma: 0
Posts: 861
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

oups Emily... YES it works... your suggested path works.... MANY THX smiley-lol

Yay! You're welcome! You don't normally have to include the path to avrdude or the path to avrdude.conf if you want to save yourself some typing.
Logged

France
Offline Offline
Sr. Member
****
Karma: 0
Posts: 262
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I've tried to simplify below line as per suggestion but it says a few things: cannot find conf file then it invokes another avrdude that times out so I guess better I keep this longer typing line
Code:
new-host-5:~ selfonlypath$ /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -F -v -patmega1280 -cstk500 -P/dev/tty.usbserial-A6008igj -b57600 -D -Uflash:w:/Users/selfonlypath/Documents/TV/TransVerter1/applet/TransVerter1.cpp.hex:i
Logged

Dallas, Texas
Offline Offline
God Member
*****
Karma: 0
Posts: 861
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've tried to simplify below line as per suggestion but it says a few things: cannot find conf file then it invokes another avrdude that times out so I guess better I keep this longer typing line
Code:
new-host-5:~ selfonlypath$ /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -F -v -patmega1280 -cstk500 -P/dev/tty.usbserial-A6008igj -b57600 -D -Uflash:w:/Users/selfonlypath/Documents/TV/TransVerter1/applet/TransVerter1.cpp.hex:i


Yep, best keep doing what works!  smiley
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 126
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

selfonlypath:

If you wish to know where your file is, open a terminal where your file resides, then type "pwd -P", or in case it does not work, just "pwd"

Then use that absolute path.
Logged

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Try dragging the file into the terminal window. (i.e. type the command, stopping where you would type in the file name, then drag in the file. the path will automatically show up.)

baum
Logged

France
Offline Offline
Sr. Member
****
Karma: 0
Posts: 262
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you all, so many ways to access the correct file pathname... Everything works perfect now, avrdude just downloads fine my HEX on my arduino mega  smiley-cool
Logged

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Glad to hear it. smiley Out of curiosity, what was the correct path?

baum
Logged

France
Offline Offline
Sr. Member
****
Karma: 0
Posts: 262
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

maybe read a few posts before for complete command line otherwise, here it is
Code:
/Users/selfonlypath/Documents/TV/TransVerter1/applet/TransVerter1.cpp.hex
Logged

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ok...

baum
Logged

Pages: 1 [2]   Go Up
Jump to: