when i try to use uart 0, it's work fine. test: connect via ssh, "echo 1 > /dev/ttySAC0". i can see "1" on my terminal connection over uart0. now i try change to uart1, "echo 1 > /dev/ttySAC1". not work. in the same way uart2. any ideas?
[mini2440] uart[1-2] not work
> What do you expect to happen? then i use terminal connection over uart2 and exec "echo 1 > /dev/ttySAC2" i think i should see "1" in my terminal. > What does <ls> on /dev give you? root@mini2440:~# ls -l /dev/ttySAC* crw------- 1 root root 204, 64 Aug 22 18:40 /dev/ttySAC0 crw-rw---- 1 root dialout 204, 65 Aug 22 18:40 /dev/ttySAC1 crw-rw---- 1 root dialout 204, 66 Aug 22 18:40 /dev/ttySAC2 -rw-r--r-- 1 root root 2 Aug 22 18:40 /dev/ttySAC3 -rw-r--r-- 1 root root 2 Aug 22 17:55 /dev/ttySAC4 ps. sorry for my terrible english :)
some logs: root@mini2440:~# stty -F /dev/ttySAC0 speed 115200 baud; intr = <undef>; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -brkint ixoff -imaxbel -isig -icanon -iexten -echo -echoctl root@mini2440:~# stty -F /dev/ttySAC2 speed 9600 baud; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -brkint -imaxbel root@mini2440:~# stty -F /dev/ttySAC2 115200 root@mini2440:~# stty -F /dev/ttySAC2 speed 115200 baud; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -brkint -imaxbel -- now all work fine :)
> then i use terminal connection over uart2 and exec "echo 1 > > /dev/ttySAC2" i think i should see "1" in my terminal. I wouldn't expect that. I would expect the that keyboard input to "go out" on Serial2(TTL) or Conn2. So, by only changing the baud rate on ttySAC2 from 9600 to 115200 causes it to appear on the terminal?
rastafarra, what kind of level shifter did you use while your tests? ttySAC0 has a level shifter on the board, while ttySAC1/2 are at TTL level only.
> So, by only changing the baud rate on ttySAC2 from 9600 to 115200 causes it appear on the terminal? yep. another way: change parameters for $your_terminal, having installed another speed. in my case is `picocom -b 9600`.