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
(SOLVED) Fail to add new boards to Visual Micro (Read 8444 times)
Javier Andres
Newbies
*
Offline



Posts: 6
(SOLVED) Fail to add new boards to Visual Micro
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

Back to top
« Last Edit: Nov 5th, 2016 at 10:00pm by Visual Micro »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10473
United Kingdom
Re: Fail to add new boards to Visual Micro
Reply #1 - 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
Back to top
 
WWW  
IP Logged
 
Javier Andres
Newbies
*
Offline



Posts: 6
Re: Fail to add new boards to Visual Micro
Reply #2 - 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
Back to top
 
 
IP Logged
 
Javier Andres
Newbies
*
Offline



Posts: 6
Re: Fail to add new boards to Visual Micro
Reply #3 - Nov 2nd, 2016 at 2:04pm
 
Sorry, the Url seems broken

This is the correct Url:

https://raw.githubusercontent.com/Controllino/ControllinoHardware/master/package...

Regards

Javier
Back to top
« Last Edit: Nov 2nd, 2016 at 3:20pm by Visual Micro »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10473
United Kingdom
Re: Fail to add new boards to Visual Micro
Reply #4 - 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

Back to top
« Last Edit: Nov 2nd, 2016 at 6:59pm by Visual Micro »  
WWW  
IP Logged
 
Javier Andres
Newbies
*
Offline



Posts: 6
Re: Fail to add new boards to Visual Micro
Reply #5 - 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.

Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10473
United Kingdom
Re: Fail to add new boards to Visual Micro
Reply #6 - 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
Back to top
 
WWW  
IP Logged
 
Javier Andres
Newbies
*
Offline



Posts: 6
Re: Fail to add new boards to Visual Micro
Reply #7 - 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
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10473
United Kingdom
Re: Fail to add new boards to Visual Micro
Reply #8 - Nov 5th, 2016 at 11:33am
 
Please zip and post the .json files that exist in C:\Users\Javier\AppData\Local\Arduino15
Back to top
 
WWW  
IP Logged
 
Joaquin Villanueva
Newbies
*
Offline



Posts: 4
Re: Fail to add new boards to Visual Micro
Reply #9 - Nov 5th, 2016 at 12:39pm
 
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
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10473
United Kingdom
Re: Fail to add new boards to Visual Micro
Reply #10 - 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
Back to top
 
WWW  
IP Logged
 
Joaquin Villanueva
Newbies
*
Offline



Posts: 4
Re: Fail to add new boards to Visual Micro
Reply #11 - Nov 5th, 2016 at 1:00pm
 
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
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10473
United Kingdom
Re: Fail to add new boards to Visual Micro
Reply #12 - 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
Back to top
 
WWW  
IP Logged
 
Joaquin Villanueva
Newbies
*
Offline



Posts: 4
Re: Fail to add new boards to Visual Micro
Reply #13 - 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 



I'm not sure if this is what you need...
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10473
United Kingdom
Re: Fail to add new boards to Visual Micro
Reply #14 - 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)
Back to top
« Last Edit: Nov 5th, 2016 at 4:48pm by Visual Micro »  
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10473
United Kingdom
Re: Fail to add new boards to Visual Micro
Reply #15 - 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
Back to top
 
WWW  
IP Logged
 
Joaquin Villanueva
Newbies
*
Offline



Posts: 4
Re: Fail to add new boards to Visual Micro
Reply #16 - 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
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10473
United Kingdom
Re: (SOLVED) Fail to add new boards to Visual Micro
Reply #17 - 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.
Back to top
« Last Edit: Nov 6th, 2016 at 12:32am by Visual Micro »  
WWW  
IP Logged
 
Javier Andres
Newbies
*
Offline



Posts: 6
Re: (SOLVED) Fail to add new boards to Visual Micro
Reply #18 - 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
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print