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 Arduino Gemma Programming Error (Read 5044 times)
Rich R
Junior Member
**
Offline


Posts: 31
Joined: Mar 2nd, 2016
Arduino Gemma Programming Error
Dec 11th, 2016 at 2:58pm
Print Post  
I am trying to use VM on Viz Studio with an Arduino Gemma.  I can upload a sketch using the arduino IDE but not with VM.  It fails not funding the programmer id "arduinogemma".  See output in attached file for errors and VM configuration.

Thanks
  

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino Gemma Programming Error
Reply #1 - Dec 11th, 2016 at 6:31pm
Print Post  
Hi,

In the Arduino IDE are you clicking the normal upload button? 

If so then you are not using a programmer so in Visual Micro untick "always use programmer for upload)

Thanks
  
Back to top
IP Logged
 
Rich R
Junior Member
**
Offline


Posts: 31
Joined: Mar 2nd, 2016
Re: Arduino Gemma Programming Error
Reply #2 - Dec 12th, 2016 at 2:12am
Print Post  
Hi Tim,
I tried to do that, but then the system tries to use the com port listed to download.  The Gemma however doesn't have a HW loader, so when you force it into the bootloader mode, it shows up as a USB connection, but not as a com port.  In the IDE, if you select bootloader type Arduino Gemma, in fact the port is grayed out and it goes directly to the USB port.

I'm thinking I am missing something?

Rich
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino Gemma Programming Error
Reply #3 - Dec 12th, 2016 at 8:18pm
Print Post  
Thanks for the report. This is fixed in the next release.

The issue was the config properties for programmers did not have priority over the properties of the tool.

Which means that when the gemma uses avrdude it specifies a different config file. With verbose upload enabled you will see the "device." property in visual micro points to a different location to what the arduino ide uses. The location should be arduinoIDE\hardware\arduino\avr/bootloaders/gemma/avrdude.conf

  
Back to top
IP Logged
 
Rich R
Junior Member
**
Offline


Posts: 31
Joined: Mar 2nd, 2016
Re: Arduino Gemma Programming Error
Reply #4 - Dec 12th, 2016 at 9:38pm
Print Post  
Thanks Tim.  Any idea when the release will be made public, or if there is a temporary workaround I can do via a text file edit?

Rich
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino Gemma Programming Error
Reply #5 - Dec 12th, 2016 at 10:30pm
Print Post  
It should be available over the next few days. you can use file>preferences>external editor in arduino ide then us it to upload. can leave the sketch open in arduino, it will auto-reload when you click upload
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino Gemma Programming Error
Reply #6 - Dec 13th, 2016 at 3:23pm
Print Post  
The update has been released. Thanks for the post.
  
Back to top
IP Logged
 
Rich R
Junior Member
**
Offline


Posts: 31
Joined: Mar 2nd, 2016
Re: Arduino Gemma Programming Error
Reply #7 - Dec 16th, 2016 at 3:51am
Print Post  
Thanks, I have downloaded the update and it has fixed the problem.  Awesome response guys, fast and right!

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