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) Can't change programmer (Read 2705 times)
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Can't change programmer
Feb 27th, 2023 at 12:15am
Print Post  
I upgraded today to VS2022 and installed Visual Micro.
I'm having trouble configuring the uploader. It says 'Hardware programmer: No programmer (Default)' and is not letting me change it to any other value in the drop down list. No matter what I select it remains unchanged.

I still have my old VS2015 installation running and it's working properly there (with an older version of VM though). Both Arduino 1.8.13 and Arduino IDE 2.0.3 are working fine.

I'm trying to select Avr ISP as the programmer since I'm connecting the board via USB.

Am I missing something???
« Last Edit: Feb 27th, 2023 at 12:16am by Roman Rus »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2441
Joined: Feb 13th, 2019
Re: Can't change programmer
Reply #1 - Feb 27th, 2023 at 9:36am
Print Post  
Can you attach the logs as shown at the top of the page so we can understand your configuration fully?
  
Back to top
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Can't change programmer
Reply #2 - Feb 27th, 2023 at 10:01pm
Print Post  
I'm not having a compiling issue. I'm trying to configure the software for the first time.

Anyway I tried to load the code to the board and got the attached logs.

Let me try to explain the issue again ....

In VS2022 Community I go to EXTENSIONS>VMICRO>UPLOADER and under HARDWARE PROGRAMMER I got 'No Programmer (Default)'.

I can see the drop down list with all the options, but no matter which one I select, this setting stays as 'No Programmer (Default)'

  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Can't change programmer
Reply #3 - Feb 27th, 2023 at 10:02pm
Print Post  
The attached screen shows what I said
  

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't change programmer
Reply #4 - Feb 27th, 2023 at 11:28pm
Print Post  
Q: Is the project folder called "Vario_nX_v1.3"?

If so then it needs to be Vario to match the Vario.ino

Q: Are you using exact same code location when testing in arduino?

If the project folder is not the issue then please zip and email your .vcxproj file(s)
« Last Edit: Feb 27th, 2023 at 11:31pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Can't change programmer
Reply #5 - Feb 27th, 2023 at 11:36pm
Print Post  
Tim,

Thanks for the prompt answer.
I created a new project and it does allow me to change the setting, although I'm not able to download the code for this new program to the board. I selected AVR ISP as the uploader but it's trying STK500V1 in AVRDUDE.

I'm attaching the log and both .vcxproj files in a .zip


  

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't change programmer
Reply #6 - Feb 27th, 2023 at 11:38pm
Print Post  
Which programmer do you have?
  
Back to top
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Can't change programmer
Reply #7 - Feb 27th, 2023 at 11:48pm
Print Post  
None.
I'm conecting the arduino to the PC USB port.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't change programmer
Reply #8 - Feb 28th, 2023 at 12:17am
Print Post  
That means you should only select a COM port, you are not using a programmer.

You need to select "No Programmer (Default)" then the COM port will be used.

The arduino ide is confusing. You might think that you have a programmer selected but the normal upload options do not use it. To upload using a programmer in the arduino ide you have specifically select Upload using programmer" from the menu.

You should see that the upload works correctly using the USB based on the COM port selection in Visual Micro.
  
Back to top
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Can't change programmer
Reply #9 - Feb 28th, 2023 at 12:28am
Print Post  
The previous VM version I use with VS2015 always worked fine selecting AVR ISP as programmer.

Anyway, in my current project (the one that does not allow to change programmer ) i get a 'Upload Using' requires a programmer. Upload cancelled. error (see the first log I sent earlier)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't change programmer
Reply #10 - Feb 28th, 2023 at 2:54am
Print Post  
In the test project please uncheck upload using programmer.
« Last Edit: Feb 28th, 2023 at 2:54am by Tim@Visual Micro »  
Back to top
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Can't change programmer
Reply #11 - Feb 28th, 2023 at 9:51pm
Print Post  
It's working now!! Great!!

Both projects can upload the code to the board.

Thanks for your help!!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint