Pages: [1]   Go Down
Author Topic: Serial Monitor Suggestion - Reset Button  (Read 1446 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 12
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Would be nice to touch a button in the terminal display to reset the Arduino. Opening and closing the serial window does this already due to the serial port open causing a reset via the DTR signal.

What I'm suggesting is that you have a button that will quickly close and reopen the serial port, thereby causing the same reset the boot load process does.
Logged

uCHobby: Hobby Microcontrollers

Left Coast, CA (USA)
Online Online
Brattain Member
*****
Karma: 361
Posts: 17259
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Would be nice to touch a button in the terminal display to reset the Arduino. Opening and closing the serial window does this already due to the serial port open causing a reset via the DTR signal.

What I'm suggesting is that you have a button that will quickly close and reopen the serial port, thereby causing the same reset the boot load process does.


 That is another reason I often use a Windows terminal program called brey terminal. It has two features that really let it work well with the Arduino IDE without getting in the way, but providing more control then the IDE serial monitor. First brey terminal has a comm port connect/disconnect button, so the application can stay open on the desktop, but it can release the comm port so that I can just have the open Arduino IDE immediately do another upload if I wish. The Arduino IDE is well behaved in that when it completes a upload it automatically does a release of the comm port, so it's quite easy to utilize both programs without conflicts. Brey terminal also has buttons to activate the standard serial output control signals DTR and RTS, so I can force a board reset with a simple click of a button.

 The built in IDE serial monitor is a nice feature, but if you are doing serious comm troubleshooting there is a lot to be said for having a more powerful, and additional features that a full blown terminal programs brings to the table. The brey terminal is free and is a standalone EXE file requiring no installation. It's handy to just carry a copy around in your memory stick.

http://sites.google.com/site/terminalbpp/

Lefty
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 124
Posts: 6633
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

All things considered, I'd rather see the IDE support a user-selectable external terminal emulator.  It shouldn't take much more than a signaling standard for shutting it down when a new sketch is uploaded.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 12
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Lefty, that terminal program is great. Does it do ANSI emulation too? I will try it but maybe you know...  Once neat thing that I tried was cycling the RTS to cause a reset without having to close and reopen the port. I wonder if a macro button could be set to do that...

One idea is that the IDE could create a virtual serial port and open and close it as needed for the load process. Then you could connect any terminal application to the virtual port and give the IDE plenty of control to make it work well.
Logged

uCHobby: Hobby Microcontrollers

ottawa, canada
Offline Offline
God Member
*****
Karma: 6
Posts: 990
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

All things considered, I'd rather see the IDE support a user-selectable external terminal emulator.  It shouldn't take much more than a signaling standard for shutting it down when a new sketch is uploaded.


I'm with you.
Logged

Pages: [1]   Go Up
Jump to: