Hello. I have a mini2440 with linux Os. one of my clients asks me to find a way to send/recieve data by serial port. is there any sample code or way to do send/recieve data from a mini2440 to pc (pc is windows). thanx alot...
How can send/recieve data throgh serial port
for sending/recieving u need to access a device file depending on the serial port u choose. eg ttySAC0, ttySAC1. Theres an example serial program in the mini2440 DVD. You can try that on your board first.And please let me know if u succeed,coz m having some trouble with that
There is an app already on the device. Click the "FriendlyARM" tab, then click "Serial Port Assistant". The RS232 port on the device is connected to ttySAC0. The other ports require either a TTL interface or you can get a TTL to RS232 adapter. I am still in the process of getting this to work since I do not yet have an adapter. I am still in the process of finding out how to disable the remote console which is running on ttySAC0 so I can use that port. This site may also be of help: http://farm2440.blogspot.com/