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 Enable/Disable licence after serial problem (Read 5914 times)
jC Omega
Newbies
*
Offline


Posts: 2
Location: http://www.jc-omega.com/
Joined: Dec 30th, 2015
Enable/Disable licence after serial problem
Dec 30th, 2015 at 5:13pm
Print Post  
Hello,

Today, I want to thank the team "visual micro team": I purchased a license key and after I enabled  in option menu.

I'm working on a specific program(for a esp8266) since 6 month with limited visual micro: no problem.
I use "classic" serial debug for displaying my message and one push button for control the esp8266 (on gpio0)

--> Since today with the full version (or since the last 'visual micro' I don't know) version I have problem :
- If a use the serial monitor (in VS2015) : impossible to use my push button on my board. (with the limited visual micro version I never had this problem), if I disconnected the serial in the monitor (uncheck the case "connect") the push button works.
- compilation is very very long (4min)
- If I used a external serial monitor (putty for example): no problem with my push button. (but not easy for upload the code)

Is it possible to disable and enable the licence key in the option to confirm or not my problem?
- Licence bug ? Last version problem?

Thank for your help

My configuration : 
- VS2015 SP1
- last visual micro
- Arduino 1.6.6
- ESP8266 plugin 2.0.0
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Enable/Disable licence after serial problem
Reply #1 - Dec 30th, 2015 at 5:22pm
Print Post  
Hi,

Thanks for the post. Some info that might help.

1) Switching the toolbar between "Debug/Local windows debugger" and "Release" enables or disables the debug which is the same as disabling the license.

2) When debug is on the serial monitor expects serial packets to be terminated with a new line char such as \n or Serial.println(). This is why you aren't seeing data in the monitor.

3) 

The compiler cache in the latest releases has been updated to work the same way the new arduino cache works. 

However my understanding is that an error in the esp8266 definitions can cause some issues. You can fix this as follows:-

In text file : C:\Users\[yourname]t

Change all occurrences of this text:-

Code
Select All
"{build.path}/arduino.ar" 



To this text:-

Code
Select All
"{build.path}/{archive_file}" 



After changing the file, restart the ide or click "tools>visual micro>reload toolchains"

4)

Lastly one other user reported a slow compile cache issue which was due to non ascii chars in the [yourname] part of the path shown above. This is due to be looked into. Therefore if your name contains any punctuation or other non-plain chars please tell me and I will give you a workaround.

Let me know how you get on
« Last Edit: Dec 30th, 2015 at 5:24pm by Tim@Visual Micro »  
Back to top
IP Logged
 
jC Omega
Newbies
*
Offline


Posts: 2
Location: http://www.jc-omega.com/
Joined: Dec 30th, 2015
Re: Enable/Disable licence after serial problem
Reply #2 - Dec 30th, 2015 at 10:26pm
Print Post  
Thank for your quick response.

1) This button? I don't use the debug mode (for the moment)

3) It's work, thank. Now the compiling time is less than 10s.

I tried with a another PC (laptop with same config), this compiling time is now the same.
But I don't have the serial problem. 

The difference between the fixe and the laptop PC :
- no visual micro licence : limited version on the laptop
- the computer (hardware), but all software are the same. (my program and arduino&co software is the same)

Can I try to totally uninstall visual micro and other ide software to disable my licence? For verify if the problem is since my licence activation or a other unknown problem.




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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Enable/Disable licence after serial problem
Reply #3 - Dec 30th, 2015 at 11:13pm
Print Post  
Thanks for the info.

1) Yes

if still a problem then please switch off "visual micro>automatic debugging" and then try the serial.

Thanks
« Last Edit: Dec 30th, 2015 at 11:14pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint