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 How to produce a hex file for Arduino nano? (Read 4345 times)
Luc
Junior Member
**
Offline


Posts: 17
Joined: Dec 10th, 2013
How to produce a hex file for Arduino nano?
Dec 12th, 2013 at 12:26pm
Print Post  
In "Tools | Visual Micro | Boards" the "Arduino Nano w/ ATmega168" is selected.

But when compiling all the files are created in:
....AppData\Local\VMicro\Arduino\Builds\test9\uno
And as could be expected, the hex file here does not work for the Arduino Nano.

There is also a directory created:
....AppData\Local\VMicro\Arduino\Builds\test9\nano
But that remains almost empty (just one cpp file, one d file, one txt file, and one directory with one txt file).

How can I fix this?


Update: it was fixed by manually changing device to ATmega168.   But since "Arduino Nano w/ ATmega168" was already selected it is odd that this is needed.
« Last Edit: Dec 12th, 2013 at 12:55pm by Luc »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to produce a hex file for Arduino nano?
Reply #1 - Dec 12th, 2013 at 2:18pm
Print Post  
Hi,

Thanks for the info. 

Questions

What do you mean when you say "manually changing to the Atmega168?

Which version of the Arduino Ide have you configured?

Thanks




  
Back to top
WWW  
IP Logged
 
Luc
Junior Member
**
Offline


Posts: 17
Joined: Dec 10th, 2013
Re: How to produce a hex file for Arduino nano?
Reply #2 - Dec 16th, 2013 at 10:54am
Print Post  
>What do you mean when you say "manually changing to the Atmega168?

I changed to ATmega168 using the toolbar button.  That toolbar now has "ATmega168" and "No Tool".  It did not change automatically when selecting  "Arduino Nano w/ ATmega168" board in the Tools|Visual Micro|boards menu, as it probably should.

>Which version of the Arduino Ide have you configured?

Arduino 1.0.5
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint