can't use ttySP4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

can't use ttySP4

1,280 Views
mehmet
Contributor I

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

 

Tags (1)
0 Kudos
5 Replies

901 Views
mehmet
Contributor I

Sorry, it should be UART 5. 

0 Kudos

901 Views
KrishnaPavan
Contributor II

Hi,

 

UART 4 can be tty3/ttyS3/ttymxc3

0 Kudos

901 Views
mehmet
Contributor I

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

0 Kudos

901 Views
GabrielSartori
Contributor II

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
0 Kudos

901 Views
MaheshMahadevan
Contributor I

UART device on the MX53 are called /dev/ttymxc(0,1,2,3)

 

For UART4, try using /dev/ttymxc3

0 Kudos