VS Arduino
Visual Micro >> Microchip Studio (Atmel Studio 7) >> Select programmer
https://www.visualmicro.com/forums/YaBB.pl?num=1659363291

Message started by Javi on Aug 1st, 2022 at 2:14pm

Title: Select programmer
Post by Javi on Aug 1st, 2022 at 2:14pm
Hello
every time I try to select a programmer it automatically changes and puts me no programmer how can I solve this problem it happens to me with AS7



Thanks
Sin_t__tulo.png ( 47 KB | 2 Downloads )

Title: Re: Select programmer
Post by Tim@Visual Micro on Aug 1st, 2022 at 7:11pm
In Atmel studio it is recommended that you use the "Use Atmel Device Programming" programmer. Can you set that?

Please also follow the guide in yellow above so that we can your config.

Title: Re: Select programmer
Post by Javi on Aug 2nd, 2022 at 5:23am
Thanks for your answer
It won't let me select any programmer
I have tried it on several PCs, before updating I could select any of them without problem

Title: Re: Select programmer
Post by Tim@Visual Micro on Aug 2nd, 2022 at 7:42pm
Hi

We have tested the latest version with Microchip Studio and can not replicate the issue.

We do see in your screen shot that you have a custom board installed. It might relate to that.

Can you please explain how you have installed the core you have installed and also provide the information requested in yellow above.

Thanks

Title: Re: Select programmer
Post by Javi on Aug 3rd, 2022 at 12:53pm
Hello
The problem is only giving me with a custom board installed
Is this custom board installed I don't know if you can help me:
https://www.avdweb.nl/arduino/samd21/installation

reference to what is requested in the area in yellow it is impossible for me to do it because I cannot compile anything as I can´t select a programmer

Thank you

Title: Re: Select programmer
Post by Tim@Visual Micro on Aug 3rd, 2022 at 1:04pm
we will try it and let you know

btw: selecting a programmer is not required for build. This indicates an earlier problem loading the custom core.

Title: Re: Select programmer
Post by Tim@Visual Micro on Aug 4th, 2022 at 4:58pm
Hello

We have replcated the issue with this custom package. You can resolve yourself until the next release, as follows:-

The problem is the "." and space " " in the architecture name. Some of the following changes will resolve and other will simply keep things clean.

Workaround

Edit this text file C:\Users\[you name]\AppData\Local\arduino15\package_avdweb_nl_index.json

 Replace name: "avdweb.nl boards" with name: "avdweb_nl_boards"

Restart the IDE. You will need to reslect the board.

OR use Visual Micro in Visual Studio which is recommended for Teensy non-atmel boards

More info in case it is useful

You should get the idea here, we simply want to be rid of the "." and the " " in the package name. Internally we will automatically perform this rename when loading the tool chain in the future. It won't break if you have already changed it.

The problem here is that we make a unique package_board name as a unique key when creating the UI menu items. However Visual Studio needs to treat the strings as object names, the dot and the space don't work. It's not sensible to us the dot and space for arduino packages for other arduino reasons too :)


Title: Re: Select programmer
Post by Javi on Aug 8th, 2022 at 12:19pm
thank you very much it worked perfectly

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