 |
By: Anonymous: rob peacock () on Sunday, January 08 2012 @ 06:53 AM PST (Read 867 times)
|
|
|
Anonymous: rob peacock |
| Anonymous: rob peacock |
|
Hi , I am new to avrdude use so need help with a problem I have . I am trying to program a
ATMEGA32 using avrdude and usbtinyisp , I have set the fuse bits OK , when I use the command avrdude -c usbtiny -p m32 -B 1 -U flash:w:test.hex it replies with
avrdude: error opening test.hex: No such file or directory . I have a file called test.hex but it wont find it . Where do i need to have this file saved to in order for it to be read from .
Can anyone one help ?
Many thanks
|
|
|
|
|
|
 |
By: Windell (offline) on Sunday, January 08 2012 @ 02:08 PM PST
|
|
|
Windell |
| Windell |
|
When you do this, the file needs to be in the current "working directory" where you are operating. To find out what your current working directory is, use the command "pwd" (no quotes, followed by return) on Mac or *nix, and "cd" (ditto) on windows.
Windell H. Oskay
drwho(at)evilmadscientist.com
http://www.evilmadscientist.com/
|

Evil Scientist
 Status: offline
Registered: 06/15/06 Posts: 1932
Sunnyvale, CA
|
|
|
|
|
 |
By: Anonymous: rob peacock () on Monday, January 09 2012 @ 03:00 AM PST
|
|
|
Anonymous: rob peacock |
| Anonymous: rob peacock |
|
my working directory is C:\Users\berto
the test.hex file is also in C:\Users\berto but it still gives error 'no such file or directory'
|
|
|
|
|
|