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
Hot Topic (More than 8 Replies) Upload to ATTiny85 Using Arduino as ISP (Read 4136 times)
Suri M.
Newbies
*
Offline


Posts: 4
Location: USA
Joined: Sep 12th, 2013
Upload to ATTiny85 Using Arduino as ISP
Sep 12th, 2013 at 8:54pm
Print Post  
How can I go about uploading the codes to ATTiny85 via "Arduino As ISP"? I am able to do this using standard Arduino IDE. However, this menu is dimmed out on Visual Micro. I believe have the latest version 1.1309.11

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload to ATTiny85 Using Arduino as ISP
Reply #1 - Sep 12th, 2013 at 9:12pm
Print Post  
Hi,

You are right, the menu should not be dimmed.

In the latest Visual Micro versions (you are on the latest) the programmers menu is rebuilt when you change the platform. For example switching from Arduino Due (sam) to some other Arduino board such as Uno/Leonardo (avr). 

If you are using a version of the Arduino Ide prior to 1.5 then  the programmers menu should alwats be populated because all boards supported a programmer.

Few questions

Which board have you selected?
Which Arduino Ide is currently selected?
What happens if you click "Tools>Visual Micro>Reset User Interface". Does the Ide re-start and then show the menu okay?

Thanks
  
Back to top
IP Logged
 
Suri M.
Newbies
*
Offline


Posts: 4
Location: USA
Joined: Sep 12th, 2013
Re: Upload to ATTiny85 Using Arduino as ISP
Reply #2 - Sep 12th, 2013 at 10:40pm
Print Post  
Hi Tim,

A1: I've selected ATtiny85 (1Mhz) (this hardware selection was downloaded so I can program ATtiny85)
A2: Arduino 1.0.x
A3: I clicked "Reset User Interface" and "Programmers" is initially enabled. Then, when I load the project for my ATtiny85, the menu would dim again. 

The strange thing is that if I select "Arduino Uno" board and then reselect "ATtiny85", the menu is enabled. But, when I upload, it would show message "Uploading to I/O board using 'COMx'" and nothing happens. I've observed the task manager while uploading and I don't see avrdude.exe ever executed. Also, if I save the change to the project and reload the project, the menu would dim again. 

BTW: I think Visual Micro IDE is awesome! I love it! Anything I can do to help debugging this issue, please let me know.

Thanks,
Suri



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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload to ATTiny85 Using Arduino as ISP
Reply #3 - Sep 12th, 2013 at 10:55pm
Print Post  
Hi,

Thanks for pointing this out and sorry you are having this problem.

It looks like the new system that shows programmers in context with the hardware isn't working correctly with custom hardware.

We will fix and issue a service updates during the next few days.

In the meantime please open the arduino ide and tick File>Preferences>External Editor. This allows you to have the same sketch open in both VS/Atmel and Arduino at the same time. Edit and save in visual studio (or atmel) and then switch to Arduino and click upload.

Thanks for taking the time to report this.
« Last Edit: Sep 12th, 2013 at 10:56pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload to ATTiny85 Using Arduino as ISP
Reply #4 - Sep 12th, 2013 at 10:59pm
Print Post  
Another thing you can try if you want is to copy the programmers.txt file from arduino/ide/hardware/arduino to where ever you have put the boards.txt of the Attiny system.

Then click Tools>Visual Micro.reload Toolchains" or restart the Ide.
« Last Edit: Sep 12th, 2013 at 11:00pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Suri M.
Newbies
*
Offline


Posts: 4
Location: USA
Joined: Sep 12th, 2013
Re: Upload to ATTiny85 Using Arduino as ISP
Reply #5 - Sep 13th, 2013 at 2:48am
Print Post  
Tim,

I've tried your suggestion about copying programmers.txt and that helps enabling the programmer menu, but, the upload still not calling avrdude.exe.

If you need me to try anything else, please let me know. 

Thanks,
Suri
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload to ATTiny85 Using Arduino as ISP
Reply #6 - Sep 13th, 2013 at 12:20pm
Print Post  
Have you ticked "Tools>Visual Micro>Upload Using Programmer" ?
  
Back to top
IP Logged
 
Suri M.
Newbies
*
Offline


Posts: 4
Location: USA
Joined: Sep 12th, 2013
Re: Upload to ATTiny85 Using Arduino as ISP
Reply #7 - Sep 13th, 2013 at 1:22pm
Print Post  
Hi Tim,

Tick "Upload Using Programmer" worked! Thank you for your great support. I am buying the product right now.

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload to ATTiny85 Using Arduino as ISP
Reply #8 - Sep 13th, 2013 at 1:23pm
Print Post  
Great Thanks Smiley
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint