Dallas, Texas
Offline
God Member
Karma: 0
Posts: 861
|
 |
« Reply #15 on: September 11, 2011, 10:31:31 pm » |
Hi Emily... This path you suggest does not work either  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
Sr. Member
Karma: 0
Posts: 254
|
 |
« Reply #16 on: September 11, 2011, 10:33:08 pm » |
oups Emily... YES it works... your suggested path works.... MANY THX 
|
|
|
|
|
Logged
|
|
|
|
|
Dallas, Texas
Offline
God Member
Karma: 0
Posts: 861
|
 |
« Reply #17 on: September 11, 2011, 10:37:00 pm » |
oups Emily... YES it works... your suggested path works.... MANY THX  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
Sr. Member
Karma: 0
Posts: 254
|
 |
« Reply #18 on: September 11, 2011, 10:50:02 pm » |
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 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
God Member
Karma: 0
Posts: 861
|
 |
« Reply #19 on: September 11, 2011, 10:52:14 pm » |
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 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! 
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 126
Arduino rocks
|
 |
« Reply #20 on: September 12, 2011, 04:27:11 am » |
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
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #21 on: September 12, 2011, 01:59:10 pm » |
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
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
France
Offline
Sr. Member
Karma: 0
Posts: 254
|
 |
« Reply #22 on: September 12, 2011, 02:05:24 pm » |
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 
|
|
|
|
|
Logged
|
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #23 on: September 12, 2011, 02:08:45 pm » |
Glad to hear it.  Out of curiosity, what was the correct path? baum
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
France
Offline
Sr. Member
Karma: 0
Posts: 254
|
 |
« Reply #24 on: September 12, 2011, 02:15:30 pm » |
maybe read a few posts before for complete command line otherwise, here it is /Users/selfonlypath/Documents/TV/TransVerter1/applet/TransVerter1.cpp.hex
|
|
|
|
|
Logged
|
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #25 on: September 12, 2011, 02:16:07 pm » |
ok...
baum
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
|