Serial Monitor for Mini2440 running Qtopia

Tarin
Hi,

I am using a GPS receiver in my project. It uses a serial interface to
connect with the board. I am using a Mini2440 board running Qtopia OS. I
want to know how to take serial data from this GPS receiver and store in a
file on my board? Is there some serial monitor that I can use in Qtopia?
Basically I want something like Ubuntu's minicom for Qtopia. 

Thanks.

Alexey
what receiver? may i try in PC?

davef
Write a C program to open a file and read to it from the serial port. 
Close and save the file when finished.

How are you going to interpret the file?  Do you have an application that
takes this information and then displays it is some human-readable form?

What is minicom going to achieve for you, unless you can parse the output
"on the fly"?

TungPham
You can cross compile picocom for mini2440, i'm using it.
http://code.google.com/p/picocom/

Tarin
I tried running it on PC. Minicom gives an option of capture through which
you can read the data from your serial port and save it in a file. I want
to do the same on my Mini2440.

@TungPham, all I need to do is cross compile picocom for Mini2440 and it
will work? Without making any changes in the source code?

Tarin
@davef I tried running its USB interface version on my PC and it gives data
in the form of strings on which I can run a C code to extract the data of
my choice.

Tarin
@TungPham, Hey I am not able to download the source from that site. Could
you please give me some other link from where I can download the same?
Maybe temporarily host it on a sharing site. 
Thanks.

TungPham
Tarin,
Just checkout it from svn, uncomment # CC and #LD in the Makefile, modify
to your toolschain and build

svn checkout http://picocom.googlecode.com/svn/trunk/ picocom-read-only

tungpt2@tungpt2-desktop:~/picocom-read-only$ make
arm-linux-gcc -Wall -g -DVERSION_STR=\"1.7\" -DUUCP_LOCK_DIR=\"/var/lock\"
-DHIGH_BAUD  -c -o picocom.o picocom.c
arm-linux-gcc -Wall -g -DVERSION_STR=\"1.7\" -DUUCP_LOCK_DIR=\"/var/lock\"
-DHIGH_BAUD  -c -o term.o term.c
arm-linux-gcc -g  picocom.o term.o   -o picocom
tungpt2@tungpt2-desktop:~/picocom-read-only$ file picocom
picocom: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.14, not stripped
tungpt2@tungpt2-desktop:~/picocom-read-only$ 

Regards,

Tarin
TungPham,

Thanks a lot. Cross compiled it using arm-linux-gcc. It generated 3 files -
picocom, term.o, picocom.o
I transferred all the 3 files to the tmp folder of my board and tried
executing picocom. But it says 'no port given'. How to resolve this issue?

TungPham
Tarin,

Try to use:
picocom -b <baudrate> <dev file>

For more information try: picocom -h

junk
@tarin  how  u used  arm-linux-gcc ?  i  try install  to picocom but i dont
know.  is better  in usb  estract the file and compile? 



and sry for my english :/