PDA

View Full Version : Terminal in Linux?


Lucretius
01-09-2008, 06:57 PM
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
01-09-2008, 07:40 PM
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
01-09-2008, 10:46 PM
Try picreader (also in pictools). It gives you a (CLI) console like IFI Loader.

Binome
01-09-2008, 11:03 PM
minicom?
theres lots of terminal clones for linux.

Shinigami2057
01-10-2008, 10:57 AM
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).

ay2b
01-10-2008, 12:18 PM
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).