4/19/2023 0 Comments Syncterm zmodem upload not working![]() ![]() Thanks for trying my sketch! I was curious as to whether it would work right on the Teensy. I edited zmodem_fixes.h to set ZSERIAL to SERIA元 and have a USB/Serial adapter on pins 7 and 8 of the Thanks very much for doing this. You can change these other defaults too, as required: If you use TeraTerm and need a COM port higher than the default COM4, you can edit the teraterm.ini file and change the MaxComPort entry to whatever number is useful. If anyone else tries this a couple of bits of info. I've just finished transferring a 1GB WAV from Teens圓.0 to the PC at 115200 which took nearly 16 minutes for an average data throughput of 10700 cps. I hope someone finds this sketch useful! Thanks again to Pete for seeding this idea! More information is available on the Wiki page of that GitHub repository. Sketch available for download at GitHub here: While SyncTERM is available for any platform you're likely to be using, I'm hopeful that this sketch will operate with other popular terminal applications on Mac and Linux platforms given that I got a perfect run on anything that still reasonably runs on Windows. I tried HyperTerminal, SyncTERM, and TeraTerm all successfully, send and receive. On my Arduino Mega 2560 R3, I can receive files on the Arduino at up to 57600 baud reliably maybe you guys with those much faster Teensy boards can crank out more bps on receive, it's easy to configure and try. Most importantly, I completed RZ which was the bulk of the remaining effort! I completed the code for SZ including auto-start and crash recovery. The sketch that I have built forms a rudimentary Arduino (and Teensy I suppose?) SDCard file manager via a DOS/shell like Serial interface. I figured I would make this my first stop in announcing the sketch that I put together in order to pay the proper respect to Pete (el_supremo) for getting this started! I didn't do any more with it after I posted that zip file. I did have it running on a Teensy 2 and currently it runs on a Teens圓. it uses about 6kB of sram so it isn't going to work on Teensy2 or 328-based Arduinos. Maybe someone with more patience than I have can improve it or even get rz to work as well :-) I've decided to post it as-is so that if someone finds it useful they can give it a try. That's a throughput of about 107000baud which isn't too bad. ![]() In one test, it transferred 10 files with a total of 2853852 bytes in 266 secs at 115200baud. ![]() Any timeouts or other transmission errors will cause it to fail. it will not work in a 'hostile' environment. with TeraTerm, if you have set its receive directory as C:\fred and send the file: /logs/2014/02.csv then the path C:\fred\logs\2014\06\23\ must already exist. TeraTerm and Hyperterminal have the problem/feature that all directory paths MUST exist before transferring a file. It works when sending to TeraTerm but I can't get it to work with Hyperterminal. ![]() It can send one file or the contents of an entire directory from a uSD card on the Teensy to the PC. The sz code now works but in a rather restricted way. I got the 'sz' code (from Teensy to PC) more or less working but then something distracted me and I only started looking at it again last week. Last year I started trying to convert the rz and sz programs to allow zmodem transfers between Teensy (and Arduino) and a PC. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |