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 ESP8266 OTA keep uploading to COM port (Read 3029 times)
paolo48
Junior Member
**
Offline


Posts: 69
Joined: Dec 22nd, 2015
ESP8266 OTA keep uploading to COM port
Aug 21st, 2016 at 3:10pm
Print Post  
Randomly switching from COM3 port to TCP/IP port using drop down menu or "Visual Micro/Property" menu doesn't change the port to witch uploading is directed!
Sometime it is corrected restarting visual studio....sometime restarting windows!
Do you have any idea on why this append or any suggestions....!?
ps: I am using last VisualMicro release and Arduino IDE 1.6.7.-
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266 OTA keep uploading to COM port
Reply #1 - Aug 21st, 2016 at 3:15pm
Print Post  
I'll try it over the next few days thanks. a few questions

Is/was the serial monitor open during upload?
Are you using apple bonjour for ip address listing or using manually entered ip address?
Is the project or code selected in the solution explorer when you switch?
Is code active in the editor when you switch?
Is the solution selected in the solution explorer when you switch?
After you restart has the switch been saved or do you have to re-select the port/ip before using?


Interested to hear the answers thanks
« Last Edit: Aug 21st, 2016 at 3:17pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266 OTA keep uploading to COM port
Reply #2 - Aug 21st, 2016 at 3:28pm
Print Post  
ps: the answer to the questions I posted will be really useful. They are just questions not instructions to change the way you work.

A workaround is probably to add another arduino project to the solution. When you click between the code of the "dummy" project and the live project visual micro should clear some cache that might be the cause of the issue.

Visual Micro holds one set of active editor project settings in memory at any time, so as you click between the two projects the cache is refreshed
« Last Edit: Aug 21st, 2016 at 3:29pm by Tim@Visual Micro »  
Back to top
IP Logged
 
paolo48
Junior Member
**
Offline


Posts: 69
Joined: Dec 22nd, 2015
Re: ESP8266 OTA keep uploading to COM port
Reply #3 - Aug 21st, 2016 at 8:25pm
Print Post  
This is the answer to your questions:

Is/was the serial monitor open during upload?
Yes&not :it appends both way!
Are you using apple bonjour for ip address listing or using manually entered ip address?
Often is a manually entered IP address....
Is the project or code selected in the solution explorer when you switch?
I don't understand ....off course the project is seleceted!
Is code active in the editor when you switch?
Yes normally it is all way active!
Is the solution selected in the solution explorer when you switch?
Again I don't understand what you means by "selected"
After you restart has the switch been saved or do you have to re-select the port/ip before using? [/quote]
Normally the IP port is saved!

Thanks for suggested tric.....it works:
when I switch project the IP setting become effective and coming back to the original project I can switch from COM to IP without any problem.

I guess that the locking to COM port could be caused by some kind of unexpected communication failure like the one due to UBS disconnection....

For the time ...your fix works ....tanks!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint