I have no success to transfer files data from OpenLog through ZModem. It is OK to ask the transfer with Sz xxx file with Arduino Terminal (it works perfectly with Dir command). Immediately, I ask for a Z modem transfer on Com6. But the Receive screen shows nothing, no elapsed time, even when Arduino terminal says that the transfer is complete.
Which version of the firmware is your OLA running? And which version of the OLA do you have? Is it a Red SparkFun board, and does it have the ICM-20948 IMU chip installed?
Oh. OK. Are you trying to transfer the file via USB - or are you trying to use the TX and RX pins?
In the above image, I am connected via USB. I have not tried using the TX and RX pins… I think that feature still works, but I have not tested it for a long time.
I started to transfer through USB but as it was not working, I tried to change some parameters that I supposed to concern the transfer (data rate, Option 14 of the configure terminal output …)
… A big issue is that I cant reverse this option 14 (see set up)
Option 3 will be missing if the IMU is not installed or not detected.
Option 4 is missing because you have enabled the console on the TX and RX pins.
I still can not explain why the Zmodem transfer is not working for you. Just as an experiment, please try: opening the file transfer menu; disconnect the GNSS; then transfer the file. I wonder if having the GNSS connected and outputting messages very quickly is causing problems?
For Yellow Dog, I suppose my terminal Tera Term supports Zmodem as it proposes it in the menu.
For Paul, I have stopped the GNSS logging but the transfer no more works.
I have attached the image of what appears in the Arduino screen : at least, it shows that there is communication as I have a return concerning the directory of the SD card.
Maybe my SZ command is not correct ?
Concerning the option 3 not active, I don’t understand what happened to the IMU ?
Concerning the option 4 not active, I have no effect when I use the option 14 in the menu of the terminal to disable console on TX and RX pins ?
It does look like the zmodem transfer is working correctly. Perhaps file 79 is corrupt in some way? Perhaps try transferring a smaller file first. Does that work?
You can restore option 4 by resetting the OLA settings - select option “r” at the main menu.
I can’t explain why option 3 is missing if it was there previously. We do have a version of the OLA which has no IMU. Option 3 is missing on those boards: https://www.sparkfun.com/products/19426
There is no handshaking in the zmodem file transfer. The sz command causes the OLA output the file to USB (or the TX pin) in zmodem format - without checking if anything is “listening” for the data. The transfer will always complete…
Please try:
Connect the OLA to your computer via USB
Open Tera Term - using the USB COM port
You should see the sensor data being logged to SD card
Press a key to open the menu
Select the file transfer menu
Use ls to list the files
Use sz filename to start the zmodem file transfer
You then have 20 seconds to put Tera Term into zmodem receive mode
If all is well, you should see the green progress bar increase. The window will close when the transfer is complete.
Please do not connect anything to the TX and RX pins.
Please do not configure the TX and RX pins for the terminal.
Please do everything through Tera Term, connected via USB only.
I’ve seen this happen before, disconnect then restart your terminal emulator and it should be OK. Some data coming in over serial is changing terminal emulation modes and it starts treating text as binary.