Hello,
I need to use application uart 4; /dev/ttySP4. When I try to open I got below command.
Error:: No such device or address
Cannot open "/dev/ttySP4"
I couldn't see device node on /dev directory and I added with below command,
mknod /dev/ttySP4 c 242 4
Then retry and got same error
Thanks.
Mehmet Kurnaz
Sorry, it should be UART 5.
Hi,
UART 4 can be tty3/ttyS3/ttymxc3
There is no response for 2 months. Where does linux initialize the serial ports? First 4 uarts are ok, but last one cannot be initialized.
Mehmet
Hello,
I have got the same problem.
I selected CONFIG_MXS_AUART4_DEVICE_ENABLE in kernel menuconfig.
I have also added the above lines in file mx28evk_pins.c
{
.name = "AUART4.RX",
.id = PINID_AUART0_CTS,
.fun = PIN_FUN2,
},
{
.name = "AUART4.TX",
.id = PINID_AUART0_RTS,
.fun = PIN_FUN2,
},
I cannot see in kernel dmesg something like like the above in kernel boot messages.
mxs-auart.4: ttySP4 at MMIO 0x80072000 (irq = 116) is a mxs-auart.4
UART device on the MX53 are called /dev/ttymxc(0,1,2,3)
For UART4, try using /dev/ttymxc3