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 Unable to select Programmer when using Arduino DUE board (Read 1831 times)
Jan(oh)mat
Newbies
*
Offline


Posts: 3
Joined: Jun 7th, 2019
Unable to select Programmer when using Arduino DUE board
Jun 7th, 2019 at 9:23pm
Print Post  
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
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to select Programmer when using Arduino DUE board
Reply #1 - Jun 7th, 2019 at 9:36pm
Print Post  
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.
« Last Edit: Jun 7th, 2019 at 9:37pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Jan(oh)mat
Newbies
*
Offline


Posts: 3
Joined: Jun 7th, 2019
Re: Unable to select Programmer when using Arduino DUE board
Reply #2 - Jun 7th, 2019 at 9:50pm
Print Post  
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
« Last Edit: Jun 7th, 2019 at 9:50pm by Jan(oh)mat »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to select Programmer when using Arduino DUE board
Reply #3 - Jun 7th, 2019 at 9:56pm
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to select Programmer when using Arduino DUE board
Reply #4 - Jun 7th, 2019 at 9:57pm
Print Post  
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
Joined: Jun 7th, 2019
Re: Unable to select Programmer when using Arduino DUE board
Reply #5 - Jun 7th, 2019 at 10:07pm
Print Post  
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
« Last Edit: Jun 7th, 2019 at 10:07pm by Jan(oh)mat »  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to select Programmer when using Arduino DUE board
Reply #6 - Jun 7th, 2019 at 10:30pm
Print Post  
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 TopicPrint