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 Hardware Programmer misconfigured? (Read 1584 times)
Bob Baggerman
Newbies
*
Offline


Posts: 4
Joined: Aug 1st, 2023
Hardware Programmer misconfigured?
Aug 2nd, 2023 at 4:05am
Print Post  
I am a new user and I have been successfully uploading to my ATmega2560 with a USBtinyISP. But now I keep getting the message...

  'Upload Using' requires a programmer. Upload cancelled.

I have "USBtinyISP" selected in the Programmer toolbar. I have "Enable Programmer" highlighted also (although I've tried it both ways). I have played with various settings in the Uploader menu.

The Arduino 1.8 IDE has no problem talking to the USBtinyISP programmer and uploading to my board. And as I said it worked up until this afternoon. I would provide some logs but I can't find anything really logged. I am at a loss for what else to try or where else to look.

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


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Hardware Programmer misconfigured?
Reply #1 - Aug 2nd, 2023 at 7:11am
Print Post  
The Arduino IDE does not upload using the selected programmer unless you click a special menu item called upload using programmer.

You probably just need to switch off the enable programmer checkbox in visual.micro.

Otherwise pls follow guide in yellow above
« Last Edit: Aug 2nd, 2023 at 7:40am by Tim@Visual Micro »  
Back to top
IP Logged
 
Bob Baggerman
Newbies
*
Offline


Posts: 4
Joined: Aug 1st, 2023
Re: Hardware Programmer misconfigured? SOLVED
Reply #2 - Aug 6th, 2023 at 6:19pm
Print Post  
Recall that even though an appropriate programmer was selected (USBtinyISP) and enabled, the VS extension still acted as if there wasn't a programmer selected. Also recall that it worked previously and that the standard Arduino IDE had no problem finding and using my programmer. That is why I felt that something became misconfigured in the VS extension. Looks like I was right.

I deleted and reinstalled the VS extension and that did not cure the problem.

I deleted and reinstalled the Arduino IDE (moving from 1.8 to 2 in the process) and that did not cure the problem.

Finally, I noticed that when the VS extension was uninstalled and deleted the Windows registry settings remained. So I deleted all the registry settings by hand with regedit and then reinstalled the VS extension. After doing that the extension was able to find the programmer and use it.

You may want to think about cleaning up the registry as part of your uninstall process.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Hardware Programmer misconfigured?
Reply #3 - Aug 6th, 2023 at 6:37pm
Print Post  
Thanks for the feedback. If it happens again please follow the guide in yellow at the top of each forum page so that we can see your settings.

Thanks again.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint