On Linux, the recommended terminal is minicom. Shows a nice menu on C-a s for sending files.
It is possible to do YMODEM with GNU screen, but it’s relatively painful as it doesn’t have an UI for that. In long command mode, exec !! sx --ymodem <filepath> .
edit: It is possible again, so I just fixed it. Either reputation based, or perhaps too any edits in a row do temporarily lock editing.
I know Z implements a sliding window so it’s more efficient, especially at higher speeds (no pauses inserted, waiting for acknowledgements). I’m not sure how X and Y compare to each other, but presumably complexity goes up X → Y → Z.
After XMODEM appeared, there were a bunch of extensions to it, most notably XMODEM-CRC (crc16-xmodem instead of a crude 8bit sum, easily identified by the use of ‘C’ as handshake in the receiver) and XMODEM-1K (1K blocks instead of 128 byte, implies CRC).
YMODEM requires both of these extensions, and adds a zero packet that contains metadata like filename and size (thus there isn’t trailing garbage as padding as with XMODEM), as well as the ability to send/receive multiple files in one batch.
If I have to get more complex than YMODEM, I’d go to Kermit, much older protocol yet highly reliable and also capable of high speeds with sliding windows.
ZMODEM is a totally different protocol vs X/YMODEM, relatively complex.
X/YMODEM and Kermit still work over TCP, whereas ZMODEM in my experience has a lot of trouble in that situation, thus my distrust of ZMODEM.
Thanks @rvalles. I didn’t have access to ethernet so couldn’t load the new firmware. I did have a serial connector and was able to make it work and finally installed image-69.
I’m having some issues connecting to my StarFive’s console. I just purchased this TTL adapter (DSD TECH SH-U09C USB to TTL Serial Adapter with FTDI FT232RL Chip) and this is the first time to use it. I’m getting garbled characters with both Tera Term and Putty with the serial port set to 115200 8N1 OFF. I think my settings are correct, so looking for advice/thoughts. Could my TTL be bad? Is there a way to test? Could my board be bad? Could its firmware be corrupt in some way?
The board is booting into Debian currently off an SD card. My main reason for ordering the TTL was to get the version of my firmware to see if it even needed updating to boot off NVME.
Thank you. I did not. That fixed it. Working beautifully now. I’ve never used one of these USB to TTL converters before and didn’t even think about it. I only connected TX and RX to the board.