Pages: [1]   Go Down
Author Topic: Serial terminal in Linux  (Read 997 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've been using 'screen' as my serial monitor in Linux (for other serial devices).  However, whenever I close out the terminal window, I cannot reaccess the serial device as it reports the resource or device as busy.  Is there a way for me to free up the serial session so I can reconnect it without having to reset the device?  Or is there a better serial utility to use?
Logged

Belgium
Online Online
Edison Member
*
Karma: 68
Posts: 1893
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Why don't you use the serial monitor of arduino. At least that one closes the serial connection when you try to upload?
Best regards
Jantje
Logged

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I never thought of that.  However, it doesn't work quite as well for devices that just constantly output a serial without any kind of character breaks (usb sensors, for example, that simply write the value out).

Is there a way to get it to constantly replace the text in the serial monitor, like screen or hyperterminal does?
Logged

Belgium
Online Online
Edison Member
*
Karma: 68
Posts: 1893
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't know of any serial monitors that do so.
I use a scope like serial monitor for that.
Best regards
Jantje
Logged

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Offline Offline
Edison Member
*
Karma: 19
Posts: 1041
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Screen is designed so that you can open up the same instance from different terminals so you can keep your session going through ssh or all the ttys at once. Thus, when you close your terminal screen doesn't actually close. You should exit out of screen normally by pressing ctrl+a k and then y
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

or use minicom

 smiley-razz
Logged


Pages: [1]   Go Up
Jump to: