Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Unable to select Programmer when using Arduino DUE board (Read 296 times)
Jan(oh)mat
Newbies
*
Offline



Posts: 3
Unable to select Programmer when using Arduino DUE board
Jun 7th, 2019 at 10:23pm
 
Hi,

either this is wanted, not supported, or a bug.
I added the Arduino DUE board using the board manager in Arduino (1.8.9) and can select this board in vMicro (1906.3.0 VS2019 Enterprise).
Having done this the combo box in Uploader -> Programmer is empty.
Am i missing something (obviously i would say Huh)

Jan(oh)mat
Back to top
 

Untitled_001.jpg (87 KB | 3 )
Untitled_001.jpg
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10570
United Kingdom
Re: Unable to select Programmer when using Arduino DUE board
Reply #1 - Jun 7th, 2019 at 10:36pm
 
Which programmers did you expect to see? Which do you have?

The list is found based on what is installed. The default for Arduino uses serial COM upload which is not a programmer.

The Arduino IDE is confusing, it shows a big list of ones that do not apply and none are used unless you click Upload>Using Programmer. Then if you pick the wrong one it will fail.
Back to top
« Last Edit: Jun 7th, 2019 at 10:37pm by Visual Micro »  
WWW  
IP Logged
 
Jan(oh)mat
Newbies
*
Offline



Posts: 3
Re: Unable to select Programmer when using Arduino DUE board
Reply #2 - Jun 7th, 2019 at 10:50pm
 
Hi Tim,

i have the ice attached to the due. Would like to use the sam interface but i think i can also use the SPI socket. So from that perspective i´m free...

It makes me wonder that when using an avr device all the well known programmers are there. Looks like the programmers for the arm devices are lokated somewhere else?

Thanks.

Jan(oh)mat
Back to top
« Last Edit: Jun 7th, 2019 at 10:50pm by Jan(oh)mat »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10570
United Kingdom
Re: Unable to select Programmer when using Arduino DUE board
Reply #3 - Jun 7th, 2019 at 10:56pm
 
Okay we just use the definitions included with the core and I don't think anyone has added the ICE. I suspect you won't see it in the list in the Arduino IDE either.

You can add a definition using the arduino hardware spec or install atmel studio 7 and visual micro. then you can set the programmer to "atmel studio device programming" which we force into the list. Atmel will see the ICE. Alternatively just use the default usb if you can.
Back to top
 
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10570
United Kingdom
Re: Unable to select Programmer when using Arduino DUE board
Reply #4 - Jun 7th, 2019 at 10:57pm
 
Okay we just use the definitions included with the core and I don't think anyone has added the ICE. I suspect you won't see it in the list in the Arduino IDE either.

You can add a definition using the arduino hardware spec or install atmel studio 7 and visual micro. then you can set the programmer to "atmel studio device programming" which we force into the list. Atmel will see the ICE. Alternatively just use the default usb if you can.

We are about to release hardware debugging in visual studio so it's possible we can add the ICE upload when we add the ICE debug.
Back to top
 
WWW  
IP Logged
 
Jan(oh)mat
Newbies
*
Offline



Posts: 3
Re: Unable to select Programmer when using Arduino DUE board
Reply #5 - Jun 7th, 2019 at 11:07pm
 
Well. I see all the programmers in arduino when having selected the arduino due. It´s also available in atmel studio 7 but i don´t see any programmer when using vMicro and having selected the due.

>You can add a definition using the arduino hardware spec
where should i place the programmers.txt file for the due?

The ones mentioned here:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\programmers.txt
seem not to be used.

>We are about to release hardware debugging in visual >studio
Beeing thrilled...  Shocked

Jan(oh)mat
Back to top
« Last Edit: Jun 7th, 2019 at 11:07pm by Jan(oh)mat »  

Untitled_004.jpg (84 KB | 2 )
Untitled_004.jpg
Untitled2_001.jpg (80 KB | 2 )
Untitled2_001.jpg
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10570
United Kingdom
Re: Unable to select Programmer when using Arduino DUE board
Reply #6 - Jun 7th, 2019 at 11:30pm
 
Your board is SAM not AVR therefore the Atmel-ICE (AVR) is of no use to you. None of the programmers shown in the Arduino IDE list are for you board.

The atmel studio device programming can be used if you switch to the "atmel studio programmer" that should appear in the list when the sam is selected in atmel studio. Atmel studio has two types of project so make sure the Due is selected before creating your project. I suggest you stick to serial upload for now.
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print