with Black F407ZET and STM32Generic. SerialUSB as the console and Serial1 (115k2, FTDI dongle) as the ZMODEM link. TeraTerm with its built in ZMODEM. SDIO with SdFat.
As usual the "sz" (sending files from Black to PC) works somehow, the issue seems to be with "rz" (sending files from PC to Black).
It seems to me there is a bug in "rz" - it starts well, after a while (usually at >100kB) the transfer speed drops down while the packets often repeats (a stall basically) and the effective transfer rate drops to maybe 1kB/sec.
It mostly fails with larger files (>100kB), but when the rz is restarted again (with the same file) it usually finishes the file upload with good speed.
With 115k2 the "sz" mostly transfers at ~10kB/sec, the same with "rz" with smaller files.
There is a simple Command Shell which allows you do cd/dir/ls/mkdir/rm/sz/rz etc.
Code: Select all
Arduino ZModem V2.1 Transfer rate: 115200 About to initialize SdCard About to change directory SdCard setup complete Arduino ZModem V2.1 - Transfer rate: 115200 Available Commands: HELP - Print this list of commands DIR - List files in current working directory - alternate LS PWD - Print current working directory CD - Change current working directory DEL file - Delete file - alternate RM MD dir - Create dir - alternate MKDIR RD dir - Delete dir - alternate RMDIR SZ file - Send file from Arduino to terminal (* = all files) RZ - Receive a file from terminal to Arduino (Hyperterminal sends this automatically when you select Transfer->Send File...) dir Directory Listing: MANDEL.BMP 480054 RAINBOW.BMP 307254 mydir1 DIR test_in.bin 2069609 mydir DIR freq.pdf 251390 sdio.bin 32584 End of Directory rm test_in.bin File test_in.bin deleted rz Zmodem transfer failed rz Zmodem transfer successful dir Directory Listing: MANDEL.BMP 480054 RAINBOW.BMP 307254 mydir1 DIR test_in.bin 2069609 mydir DIR freq.pdf 251390 sdio.bin 32584 End of Directory