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
Normal Topic 1309-04 / 1309-11 upgrade (Read 4906 times)
msssltd
Newbies
*
Offline


Posts: 1
Location: Emsworth, UK
Joined: May 11th, 2013
1309-04 / 1309-11 upgrade
Sep 11th, 2013 at 2:52pm
Print Post  
Wow.  That was painful!

So I downloaded and tried to install VM1309-04 yesterday afternoon. The compiler immediately started choking on existing sketches and solution files; complaining loudly about _cplusplus being redefined and arduino.h not existing, which of course it does.

A few months ago I did something to Atmel Studio or VM which left the debug config borked.  Only able to compile with the Release config selected and complaining about not finding 'main()' when Debug or any other config was selected.  Time for a fresh sweep and new install, I thought.

I patiently uninstalled Atmel 6.1 (I forget exactly which version) and Visual Micro 1309-04, deleted the program folders and downloaded Atmel 6.1 SP2.  After installing Atmel 6 SP2 and re-installing Visual Micro 1309-04, updating .net and the other 24 patches waiting in Windows update, even slower because I use s Virtual Machine on my Mac for development.  Still no joy.  Still the complaints about _cplusplus, arduino.h, new sketches only compiling on the Release config and now no syntax highlighting either.

I may have tried other permutations of reinstall but I forget.

Not to be beaten.  At some point I decided to check the VM pages in case anyone was reporting similar issues and noticed yet another new release 1309-11. Once again I set about not just a clean reinstall but a really, really clean install.   

This time I removed everything I could find related to Atmel and VM.  The program folders, obviously.  The data folders, squirreled away in (shared) Application Data, (user) Application Data and (local) App Data.  The registry keys, HKLM../Software/Atmel, HKCU../Software/Atmel  HKCU..Software/Visual Micro.  I even uninstalled and deleted my Arduino App folders.  And finally, I snapshotted my virtual machine.

Dutifully I re-installed (again). Starting with the two versions of the Arduino app (1.0.5 & 1.5.3) in separate folders, starting both up and setting the sketch folders.  Then Atmel Studio 6.1 SP2, starting it up and updating...But not the Visual Micro in the gallery, closing it, starting it and closing it once again.  Then Visual Micro, entering my serial number which I had thought to put to hand.  Completing the start up wizard, setting the Arduino 1.05 and 1.5 locations.

Hurrah!  It only took about 6 hours of dicking about but syntax highlighting is back, old sketches are loading and compiling, both Release and Debug configurations seem to be working.

I daren't try to open an old solution or project file though.

Not so much a complaint as a reminder, that just uninstalling is not always enough.

And a request to Tim.  Can you please put the build number on the Download page, underneath the big Download button would be wonderful.

Visual Micro is still a great product and please do keep up your sterling work.
« Last Edit: Sep 11th, 2013 at 2:55pm by msssltd »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: 1309-04 / 1309-11 upgrade
Reply #1 - Sep 11th, 2013 at 3:36pm
Print Post  
Yes that sounds painful, thanks very much for taking the extra time to post! The longer bits were probably the result of infrequent virtual machine use. It is a shame we don't have a real mac solution. Here are a few things that might help in the future:-

Compile

The Arduino compiler is entirely unrelated to any Atmel configuration. Therefore if you have a compile error there is no need to review your Atmel installation

Debugger

There are notes on the "downloads" pages, home page, top of the forum posts and in the new releases section of the forum to explain that the debugger is now activated by default from v1309.4. You can revert to project by project enabling of debug why setting Auto Enable Debug to False in the Tools Options. Or use the "debug>start without debugging/deploy" commands.

I suspect the error you were getting was a "corrupted" Arduino core.

The debug compile uses standard Arduino syntax so a debug compile problem can only be invalid breakpoint settings, project source redefining the debug port or arduino core data types or a corrupted core.

In the case of a corrupted core it would also be a good idea to click "Build>Clean Solution" after fixing the error just to ensure that cached compiler cores are updated. Clearing the VM AppData folder is what the "clean" does so your guessing probably helped Smiley

Latest Release - 1309.11

There has been 1309.11 released in the last few days which related to the underlying config changes of the latest Arduino 1.5.3 version of Arduino (released a week ago). It depends which version of arduino you had installed previously. It won't have been 1.5.3.

1309.11 polishes off the changes that allow Visual Micro to now support all Arduino versions even the new 1.5.3 with a new optional library format. It also fixes issues for windows xp users (not sure if that is you). 

Releases take a few days to appear in the Atmel Gallery so our downloads site is always the most current.

New Release Notifications, Tips, fixes and additions lists

All patches are notified by email by subscribing to our download site or subscribing or viewing the "new releases" forum board. 

There is also a popup dialog that appears when a new visual micro major version is available

The list of recent changes list and current release version number is always shown on our downloads site by clicking the DOWNLOADS (plural) button. 

On the DOWNLOADS page you will also see every previous version of visual micro. The Visual Micro version is also displayed on the Atmel Studio gallery page.

License Key

The early versions of Visual Micro that supported License keys suffered from the Licence key registration becoming reset, this was especially so for Virtual Machines. Clearing  the VM registry or re-installing on a Virtual Machine might well be subject to requiring the key to be re-entered and might also cause the need to contact visualmicro.com for a key reset. More testing is needed in this area sorry.

I hope that I can save you some future hassle by saying that, other than the "Locations" section of the Visual Micro registry everything in the vm registry is unimportant. The "locations" section simply points to where Arduino is installed.

In terms of program files the installer only installs files in "program files/visual micro..." and does not alter any Atmel or Arduino files. So the dlls in the vm program folder are all there is to Visual Micro.

There was a problem with 1309.4, the installer didn't update one of the Visual Micro dlls. Requiring uninstall and re-install.

The safest and easiest way to uninstall Visual Micro is "Add or Remove Programs>Visual Micro for Arduino"

Summary

I know half the stuff above is not relevant to you, it just seems like a good time to include it in a thread as a reminder for others.

Appreciate the post, it will no doubt be useful to others. Sorry for the major changes in the product recently however  it is mainly due to Arduino
« Last Edit: Sep 11th, 2013 at 3:38pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: 1309-04 / 1309-11 upgrade
Reply #2 - Jan 29th, 2014 at 9:23pm
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint