View Full Version : Terminal in Linux?
Lucretius
09-01-2008, 18:57
We're an EEEPC running Xandros to compile (with a makefile) and upload code to the robot controller. picloader works quite well, while IFI Loader (under Wine) does not at all. How could we get a terminal working so we can see any and all printf's? We're using a Keyspan USB-to-serial adapter.
shtylman
09-01-2008, 19:40
I created an IFI Loader java clone.
http://shtylman.com/jifi/
It has a terminal display as well. That might be able to help you out.
interfect
09-01-2008, 22:46
Try picreader (also in pictools). It gives you a (CLI) console like IFI Loader.
minicom?
theres lots of terminal clones for linux.
Shinigami2057
10-01-2008, 10:57
Yeah, minicom works great. Just make sure you set it up correctly first (8 data bits, no parity, 1 stop bit, no flow control). Your serial device will be /dev/ttyS0 or /dev/ttyS1 for a normal serial port, and /dev/ttyUSB0 for a USB serial adapter. Don't worry about baud rate, the FRC boot loader will handle it (although 115200 baud is fastest).
How could we get a terminal working so we can see any and all printf's? We're using a Keyspan USB-to-serial adapter.
The easiest way (if you only want to see printf()s, not write back to the RC over the serial port), is to just do "cat /dev/ttyS0" (or whatever serial port you've been using, possibly /dev/ttyUSB0).
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.