mini2440 serial port (COM1) error

Sheraz
We have written a simple program which sends and receives text, to and from
COM1 serial port.  PC and friendlyARM devices are connected through serial
COM port and the program is executed on friendlyARM mini2440 device. On PC
the hyperterminal program is launched with the configurations 115200 8-N-1.
The same configurations are used in program running on friendlyARM.

While reading from the COM1 of mini2440 device we receive error messages
(on hyperterminal console) as pasted below. The data is indeed transferred
but with errors. The serial com port of friendlyARM does not seem to work
as expected. Please expalin these messages as it leaves COM1 serial port
unusable for Dial Up internet Connection.

ERRORS:

AKY=00004005 PC=02c224c0(ser2440.dll+0x000024c0)
RA=00000000(???+0x00000000) BVA=06000000 FSR=00000007SetBaudRate ->
115200Data Abort: Thread=8f53f400 Proc=8e026160 'device.exe'AKY=00004005
PC=02c2284c(ser2440.dll+0x0000284c) RA=02c22838(ser2440.dll+0x00002838)
BVA=06000000 FSR=00000007Data Abort: Thread=8f53f400 Proc=8e026160
'device.exe'AKY=00004005 PC=02c2284c(ser2440.dll+0x0000284c)
RA=02c22838(ser2440.dll+0x00002838) BVA=06000000 FSR=00000007Data Abort:
Thread=8f53f400 Proc=8e026160 'device.exe'AKY=00004005
PC=02c2284c(ser2440.dll+0x0000284c) RA=02c22838(ser2440.dll+0x00002838)
BVA=06000000 FSR=00000007Data Abort: Thread=8f53f400 Proc=8e026160
'device.exe'AKY=00004005 PC=02c2284c(ser2440.dll+0x0000284c)
RA=02c22838(ser2440.dll+0x00002838) BVA=06000000
FSR=00000007ATI+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C0+SL_GetStatus 0x386C0+SL_GetStatus
0x386C0+SL_GetStatus 0x386C

carlosC
Hello Sheraz

I use the COM0(RS-232) to comunicate with another device and it works fine.
I use "minicom" to configure the serial port.

Can you execute the command "stty -F /dev/<yout port> -a" to check the
configuration of the serial port??

Greetings


Carlos

Chris Jones
Try turning the serial cable around, I had the same issue when using dnw,
turns out the cable I had was "end specific".

ambitious
Hi all,
could i know how I can configure the serial port communication and
send/receive data via a serial port.

i just configure the HyperTerminal as 115200 baud rate and 8 bit , no check
sum and one stop bit and Non flow control
but i don't know from where i can configure the serial port com in mini
2440
then i run this command 
#echo " aNy text......" > /dev/ttsy1
and nothing was send.

So could any one help me for solving this problem and how can i receive the
data i send from the mini2440 in HyperTerminal and vice versa 

M.Hamed

skip2816
Hi all,

another question about serials: 
If I connect the first serial (on micro2440) with my (win) pc and start
dnw.exe, I can watch the kernel messages. Even booting from NAND. Do's this
mean the kernels output is bound to the first serial? And the first serial
is occupied for these purpos? For other communications I have to use
another serial?

Thanks
skip

ambitious
Hi skip2816
yes this serial port(first port ) is dedicated for this purpose 

M.Hamed

ihar
Can I use COM0(RS-232) for connect with WinPC programm but NO dnw.exe, when
OS has worked already?
Does send  MINI2440 any symbols via COM0 to PC or wait parcel from special
download PC software(like dnw.exe), while I power on MINI2440 and MINI2440
starts in BIOS ?
Ihar

nikhil
hi,
i want to read serial port data, but i can't ??
pls help?