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 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Atmel 6.1 - Visual Micro not appearing (Read 6625 times)
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel 6.1 - Visual Micro not appearing
Reply #20 - Mar 25th, 2014 at 11:53am
Print Post  
Hi Simon,

Sorry I am not sure why the system will not load the .txt files it reads the config from. The same software has worked fine for many thousands of people so it's a mystery. We will add more trace info to the loading of the .txt config files to determine what is wrong. 

Can you please confirm the type of disk (normal, network, cloud) that is mapped to your E:\ please

Thanks
  
Back to top
IP Logged
 
Simon15
Junior Member
**
Offline


Posts: 16
Joined: Mar 20th, 2014
Re: Atmel 6.1 - Visual Micro not appearing
Reply #21 - Mar 25th, 2014 at 11:59am
Print Post  
normal main system disk its a local hdd
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel 6.1 - Visual Micro not appearing
Reply #22 - Mar 25th, 2014 at 12:07pm
Print Post  
Thanks
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel 6.1 - Visual Micro not appearing
Reply #23 - Mar 25th, 2014 at 9:38pm
Print Post  
The trace has shown that the other user you noted has a problem with their windows wmi database. 

The problem with your install, I missed it earlier when you posted the trace, is that Visual Micro can't create any menus or tool bar items. It's standard stuff and is managed by Microsoft Visual Studio which Atmel Studio is built with.

The Visual Studio system shares the command bar and menu system with other Microsoft components such as ms office. So I should ask if you have performed all windows updates and also what is the history of Ms Office on your pc?

Thanks

« Last Edit: Mar 25th, 2014 at 10:02pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Simon15
Junior Member
**
Offline


Posts: 16
Joined: Mar 20th, 2014
Re: Atmel 6.1 - Visual Micro not appearing
Reply #24 - Mar 26th, 2014 at 12:40pm
Print Post  
hey im running microsoft office 2013 i think it the pro version not 100 %
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel 6.1 - Visual Micro not appearing
Reply #25 - Mar 26th, 2014 at 9:13pm
Print Post  
Hey I think I have found out what is happening. The trace above with the menu command failures is simply due to the fact you entered the arduino location for an non-existent ide (due to your apps list being empty)

I was adding more trace messages for why on earth the applications are not showing and force replicated the problem. 

We need to ensure that the Visual Micro installer has been able to install a text file called applications.txt (which is located in the "Micro Platforms" below the Visual Micro program files folder. You can see the location of this folder in "tools>options>visual micro>version>assembly locations")

Do you have this file? If you do is the file size zero bytes?

Thanks
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel 6.1 - Visual Micro not appearing
Reply #26 - Mar 27th, 2014 at 1:50am
Print Post  
There is an update here that reports the missing apps list file or any problem loading it.

https://visualmicro.codeplex.com/releases/view/106554

  
Back to top
IP Logged
 
Simon15
Junior Member
**
Offline


Posts: 16
Joined: Mar 20th, 2014
Re: Atmel 6.1 - Visual Micro not appearing
Reply #27 - Mar 27th, 2014 at 3:50pm
Print Post  
hey just ran the patch and launched atmel 

getting a promt to enter activation key (first time i see this) then i x the ( i have read ....) and click free trail and getting the following error

" Error: the system cannot find he path specified. (exception from HRESULT:0x90070003"

then i get a popup to enter the arduino ide location when i enter that i get a new popup with the title

visual micro - WMI port Name discovery

text in message 

"Windows WMI Lookup Error! Usb ports will be displayed with short names and network discovery will be disabled. Visit the visualmicro.com wiki and forum for more help.

Unable to resolve friendly port names using the WMI database: The system cannot find the path specified. (Exception from HRESULT: 0x80070003)"


system trace log 

Quote:
Application      Begin
Application      Extenders Created
Application      AS6 Config Helpers Complete
Mode      UISetup
CreateCommandBarItemsPerm      Begin AddinVer=1.1403.26
Permanent Items Setup Requested       - Exiting setup because some controls already exist
CreateCommandBarItemsPerm      End
Status      AddinKickOff - Setup required
Status      AddinKickOff - Command event obtained
Status      Launched - Mcu Init
Status      Please configure Visual Micro to the location of at least one Ide using the Configuration Manager
Status      Available application configuations =  3
Status      Available application configuations =  3
Adding      UI Menu-Board-Items
UI Clean Up      Error removing UI board menu items
System.NullReferenceException: Object reference not set to an instance of an object.
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.RefreshCommandBarBoards()
Error creating board menu item      Unable to create menu item for board Arduino Uno, Name=uno
Error creating board menu item      Unable to create menu item for board Arduino Duemilanove w/ ATmega328, Name=atmega328
Error creating board menu item      Unable to create menu item for board Arduino Diecimila or Duemilanove w/ ATmega168, Name=diecimila
Error creating board menu item      Unable to create menu item for board Arduino Nano w/ ATmega328, Name=nano328
Error creating board menu item      Unable to create menu item for board Arduino Nano w/ ATmega168, Name=nano
Error creating board menu item      Unable to create menu item for board Arduino Mega 2560 or Mega ADK, Name=mega2560
Error creating board menu item      Unable to create menu item for board Arduino Mega (ATmega1280), Name=mega
Error creating board menu item      Unable to create menu item for board Arduino Leonardo, Name=leonardo
Error creating board menu item      Unable to create menu item for board Arduino Esplora, Name=esplora
Error creating board menu item      Unable to create menu item for board Arduino Micro, Name=micro
Error creating board menu item      Unable to create menu item for board Arduino Mini w/ ATmega328, Name=mini328
Error creating board menu item      Unable to create menu item for board Arduino Mini w/ ATmega168, Name=mini
Error creating board menu item      Unable to create menu item for board Arduino Ethernet, Name=ethernet
Error creating board menu item      Unable to create menu item for board Arduino Fio, Name=fio
Error creating board menu item      Unable to create menu item for board Arduino BT w/ ATmega328, Name=bt328
Error creating board menu item      Unable to create menu item for board Arduino BT w/ ATmega168, Name=bt
Error creating board menu item      Unable to create menu item for board LilyPad Arduino USB, Name=LilyPadUSB
Error creating board menu item      Unable to create menu item for board LilyPad Arduino w/ ATmega328, Name=lilypad328
Error creating board menu item      Unable to create menu item for board LilyPad Arduino w/ ATmega168, Name=lilypad
Error creating board menu item      Unable to create menu item for board Arduino Pro or Pro Mini (5V, 16 MHz) w/ ATmega328, Name=pro5v328
Error creating board menu item      Unable to create menu item for board Arduino Pro or Pro Mini (5V, 16 MHz) w/ ATmega168, Name=pro5v
Error creating board menu item      Unable to create menu item for board Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega328, Name=pro328
Error creating board menu item      Unable to create menu item for board Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega168, Name=pro
Error creating board menu item      Unable to create menu item for board Arduino NG or older w/ ATmega168, Name=atmega168
Error creating board menu item      Unable to create menu item for board Arduino NG or older w/ ATmega8, Name=atmega8
Error creating board menu item      Unable to create menu item for board Arduino Robot Control, Name=robotControl
Error creating board menu item      Unable to create menu item for board Arduino Robot Motor, Name=robotMotor
Adding      Creating project menu libraries for platform
Adding      Tools-and-libraries-menu-begin
Error      Library names to UI
System.NullReferenceException: Object reference not set to an instance of an object.
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.get_GetMenuBarProjectAddLibCore()
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.RefreshCommandBarLibsMenu()
End      Libraries names to UI
Status      Launched. Application configurations loaded = 3
Create UI command items      Begin
CreateCommandBarItems      Begin AddinVer=1.1403.26
Get Bar      Tools
Create Bar      Tools>Arduino
Adding      Tools>Ports
Adding      Tools>Other Ports
Adding      UI Menu-Board-Items
Adding      UI Menu-SerialPort-Items
Adding      Creating project menu libraries for platform
Adding      Tools-and-libraries-menu-begin
Adding      Libraries-menu-cleared
Task      libs-get-for-ide
Adding      Lib-core: EEPROM
Adding      Lib-core: Esplora
Adding      Lib-core: Ethernet
Adding      Lib-core: Firmata
Adding      Lib-core: GSM
Adding      Lib-core: LiquidCrystal
Adding      Lib-core: SD
Adding      Lib-core: Servo
Adding      Lib-core: SoftwareSerial
Adding      Lib-core: SPI
Adding      Lib-core: Stepper
Adding      Lib-core: TFT
Adding      Lib-core: WiFi
Adding      Lib-core: Wire
Adding      Lib-user-begin
Adding      Lib-user-cleared
Task      libs-get-for-user
Adding      Lib-user: Adafruit_GFX
Adding      Lib-user: Adafruit_ILI9341
Adding      Lib-user: Adafruit_Motorshield
Adding      Lib-user: Adafruit_Sensor
Adding      Lib-user: Adafruit_ST7735
Adding      Lib-user: Adafruit_STMPE610
Adding      Lib-user: MemoryFree
Create UI command items      End
Launch      Complete
PortNameDiscovery      Unable to resolve friendly port names using the WMI database: The system cannot find the path specified. (Exception from HRESULT: 0x80070003)



now i can see the arduino tab in tools and i can choose board and arduino version from top toolbare Tongue



i also just tested uploading a sketch with also works Tongue
« Last Edit: Mar 27th, 2014 at 3:57pm by Simon15 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel 6.1 - Visual Micro not appearing
Reply #28 - Mar 27th, 2014 at 4:03pm
Print Post  
Okay well that's a bit better but we are certainly looking at a corrupted windows installation although not in critical areas. 

We still need some more trace messages but it would be good if you re-start the ide and then post the trace now that the system has automatically disabled usage of the wmi database.

I notice from the trace that it can not add Boards to the Tools>Visual Micro>Boards menu? Can you confirm the menu is empty?


Thanks
« Last Edit: Mar 27th, 2014 at 4:04pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Simon15
Junior Member
**
Offline


Posts: 16
Joined: Mar 20th, 2014
Re: Atmel 6.1 - Visual Micro not appearing
Reply #29 - Mar 27th, 2014 at 4:06pm
Print Post  
trace after relaunch off atmel

Quote:
Application      Begin
Application      Extenders Created
Application      AS6 Config Helpers Complete
Mode      UISetup
CreateCommandBarItemsPerm      Begin AddinVer=1.1403.26
Permanent Items Setup Requested       - Exiting setup because some controls already exist
CreateCommandBarItemsPerm      End
Status      AddinKickOff - Setup required
Status      AddinKickOff - Command event obtained
Status      Launched - Mcu Init
Status      Available application configuations =  3
Status      Launched. Application configurations loaded = 3
Create UI command items      Begin
CreateCommandBarItems      Begin AddinVer=1.1403.26
Get Bar      Tools
Create Bar      Tools>Arduino
Adding      Tools>Ports
Adding      Tools>Other Ports
Adding      UI Menu-Board-Items
Adding      UI Menu-SerialPort-Items
Adding      Creating project menu libraries for platform
Adding      Tools-and-libraries-menu-begin
Adding      Libraries-menu-cleared
Task      libs-get-for-ide
Adding      Lib-core: EEPROM
Adding      Lib-core: Esplora
Adding      Lib-core: Ethernet
Adding      Lib-core: Firmata
Adding      Lib-core: GSM
Adding      Lib-core: LiquidCrystal
Adding      Lib-core: SD
Adding      Lib-core: Servo
Adding      Lib-core: SoftwareSerial
Adding      Lib-core: SPI
Adding      Lib-core: Stepper
Adding      Lib-core: TFT
Adding      Lib-core: WiFi
Adding      Lib-core: Wire
Adding      Lib-user-begin
Adding      Lib-user-cleared
Task      libs-get-for-user
Adding      Lib-user: Adafruit_GFX
Adding      Lib-user: Adafruit_ILI9341
Adding      Lib-user: Adafruit_Motorshield
Adding      Lib-user: Adafruit_Sensor
Adding      Lib-user: Adafruit_ST7735
Adding      Lib-user: Adafruit_STMPE610
Adding      Lib-user: MemoryFree
Create UI command items      End
Launch      Complete



getting alot off board to choose from in the Tools>Visual Micro>Boards menu

« Last Edit: Mar 27th, 2014 at 4:08pm by Simon15 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel 6.1 - Visual Micro not appearing
Reply #30 - Mar 27th, 2014 at 4:12pm
Print Post  
Perfect! Thanks. 

That's two users in a week with a corrupted wmi database. What a waste of time for everyone. I can't believe that microsoft have a flaky database after so many years of building operating systems!

The trace messages and fall back code we have added as a workaround will surely be useful to others so thanks very much for sticking with it. 

Have PM'd you a link to a free debugger

Thanks again for the great effort.



« Last Edit: Mar 27th, 2014 at 9:18pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Simon15
Junior Member
**
Offline


Posts: 16
Joined: Mar 20th, 2014
Re: Atmel 6.1 - Visual Micro not appearing
Reply #31 - Mar 27th, 2014 at 4:20pm
Print Post  
thanks alot Tongue

think this support desvers 10 stars !!! Wink

fyi: forum is really slow
« Last Edit: Mar 27th, 2014 at 9:19pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel 6.1 - Visual Micro not appearing
Reply #32 - Mar 27th, 2014 at 5:04pm
Print Post  
Thanks

Yes I noticed the forum is sometimes slow but right now it's working well for me. 

It's either a browser cache or php problem or my isp has a dodgy server in their farm.

New web site coming shortly!
« Last Edit: Mar 27th, 2014 at 5:04pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint