VS Arduino
Visual Micro >> Other Hardware >> (SOLVED) Fail to add new boards to Visual Micro
https://www.visualmicro.com/forums/YaBB.pl?num=1478059929

Message started by Javier Andres on Nov 2nd, 2016 at 4:12am

Title: (SOLVED) Fail to add new boards to Visual Micro
Post by Javier Andres on Nov 2nd, 2016 at 4:12am
I have Visual Studio 2015 and Arduino IDE 1.6.12 installed on my computer, recently installed Visual Micro 1610.27.0.

I have added the Controllino Boards in the Arduino IDE and have written a sketch, uploaded to the controller, and it runs well.

In Visual Sudio, the Boards Manager shows the Controllino boards as not installed. Clicking on them, the Boards Manager shows them as Installed after a while. After closing the boards manager, none of the three boards appear in the drop down list of boards. Opening again the Boards Manager shows the Controllino Boards as not installed.

After some time playing with controllino package's file locations I've been unable to make it work.

Can someone give some help?

Thank you

Javier


Title: Re: Fail to add new boards to Visual Micro
Post by Visual Micro on Nov 2nd, 2016 at 12:26pm
Hi,

Best thing to do is to post the json url you installed into the arduino ide

Please also confirm you have restarted Visual studio since installing the board in the arduino ide

Thanks

Title: Re: Fail to add new boards to Visual Micro
Post by Javier Andres on Nov 2nd, 2016 at 2:01pm
I am new to the arduino environment, so i am not sure what you are asking for.

This is what I put in the Additional boards Manager URLs in the Arduino IDE:

https://raw.githubusercontent.com/Controllino/ControllinoHardware/master/package_ControllinoHardware_index.json

However, I have also tried to install the Windows 10 Iot Core in the Boards Manager but it happens the same thing, initially it says INSTALLED but after closing and reopening the Boards Manager, or after pressing Rescan, is shows it again as non installed.

Yes I have closed and reopened the Visual Studio but nothing changes. I fact i had the Controllino Boards installed in the Arduino IDE before Visual Micro installation.
Afterwards, I have removed and reinstalled the Boards with no positive result.

If I uninstall the Boards in the Arduino IDE and reinstall them using Visual Micro. The boards does not appear as installed in Visual Micro but yes in the Arduino IDE.

Thank you for your attention

Javier

Title: Re: Fail to add new boards to Visual Micro
Post by Javier Andres on Nov 2nd, 2016 at 2:04pm
Sorry, the Url seems broken

This is the correct Url:

https://raw.githubusercontent.com/Controllino/ControllinoHardware/master/package_ControllinoHardware_index.json

Regards

Javier

Title: Re: Fail to add new boards to Visual Micro
Post by Visual Micro on Nov 2nd, 2016 at 6:59pm
I just tried it with the default install for Controllino HW and it's working okay.

Which version of visual micro have you installed? Find the version number in "tools>extensions and updates>arduino ide for vs"

Have you restarted visual studio since you installed the hardware?

Thanks


Title: Re: Fail to add new boards to Visual Micro
Post by Javier Andres on Nov 2nd, 2016 at 7:32pm
Version is 1610.27.0

I have restarted Visual Studio but the problem persists.

I have uninstalled Arduino IDE and reinstalled it, then uninstalled visual micro, restarted visual studio, reinstalled visual micro and restarted visual studio one more time, but with no change.


Title: Re: Fail to add new boards to Visual Micro
Post by Visual Micro on Nov 2nd, 2016 at 7:50pm
Thanks. Uninstalling and reinstalling any of the programs won't help.

Can you please switch on vmicro>compiler verbose and "show build properties". select the Arduino Uno board and then build. Post or email the output as a .txt file. email to info[at]visualmicro.com

Also switch on tools>options>visual micro>user interface>trace. then restart and post or email the output that appears in the Micro Trace output window.

Thanks

Title: Re: Fail to add new boards to Visual Micro
Post by Javier Andres on Nov 4th, 2016 at 11:44am
The output of the Micro Trace window is

Application      Begin
Status      Application - Extenders Created
Mode      AfterStartup
Status      AddinKickOff - Setup temp commands required
Status      AddinKickOff - Command event obtained
Status      Launched - Mcu Init
Info      MyVisualMicro location C:\Users\Javier\Documents\Visual Micro
Status      Available application configuations =  7
Status      Launched. Application configurations loaded = 7
Create UI command items      Begin
Create UI command items      End
Launch      Complete
Get      CustomToolBarObjects
OnDocumenetOpened: D:\Proyectos\Honeywell\AdeEuridis\EuridisIno\Defs.ino
Intellisense: Refresh for project
Intellisense: Refresh for project

and I have attached a text file with the content of the build output

Thank you

https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=Micro_Build_Output.txt ( 40 KB | 2 Downloads )

Title: Re: Fail to add new boards to Visual Micro
Post by Visual Micro on Nov 5th, 2016 at 11:33am
Please zip and post the .json files that exist in C:\Users\Javier\AppData\Local\Arduino15

Title: Re: Fail to add new boards to Visual Micro
Post by Joaquin Villanueva on Nov 5th, 2016 at 12:39pm

Tim@Visual Micro wrote on Nov 5th, 2016 at 11:33am:
Please zip and post the .json files that exist in C:\Users\Javier\AppData\Local\Arduino15

I have the same problem: I'm trying to add a Moteino board, and when I add it, it appears at the "Manage Board" windows; however, it doesn't appear at the board selection, and when I hit Rescan it desappears and goes again to the list of boards to be installed.
At the local Arduino IDE I have installed it without problem, and however it doesn't add to the board list

Title: Re: Fail to add new boards to Visual Micro
Post by Visual Micro on Nov 5th, 2016 at 12:52pm
Hi Joaquin.

You have quoted my request for information in your post but have not provided the information

Thanks

Title: Re: Fail to add new boards to Visual Micro
Post by Joaquin Villanueva on Nov 5th, 2016 at 1:00pm

Tim@Visual Micro wrote on Nov 5th, 2016 at 12:52pm:
Hi Joaquin.

You have quoted my request for information in your post but have not provided the information

Thanks

You are right. In my case the URL is
https://lowpowerlab.github.io/MoteinoCore/package_LowPowerLab_index.json

Title: Re: Fail to add new boards to Visual Micro
Post by Visual Micro on Nov 5th, 2016 at 1:33pm
Thanks, what I was hoping for was a zip of all the json files in the arduino15 folder.

In both cases I have added the .sjon to the arduino ide, used the arduino ide board manager to install. Then open visual micro and the boards were there.

If this fails for you and you can not see the boards this means that some other package that you have installed is causing a problem for visual micro. So please show a screen shot of the folder names in the "C:\Users\[your name]\AppData\Local\Arduino15\packages" folder.

Thanks

Title: Re: Fail to add new boards to Visual Micro
Post by Joaquin Villanueva on Nov 5th, 2016 at 4:31pm
[code] Directorio de C:\Users\joaquin\AppData\Local\Arduino15\packages

01/11/2016  16:17    <DIR>          .
01/11/2016  16:17    <DIR>          ..
01/11/2016  16:17    <DIR>          arduino
04/11/2016  22:12    <DIR>          Moteino
               0 archivos              0 bytes
               4 dirs  30.160.949.248 bytes libres[/code]

I'm not sure if this is what you need...

Title: Re: Fail to add new boards to Visual Micro
Post by Visual Micro on Nov 5th, 2016 at 4:45pm
Thanks

and to confirm

1) after restart of visual studio, in the "Visual Micro Explorer > Board Manager", you can not see Moteino?

2) are you using the default arduino 1.6.12 core or have you installed an older avr version? (can show screen shot of arduino avr node in boards manager if unsure)

Title: Re: Fail to add new boards to Visual Micro
Post by Visual Micro on Nov 5th, 2016 at 5:28pm
I have replicated the problem with Motieno. Another user wanted to install the grid hub sources in the document\arduino\hardware folder last week so the definitions I was seeing were from that "special" arduino folder.

I'll look into it and post shortly

Title: Re: Fail to add new boards to Visual Micro
Post by Joaquin Villanueva on Nov 5th, 2016 at 9:22pm
Thanks a lot. Anyway, with respect to your questions:
- At the tab "Manage Boards" in Visual Micro Explorer, I can see the Moteino at the Board Package Installer, in black colour (as if it needs to be installed). I can install it and then it changes to grey, but when I click Rescan it returns to the previous state
- I'm using default Arduino 1.6.12. At the Arduino IDE I can work with Moteino withou an issue

Title: Re: (SOLVED) Fail to add new boards to Visual Micro
Post by Visual Micro on Nov 5th, 2016 at 10:09pm
Thanks to you both for making the effort to report this. There is a new release of Visual Micro (1605.1) in the gallery which resolves this error.

And sorry for the confusion.  Visual Micro was failing for packages that inherit the arduino avr toolchain and on machines that had never used board manager to install any other type of arduino platform such as 32 bit.

I cleaned my install and found the issue immediately. doh!

@Javier  please ignore need to change board.txt. I forgot that visual micro caters for duplicate board ids without issue.

Title: Re: (SOLVED) Fail to add new boards to Visual Micro
Post by Javier Andres on Nov 6th, 2016 at 8:26am
Thank you very much for your help.

Just to confirm, with the new version it now works very well even with the initial boards.txt file.

Very good work.

Regards

Javier

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