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
Hot Topic (More than 8 Replies) (SOLVED) Fail to add new boards to Visual Micro (Read 14252 times)
Javier Andres
Newbies
*
Offline


Posts: 6
Joined: Nov 2nd, 2016
(SOLVED) Fail to add new boards to Visual Micro
Nov 2nd, 2016 at 4:12am
Print Post  
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

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Fail to add new boards to Visual Micro
Reply #1 - Nov 2nd, 2016 at 12:26pm
Print Post  
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
Joined: Nov 2nd, 2016
Re: Fail to add new boards to Visual Micro
Reply #2 - Nov 2nd, 2016 at 2:01pm
Print Post  
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...

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
Joined: Nov 2nd, 2016
Re: Fail to add new boards to Visual Micro
Reply #3 - Nov 2nd, 2016 at 2:04pm
Print Post  
Sorry, the Url seems broken

This is the correct Url:

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

Regards

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Fail to add new boards to Visual Micro
Reply #4 - Nov 2nd, 2016 at 6:59pm
Print Post  
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

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


Posts: 6
Joined: Nov 2nd, 2016
Re: Fail to add new boards to Visual Micro
Reply #5 - Nov 2nd, 2016 at 7:32pm
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Fail to add new boards to Visual Micro
Reply #6 - Nov 2nd, 2016 at 7:50pm
Print Post  
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
Joined: Nov 2nd, 2016
Re: Fail to add new boards to Visual Micro
Reply #7 - Nov 4th, 2016 at 11:44am
Print Post  
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
  

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: Fail to add new boards to Visual Micro
Reply #8 - Nov 5th, 2016 at 11:33am
Print Post  
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
Joined: Nov 5th, 2016
Re: Fail to add new boards to Visual Micro
Reply #9 - Nov 5th, 2016 at 12:39pm
Print Post  
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
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Fail to add new boards to Visual Micro
Reply #10 - Nov 5th, 2016 at 12:52pm
Print Post  
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
Joined: Nov 5th, 2016
Re: Fail to add new boards to Visual Micro
Reply #11 - Nov 5th, 2016 at 1:00pm
Print Post  
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
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Fail to add new boards to Visual Micro
Reply #12 - Nov 5th, 2016 at 1:33pm
Print Post  
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
Joined: Nov 5th, 2016
Re: Fail to add new boards to Visual Micro
Reply #13 - Nov 5th, 2016 at 4:31pm
Print Post  
Code
Select All
 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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Fail to add new boards to Visual Micro
Reply #14 - Nov 5th, 2016 at 4:45pm
Print Post  
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)
« Last Edit: Nov 5th, 2016 at 4:48pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Fail to add new boards to Visual Micro
Reply #15 - Nov 5th, 2016 at 5:28pm
Print Post  
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
Joined: Nov 5th, 2016
Re: Fail to add new boards to Visual Micro
Reply #16 - Nov 5th, 2016 at 9:22pm
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: (SOLVED) Fail to add new boards to Visual Micro
Reply #17 - Nov 5th, 2016 at 10:09pm
Print Post  
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.
« Last Edit: Nov 6th, 2016 at 12:32am by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Javier Andres
Newbies
*
Offline


Posts: 6
Joined: Nov 2nd, 2016
Re: (SOLVED) Fail to add new boards to Visual Micro
Reply #18 - Nov 6th, 2016 at 8:26am
Print Post  
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 TopicPrint