I have several custom boards that are based on the imx6dl and imx6q. Each of the boards has the following configuration:
1) Two hardware uart ports (ttymxc), connected to the PC with rs232 port.
2) Yocto linux Dizzy with 3.10.17 linux kernel (i have also tried 3.14 and 3.18 linux kernels)
All uarts work well except for zmodem transmission protocol. When I try to send or receive file from/to PC with zmodem I get transmission error.
Log from imx6dl board (stty settings are the same on the both sides) (zmodem that included in minicom also doesn`t work):
root@imx6s-target:~# stty -F /dev/ttymxc3 time 0 -inlcr -igncr -icrnl -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke -ixon 9600
root@imx6s-target:~# rz --zmodem > /dev/ttymxc3 < /dev/ttymxc3
rz waiting to receive.Retry 0: Got ZCAN
root@imx6s-target:~# sz --zmodem ./20k > /dev/ttymxc3 < /dev/ttymxc3
}U0Retry 0: Got ZCAN
What should I do to make zmodem work?
Thanks in advance.