VS Arduino
Visual Micro >> Installation & Troubleshooting >> Unable to select Programmer when using Arduino DUE board
https://www.visualmicro.com/forums/YaBB.pl?num=1559942627

Message started by Jan(oh)mat on Jun 7th, 2019 at 9:23pm

Title: Unable to select Programmer when using Arduino DUE board
Post by Jan(oh)mat on Jun 7th, 2019 at 9: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 :-?)

Jan(oh)mat
Untitled_001.jpg ( 87 KB | 2 Downloads )

Title: Re: Unable to select Programmer when using Arduino DUE board
Post by Visual Micro on Jun 7th, 2019 at 9: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.

Title: Re: Unable to select Programmer when using Arduino DUE board
Post by Jan(oh)mat on Jun 7th, 2019 at 9: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

Title: Re: Unable to select Programmer when using Arduino DUE board
Post by Visual Micro on Jun 7th, 2019 at 9: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.

Title: Re: Unable to select Programmer when using Arduino DUE board
Post by Visual Micro on Jun 7th, 2019 at 9: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.

Title: Re: Unable to select Programmer when using Arduino DUE board
Post by Jan(oh)mat on Jun 7th, 2019 at 10: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...  :o

Jan(oh)mat
Untitled_004.jpg ( 84 KB | 2 Downloads )
Untitled2_001.jpg ( 80 KB | 2 Downloads )

Title: Re: Unable to select Programmer when using Arduino DUE board
Post by Visual Micro on Jun 7th, 2019 at 10: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.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.