But it didn't say specifically what the terminal commands were it was
only in python and the python script wasen't exactly included with
this tutorial. I've looked at general Linux Kernel and Angstrom
specific commands for UART but little success... i need some direction
thanks everyone!
When I was testing the connections for the compass and gps, I used minicom. You'll want to specify the -o option so it doesn't try to initialize a modem. So, for uart1 running at 57600bps:
Great! I've successfully been able to draw pixels on the screen! So
now if i wanted to send commands through UART with say something like
Java, How would I go about doing that? Does java natively support uart
stuff? Will I require any libraries?
you will need the rxtx library for talking to the com port.
It is opensource and compatible with sun.comm from sun(oracle)( which
it seems it's not being supported anymore...)
if you have debian or ubuntu install it from aptitude
sudo apt-get update
if you havent installed java do
sudo apt-get install openjdk-6-jre openjdk-6-jdk
for the library do
sudo apt-get install librxtx-java
I’m trying to use this library and I got configure it in a virtual machine with Debian installed. I’m using Eclipse IDE and created a java project. I have also included the RXTXcomm jar as a library in the build path. I tried to run an example to obtain a list of comm serial ports available, but when I run the program I don’t have any error, just a warning:
Java HotSpot™ Client VM warning: You have loaded library /usr/lib/jvm/java-7-oracle/jre/lib/i386/librxtxSerial.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It’s highly recommended that you fix the library with 'execstack -c ', or link it with ‘-z noexecstack’.
Stable Library