Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic avrdude: can't open input file (Read 4130 times)
juankc
Newbies
*
Offline


Posts: 2
Joined: Jul 23rd, 2016
avrdude: can't open input file
Jul 23rd, 2016 at 1:42am
Print Post  
Can someone help me whit this error:
avrdude: can't open input file 0HAL\GPS_AUTO_test.ino.hex: No such file or directory

avrdude: read from file 60HAL\GPS_AUTO_test.ino.hex' failed
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: avrdude: can't open input file
Reply #1 - Jul 23rd, 2016 at 12:04pm
Print Post  
Please switch on "vMicro>Compiler>Verbose"

Then try the upload and post the output as a .txt file or email to info[at]visualmicro.com along with a link back to this post

Thanks
  
Back to top
IP Logged
 
juankc
Newbies
*
Offline


Posts: 2
Joined: Jul 23rd, 2016
Re: avrdude: can't open input file
Reply #2 - Jul 23rd, 2016 at 2:45pm
Print Post  
Here's the file. Please check and help me. Thanks
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: avrdude: can't open input file
Reply #3 - Jul 23rd, 2016 at 2:52pm
Print Post  
Thanks

It's a problem because your sketch example uses the older .pde file extension instead of the newer .ino

You can change the extension of your source code file (s) from .pde to .ino and then it will work okay.

Arduino also changed the standard for the .hex output to be called .ino.hex but I will look at a patch for the next release to auto detect the older extension.

Don't leave a copy of the older named file in the folder otherwise it will still be compiled and raise lots of errors. Just rename the existing. The Arduino ide will also continue to work with .ino extensions.

Thanks for the report
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint