This is obviously very slow and inefficient. ![]() It seems that I also have to read the output of the console after every write (the feedback of my entered command), otherwise the buffer gets full again (not sure if this is because of the Python serial library or because of the device).Īll of this results in having to write more than 4 times the file size, as well as reading the same number of bytes in order to successfully transfer my file. File transfer from/to SSH sessions via SFTP and Zmodem Theming and color schemes. I am currently using the Python serial library to write hex-escaped bytes to the device: printf '\x00\x01\x02' > file.binīecause of the large file size, I can't print the entire file at once, as it exceeds the write buffer size, so I have to do it in chunks. terminal app for local shells, serial, SSH and Telnet connections. I know about SLIP, PPP and ZModem, but the device has a minimal busybox and no way to install additional services or programs. ![]() I have to write a binary file to an embedded device over a UART console.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |