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 Odd extension names on hex files stopping uploading (Read 5458 times)
Peter Baines
Junior Member
**
Offline


Posts: 18
Location: France
Joined: Sep 30th, 2011
Odd extension names on hex files stopping uploading
Feb 28th, 2016 at 12:52pm
Print Post  
Below is the error reported from the uploader using the latest version of the Visual Micro with VS 2015.

For some reason the system is trying to open the file with a double extension ".INO.HEX". the ".HEX" is there and the correct compilation but not the file the uploader is looking for. Any idea what could be causing this and how to fix it please.

Cheers Pete.

avrdude: reading input file MKII.ino.hex"

avrdude: can't open input file KII.ino.hex: No such file or directory

avrdude: read from file MKII.ino.hex' failed
« Last Edit: Feb 28th, 2016 at 12:53pm by Peter Baines »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Odd extension names on hex files stopping uploading
Reply #1 - Feb 28th, 2016 at 2:38pm
Print Post  
Hi,

Arduino.cc changes the guide lines during the past few months. So the file is now called project_name.ino.hex. Visual micro has been updated within the past few releases but maybe you have a combination that hasn't been catered for yet.

So please give the following info

Visual micro version
Arduino ide version
Hardware/Board name
Type of upload (serial/programmer)

A verbose output for the upload would also be useful.

Thanks
  
Back to top
WWW  
IP Logged
 
Peter Baines
Junior Member
**
Offline


Posts: 18
Location: France
Joined: Sep 30th, 2011
Re: Odd extension names on hex files stopping uploading
Reply #2 - Feb 28th, 2016 at 5:20pm
Print Post  
Hi Tim, 

Thanks for getting back quickly.

OK 
Ardiuno IDE is 1.2.6
Visual Studio 2015 Community
Visual Micro is the latest download

The Target MCU is the AMega1284P (Mighty) using Optiboot

I have Attached the full verbose build file.

I have also attached the makefile for this MCU

Cheers Pete.

« Last Edit: Feb 28th, 2016 at 5:24pm by Peter Baines »  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Odd extension names on hex files stopping uploading
Reply #3 - Feb 29th, 2016 at 1:30pm
Print Post  
Hi,

Is Arduino 1.2.6 a clone ide? Can give url to download please

Is the mighty a standard board in 1.2.6 or did you install from git or web?

Thanks
  
Back to top
WWW  
IP Logged
 
Peter Baines
Junior Member
**
Offline


Posts: 18
Location: France
Joined: Sep 30th, 2011
Re: Odd extension names on hex files stopping uploading
Reply #4 - Feb 29th, 2016 at 1:46pm
Print Post  
Hi Tim,

I don't think it is the IDE that is causing the problems. Perhaps it is the Mighty 1284 device target files.

This i say because other MCUs seem to compile and upload OK

I have attached the Mighty1284 files for you

Cheers Pete.
  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Odd extension names on hex files stopping uploading
Reply #5 - Feb 29th, 2016 at 11:06pm
Print Post  
Thanks, just published an update. Please let me know if it fixes it.
  
Back to top
WWW  
IP Logged
 
Peter Baines
Junior Member
**
Offline


Posts: 18
Location: France
Joined: Sep 30th, 2011
Re: Odd extension names on hex files stopping uploading
Reply #6 - Mar 1st, 2016 at 8:58am
Print Post  
HI Tim, 

Thanks for this I will let you know how i get on

<edit>

Great work Tim this seems to have fixed it, What was the problem ?

</edit>


Cheers Pete.
« Last Edit: Mar 1st, 2016 at 9:18am by Peter Baines »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Odd extension names on hex files stopping uploading
Reply #7 - Mar 1st, 2016 at 11:50am
Print Post  
The problem was that when I converted to the new arduino naming convention (a few weeks ago) I missed some older arduino 1.0x format commands (which are hard coded because that is how things used to work back sometime before 2012/13)

The hardware defs you are using use the old system.

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