AnsweredAssumed Answered

imx6 zmodem doesn`t work

Question asked by Ktulhu Uchiha on Sep 17, 2015
Latest reply on Dec 23, 2015 by Biyong Sun

Hello,

 

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

got ZCAN

Transfer incomplete

root@imx6s-target:~# sz --zmodem ./20k > /dev/ttymxc3 < /dev/ttymxc3

Sending: 20k

}U0Retry 0: Got ZCAN

got ZCAN

Transfer incomplete

 

What should I do to make zmodem work?

 

Thanks in advance.

Outcomes