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 Add the option to set DTS/RTS in the serial monitor (Read 5855 times)
SqueakySquak
Newbies
*
Offline


Posts: 2
Joined: Mar 27th, 2016
Add the option to set DTS/RTS in the serial monitor
Mar 27th, 2016 at 5:13pm
Print Post  
Hello,

I've been using Visual Micro addin for VS2015 and I noticed a slight issue with my NodeMCU.

When I use Visual Micro serial monitor, it prevents the ESP8266 from resetting itself, which means it will execute its program once, reset and stop.

If I use the Arduino serial monitor, this issue doesn't apply; using RealTerm I've come to the conclusion that it must be the DTS/RTS lines that have to be kept high for the ESP to perform deep sleep and reset correctly.

It would be great if we could set the DTS/RTS lines in the monitor (there is already a Dtr toggle but its tooltip is confusing).

Keep up the good work Smiley
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Add the option to set DTS/RTS in the serial monitor
Reply #1 - Mar 27th, 2016 at 6:58pm
Print Post  
Thanks, I'll take a look to see if there are some new build config flags
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Add the option to set DTS/RTS in the serial monitor
Reply #2 - Mar 28th, 2016 at 2:11pm
Print Post  
An rts checkbox has been added to the monitor for the next release. 

The tool tips have been improved. Arduino boards historically auto-reset with dtr enabled and do not use the rts.

Q: What cable are you using and how are you connecting for the auto reset to work with the esp8266?
  
Back to top
WWW  
IP Logged
 
SqueakySquak
Newbies
*
Offline


Posts: 2
Joined: Mar 27th, 2016
Re: Add the option to set DTS/RTS in the serial monitor
Reply #3 - Mar 28th, 2016 at 2:17pm
Print Post  
It seems NodeMCU is using DTR/RTS for their ESP8266 module, you can have a look at the schematic here https://raw.githubusercontent.com/nodemcu/nodemcu-devkit/master/Documents/NODEMC...

Note that the components in the schematic differ a bit from models to models; I have one with a CP2102 on it.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Add the option to set DTS/RTS in the serial monitor
Reply #4 - Apr 28th, 2016 at 10:05am
Print Post  
Rts was in the release a week or two ago. A problem with Dtr was fixed in yesterdays release
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint