hi all,
i am trying to send the data through serial port(app uart) in imx233.
and running the code in minicom. i got like that.
root@freescale ~$ ./trans
open_port: Unable to open /dev/ttyUSB1 - : No such file or directory
write() of 4 bytes failed!
root@freescale ~$
i think ttyUSB1 is not enable. so waht i have to do. i am new for this platform.
please help me.....thanks in advanced!!!!
Hi,
Check the port settings using "stty" tool. Just cross check if you have enabled software flow control in the hyperterminal, as your code has it enabled. I feel there is something to do with your serial port settings.
Regards,
Balaji.V
first, you can check the permission of the node of device...
ls -l /dev/ttyYSB1
tarique:
Hi,
yeah, i changed the terminal /dev/ttyUSB1 to /dev/ttySP0. but after changing
while i am running the application on target, port is opening sucessfully,
but the output is not comming in hyperterminal. so, is there any mistake in code.
thanks in advanced.........
Regards,
Tarique
Hi,
The device you are trying to access is wrong. I dont think it will get exposed as /dev/ttyUSB1. Check how your AppUART is getting exposed in /dev/ directory. I think it will be /dev/ttySP1 or /dev/ttySP0.
Hope this helps.
Regards,
Balaji.V