Forum Index > General > Ask an Evil Mad Scientist!
 no such file or directory
 |  Printable Version
By: Anonymous: rob peacock () on Sunday, January 08 2012 @ 06:53 AM PST (Read 1076 times)  
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  

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

Forum Evil Scientist
Evil Scientist

Status: offline

Registered: 06/15/06
Posts: 1932
Sunnyvale, CA

Profile Email Website  
By: Anonymous: rob peacock () on Monday, January 09 2012 @ 03:00 AM PST  
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'


 All times are PDT. The time is now 01:10 PM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to Post 
Filtered HTML Allowed 
Censored Content 

Evil Mad Scientist Forum Archives — Read only!

Please visit our new forums for new discussions.

DIY Hardware for Electronic Art

The Original Egg-Bot Kit

Interactive LED kits

Meggy Jr RGB
LED matrix game
development kit.

Business-card sized
AVR target boards

Peggy 2
LED Pegboard kits

My Account

Lost your password?