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 Dont use DTR in serial debugger (Read 5063 times)
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Dont use DTR in serial debugger
Jan 2nd, 2016 at 3:51am
Print Post  
Is there a way to toggle off the usage of DTR in the SER debugger, so that it does not cause a reset on the Ard UNO?

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Dont use DTR in serial debugger
Reply #1 - Jan 2nd, 2016 at 5:15pm
Print Post  
Yes "project>properties>micro debug>Startup delay or dtr" = False

It defaults to true. Then you can control the Dtr setting manually using the Dtr checkbox on the Serial monitor.
  
Back to top
WWW  
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: Dont use DTR in serial debugger
Reply #2 - Jan 2nd, 2016 at 5:32pm
Print Post  
thank you. will that feature then NOT cause a reset of the  arduino upon connect ?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Dont use DTR in serial debugger
Reply #3 - Jan 2nd, 2016 at 5:38pm
Print Post  
That's right. The debugger always resets when the serial monitor opens/debug starts unless the dtr is off.

However be aware that with it off the Arduino can be at a break-point when the debug starts yet the debugger won't know about it. There is a change due to allow the debugger to auto detect this state. 

If you encounter this state you can send the letter 'c', using the serial monitor, to force the arduino to continue.
  
Back to top
WWW  
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: Dont use DTR in serial debugger
Reply #4 - Jan 3rd, 2016 at 4:52am
Print Post  
thanks.

can you please make the upgrade process within VS 2012 - show me the changes in the code that you want the IDE to upgrade to so that I can decide each time the IDE tells me that there is a new version - then I can view the WHATS NEW and decide if I want to upgrade. 

Otherwise as it is now, I have no idea what the upgrade (seems to be upgrading every few days which is anoying) does for me.

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Dont use DTR in serial debugger
Reply #5 - Jan 3rd, 2016 at 3:27pm
Print Post  
Well it takes a lot of time to make the software and the main web site and the gallery page. All of which also have links to the Release Notes

So please try to look for these things rather than assume they are not there

And if you look at the news that flashes at the top of this forum page you will also see the link to the release notes.

Thanks
« Last Edit: Jan 3rd, 2016 at 3:28pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: Dont use DTR in serial debugger
Reply #6 - Jan 3rd, 2016 at 4:04pm
Print Post  
I am suggesting that the link be right imbedded in the VS 2012 upgrade page in the IDE so that the decision can be made there.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Dont use DTR in serial debugger
Reply #7 - Jan 3rd, 2016 at 4:13pm
Print Post  
It's on the screen in "tools>extensions and updates"

So what screen/window are you talking about
« Last Edit: Jan 3rd, 2016 at 4:14pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint