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) Graphic bug: multiple serial tab (Read 9262 times)
testato
Junior Member
**
Offline


Posts: 48
Joined: Feb 11th, 2014
Graphic bug: multiple serial tab
Jun 2nd, 2015 at 1:18pm
Print Post  
i have a strange bug, every time i change architecture, example from arduino Uno to esp8266, one serial Tab is added to Atmel Studio.
look at the image
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12164
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Graphic bug: multiple serial tab
Reply #1 - Jun 2nd, 2015 at 1:49pm
Print Post  
Thanks for the image

1)
What happens when you click "tools>visual micro>reset user interface"? Can you then restart the ide without multiple serial objects?

2)
What is the full version of atmel studio that you are using? help>about

3) a minor question?
Why are you using atmel studio and not visual studio 2013? The esp8266 is not atmel hardware Smiley

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


Posts: 48
Joined: Feb 11th, 2014
Re: Graphic bug: multiple serial tab
Reply #2 - Jun 6th, 2015 at 8:41am
Print Post  
1) yes, this reset the interface, but changing architecture and restart AtmelStudio, recreate other serial Object, and Now recreate also serial speed and mcu clock object

2) AtmelStudio 6.2.1.5.6.3 - SP2
-  VisualMicro 1.1505.19 - SP6

3) Normally i use Real hardware debugger, Atmel-ICE, on Atmel project, so i prefer have only one ide also on micro where i cannot use Hardware debugger

« Last Edit: Jun 6th, 2015 at 8:42am by testato »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12164
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Graphic bug: multiple serial tab
Reply #3 - Jun 6th, 2015 at 3:06pm
Print Post  
Sounds like you don't need Arduino Smiley

I suspect that another addin or extension is conflicting. Visual Studio 2015 has fixes for this by discontinuing support for add-ins. We will soon produce an extension instead of an addin so conflicts can't happen.

You can use "file>open object file for debugging" to debug an arduino build.
  
Back to top
IP Logged
 
testato
Junior Member
**
Offline


Posts: 48
Joined: Feb 11th, 2014
Re: Graphic bug: multiple serial tab
Reply #4 - Jun 6th, 2015 at 4:03pm
Print Post  
Tim@Visual Micro wrote on Jun 6th, 2015 at 3:06pm:

You can use "file>open object file for debugging" to debug an arduino build.


yes i know, i use this way on AtmelStudio+Visualmicro also

If I undertsand your tip is use VisualStudio2015 free edition for all visualmicro project (so Arduino+Esp), and only when I need hw debug i can use    AtmelStudio ?


Quote:
Sounds like you don't need Arduino Smiley

I "born" whit Arduino, after i try to explore a little bit under, whit hw debugger  Wink
I hope that you integrate the hw debugger support on VisualMicro, whit the ArduinoZero the debug is directly on the pcb  Wink
I know that you sell the sw debugger and that it is you "money", but the people that know what is a debugger hw, and how it work is very limited, and this kind of people do not reduce your money on the sw option.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12164
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Graphic bug: multiple serial tab
Reply #5 - Jun 6th, 2015 at 4:50pm
Print Post  
Hi,

Thanks for the info.

No I do not recommend VS2015 yet. Visual Micro is not yet available for 2015 but it will be in a few weeks.

I recommend VS2013 for ESP8266 etc.

I want to integrate to the Atmel debugger but the fact that we use .ino files is a problem. I plan to support .cpp only projects (no .ino) files then it will be a bit easier to integrate to the atmel debug system. However there is still the problem of how libraries are discovered so we would also need a way to handle them that atmel is happy with.

Atmel are producing an Arduino conversion tool which will convert arduino projects to native atmel projects. This is how they plan to support zero debug. I am not sure how good the converter will be, after it is released I will review what is or is not required.

You can build with Visual Micro then use "file>open object file" which will give you a solution to use with debug but it's a clunky system. I am also reviewing how the process might be automated so there can always be a native atmel solution which is a fixed copy of the current arduino project.

Multiple objects on bars

On the boards options tool bar. Try to "right click>customize" and delete the bar then reset the interface.

If that fails one not so good way to at least contain the problem is to force the reset every time the ide starts by editing the short cut you use to start the ide. Add the /resetaddin command as follows....

[path to atmelstudio.exe] /resetaddin Visual.Micro.Visual.Studio.Arduino.Helper
« Last Edit: Jun 6th, 2015 at 4:53pm by Tim@Visual Micro »  
Back to top
IP Logged
 
testato
Junior Member
**
Offline


Posts: 48
Joined: Feb 11th, 2014
Re: Graphic bug: multiple serial tab
Reply #6 - Jun 13th, 2015 at 6:00pm
Print Post  
Tim@Visual Micro wrote on Jun 6th, 2015 at 4:50pm:

Atmel are producing an Arduino conversion tool which will convert arduino projects to native atmel projects. This is how they plan to support zero debug. I am not sure how good the converter will be, after it is released I will review what is or is not required.

Very good, we await news on this  Smiley

Quote:

Multiple objects on bars
On the boards options tool bar. Try to "right click>customize" and delete the bar then reset the interface.

If i delete the bar Arduino Boards and reset, when i start AtmelStudio automatically is added the Arduino Boards.

It is strange that this start after the esp8266 core installation, do you think it is my atmelstudio corrupted, or it is a bug on visualmicro ?
Are you tried to install esp core ? this is the BoardManager link that i used (i used it inside Arduino ide, not inside visual micro board manager function)
http://arduino.esp8266.com/package_esp8266com_index.json
« Last Edit: Jun 13th, 2015 at 6:00pm by testato »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12164
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Graphic bug: multiple serial tab
Reply #7 - Jun 13th, 2015 at 6:11pm
Print Post  
Quote:
If i delete the bar Arduino Boards and reset, when i start AtmelStudio automatically is added the Arduino Boards.


Hi

If missing then the bar is recreated when you click tools>visual micro>reset user interface
  
Back to top
IP Logged
 
testato
Junior Member
**
Offline


Posts: 48
Joined: Feb 11th, 2014
Re: Graphic bug: multiple serial tab
Reply #8 - Jun 23rd, 2015 at 1:37pm
Print Post  
yes, for now i do this at every start of AtmelSTudio  Cry

Arduino 1.6.5 is officially supported or we will have a new VisualMicro version?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12164
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Graphic bug: multiple serial tab
Reply #9 - Jun 23rd, 2015 at 3:28pm
Print Post  
Hi,

Thanks for the update. 

1)
Did you add this to your atmel studio shortcut?  It means you do not have to reset manually every time. It performs the reset when atmel loads.

Code
Select All
[path to atmelstudio.exe] /resetaddin Visual.Micro.Visual.Studio.Arduino.Helper 




2)
With the new boards manager Visual micro is not very reliant on the Arduino version. 1.6.5 is supported

  
Back to top
IP Logged
 
testato
Junior Member
**
Offline


Posts: 48
Joined: Feb 11th, 2014
Re: Graphic bug: multiple serial tab
Reply #10 - Jun 26th, 2015 at 10:15pm
Print Post  
yes, i added it, thanks.

i can confirm that 1.6.5-r2 is supported  Smiley

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint