I am trying to communicate with a microcontroller over the ancient (but simple) XMODEM protocol. The two ways that I have found of sending a file are through minicom
(interactive) and through cx
(non-interactive). However, payload size cannot be specified (defaults to 128 bytes), while the chip is expecting 64 bytes.
Is there a way, using commands from Ubuntu repos, makefiles or even bash scripts, to send non-interactively a file over XMODEM with payload of 64 bytes? Also, short checksum(1 byte) must be supported.