>I am trying to use microcom on mini2440 >pc and mini2440 board are connected with serial cable >On pc I have opened minicom with baudrate as 115200 and device as /dev/ttySAC0 >On mini2440 I have opened terminal and typed following command microcom -s 115200 /dev/ttySAC0 >now on mini2440 if I am pressing any character it appears on pc terminal so I thing tx pin of mini2440 is working fine >Now I am trying to test reverse way i.e. when I press character on pc same character should appear on mini2440 terminal but its not happening >I shorted pin2 and pin3 of DB9 connector and typed same command on mini2440 terminal to receive same characters but nothing appears on terminal >Does that mean there is any problem on rx side on mini2440 while using microcom or am I doing anything wrong while testing uart on microcom >Some of board details are as below NAND Fash = K9F1G08U0B (128M x 8 Bit) NOR Flash = S29AL016J16 (2 M x 8-Bit/1 M x 16-Bit) SDRAM = H57V2562GTR (16M x 16) >how can i recieve data correctly ???? >any help on this topic will be useful thank you
microcom on mini2440
"On pc I have opened minicom with baudrate as 115200 and device as /dev/ttySAC0" I guess your PC has no "/dev/ttySAC0" device node.
>On mini2440 I have shorted rx and tx of CON2 and typed following command in terminal of mini2440 microcom -s 115200 /dev/ttySAC1 >whatever I am typing using keyboard same is appearing on terminal i.e.tx is sending data to rx pin so I guess serial port rx tx short test is working for me. >Same is happening for CON3 with /dev/ttySAC2 >this test doesn't work for CON1 for /dev/ttySAC0 I think because ttySAC0 is by default used for console >forum discussions have helped me a lot in solving problems like this thank you