In order to work with the terminal I used the Putty application and works great. This is the configuration that I use:
Baudrate: 115200; Data bits: 8; Stop bits: 1; Parity None; Flowcontrol: XON/XOFF. You could set it in CoolTerm or you can use Putty if you still have problems with this.
thanks for the fast respond. I had the same settings in Cool Term (and also in Tera Term). I'll try Putty now. Maybe it will work.
Maybe the problem is, that I don't use a 3,5mm - RS-232 cable.
I thought I can use a sketch instead to work with the Linux. Am I wrong?
I'm guessing you are using Galileo Board Gen1. So, if you want to interact with your board using the terminal with Linux you will need to use the 3.5mm - RS232 cable, or you can use a SSH or telnet connection. To select the correct port in Cool-Term or Putty, you have to select the port that appears in Device Manager as "USB Serial Port" (if you want to use the cable).
If you just want to upload sketches using the IDE without interacting with Linux you just need a microUSB - USB cable connected in the USB-client and your IDE working.
you can also use the USB one as serial. In order to do so you'd have to set it as tty device, modifying bit rates (and by doing so deactivating Arduino upload functionality).
It's described in one thread in this forum
hi there, I'm working with Gen2, and I have the same issue with you. I'm using putty with same settings Cmata. but still get nothing. putty just show a terminal window but not prompt. total black window. I can type in to it and it will show what I typed. I can press enter ect.... but no further respons. could you help me on this? I have a product using Edison and I'm using Galileo for peripheral function development.
asking the trivial: have you checked you have correctly connected? (RX -> TX; TX -> RX)
No I wasn't.
I tried to connect with the Galileo as it is discribed on Galileo Getting Started Guide - learn.sparkfun.com
There is a chapter "Using the Terminal" and I tried to connect using the following sketch for the Arduino IDE:
system("cp /etc/inittab /etc/inittab.bak"); // Back up inittab
// Replace all "S:2345" with "S0:2345"'s (switching serial ports):
system("sed -i 's/S:2345/S0:2345/g' /etc/inittab");
// Replace all "ttyS1" with "ttyGS0"'s (switching serial ports):
system("sed -i 's/ttyS1/ttyGS0/g' /etc/inittab");
// Replace all "grst" with "#grst"'s to comment that line out:
system("sed -i 's/grst/#grst/g' /etc/inittab");
// Replace all "clld" with "#clld"'s to comment that line out:
system("sed -i 's/clld/#clld/g' /etc/inittab");
system("kill -SIGHUP 1");
The sparkfun getting started guide mentioned, that i do not need a DB9-3.5mm link to enter the Linux environment by using this sketch.
UvonW: ttyGS0 is serial over USB. So running that sketch you would change your tty from ttyS1 (DB9 jack: default) to ttyGS0 (serial over USB) and should be able to access it via PuTTy ...
However, you won't be able to access it via Arduino IDE any longer as long as you have this modification in place
Hi UvonW, I understood that you were not able to work with Tera Term but the sketch worked to access into the prompt. Please let me know if I were right or wrong? Sorry if I misunderstood.
As mhahn said yes, the only way to use again the IDE to send sketches is typing:
cp /etc/inittab.bak /etc/inittab
kill -SIGHUP 1
Also is included in that tutorial
As I said when i tried this method it was really slow so I don't recommend it