![]() |
Forum Index : Microcontroller and PC projects : XModem Send Fail.
Page 1 of 2 ![]() ![]() |
|||||
Author | Message | ||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
Hi all, After months I decided to pull the log files from my Coms monitor. Recall having no success in the past & nothing has changed. The files are both around 900k now and when I try to transfer them with Xmodem, they fail after about 5k or 40 blocks. Previously blamed Wifi, ESP's etc & didn't persist, but this morning I've discovered that MMEdit's File Master works like a dream, so all previous assumptions are now ruled out. It's only using Teraterm that is not working for me. MMedit has some retries, expect that, and I'd actually left it running during those transfers & could see the data flowing and spot the occasional data error that Xmodem would resend. (They are on Wifi, hence I can have multiple console connections). (And multiple connections were not present during failed attempts). Any thoughts on why I can't perform simple transfers with Teraterm? an't be much more than a basic setting. Phil |
||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
Should add, I've changed nothing in the INI file regatds this, this is all that's present & mostly commented out. [Code]; XMODEM option (checksum/crc/1k) XmodemOpt=checksum ; Binary flag for XMODEM Receive and ZMODEM Send (on/off) XmodemBin=on ; XMODEM receive command XmodemRcvCommand= ; Default directory for file transfers ;FileDir=C:\Program Files (x86)\teraterm FileDir=C:\Transfers ; XMODEM log XmodemLog=off ; XMODEM Timeout value(v1,v2,v3,v4,v5) by seconds ; v1=NAK mode: Timeout value for first packet ; v2=CRC mode: Timeout value for first packet ; v3=Timeout short time ; v4=Timeout long time ; v5=Timeout very long time XmodemTimeouts=10,3,10,20,60 [/code] Phil |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
MMEdit has some ridiculously long timeouts, a legacy from the early days. Can you try transferring the file in question to/from a more direct connection to see if it's a problem with the file itself rather than the path. I would expect Teraterm to have a more correct implementation of Xmodem. Jim VK7JH MMedit |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
You could try Rob's GFXterm: 1) Crank up GFXterm 2) Right-click terminal window, select LOG to file 3) Give the file a name and click OK 4) Start sending your data from the other end 5) When all the data has copied across, right-click terminal window again 6) Select STOP logging Done. ![]() I use GFXterm more and more now over TT just cos it is so simple, and it works. With no disrespect to TT.... Smoke makes things work. When the smoke gets out, it stops! |
||||
Azure![]() Guru ![]() Joined: 09/11/2017 Location: AustraliaPosts: 446 |
I assume Log to file will have no error checking. So there is no way to know if the file received contains corrupt data from any transfer errors/dropouts or not. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Correct. Smoke makes things work. When the smoke gets out, it stops! |
||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
I'd love to give it a try, but the catch is I've got all my devices on TCP/IP. They work like a dream as far as monitoring the console & coded updates are concerned. Never an issues there with either MMedit or Teraterm. And come to think of it, I've often sent code to them with TT via Xmodem with no issues. It just seems downloading from the file system is the issues. Phil. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
You could try something like YAT. I have not used this one, but it has TCP/IP abilities, so that might work for you. Smoke makes things work. When the smoke gets out, it stops! |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
i recall a while back that someone had a micromite live on the web that people could connect to. is it still up there? i'd like to carry out some experiments to see if i can duplicate the functionality that is in teraterm. this is JUST an experiment mind you, no promises! cheers, rob :-) |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
tassyjim.ddns.net port 3002 It is an MX170 attached to a RPi running ser2net Jim VK7JH MMedit |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
TT flatly refuses to talk to that, but YAT does: ![]() I have yet to work out how to sent CTRL commands(such as CTRL+C etc) via YAT, but it does connect just fine. Smoke makes things work. When the smoke gets out, it stops! |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
I use teraterm all the time, locally and when traveling. You need Telnet protocol and port 3002. That's all it should need. Jim VK7JH MMedit |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Refuses to connect..... ![]() I have also tried VT100 terminal mode - same result: "Disconnected" EDIT: 'SETUP' window just on image so you can see my setup. I did try clicking OK.... Smoke makes things work. When the smoke gets out, it stops! |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Terminal type shouldn't matter ![]() Your settings look OK so I have no idea why it doesn't connect. Jim VK7JH MMedit |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
We'll put it down to a TT oddity. ![]() I will keep experimenting. What version of TT are you using? I am on 4.91 Smoke makes things work. When the smoke gets out, it stops! |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
V4.94 but I have used earlier version without issue. You were connecting by using "New connection" from the file menu? VK7JH MMedit |
||||
Azure![]() Guru ![]() Joined: 09/11/2017 Location: AustraliaPosts: 446 |
I can connect to it in TT. In the file menu open new connection, select the TCP/IP port you setup in settings and enter port 3002 and telnet as session and it connects. I am not sure what it is supposed to do, just seems to be send a loopback of what I type when I press enter. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
@ Jim - Used 'New connection' put in that information: 'Connection timed out.' @ Azure - Yep, same process here, but it rejects the connection. Timed out. I don't really care - I was just playing around. ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
led-bloon![]() Senior Member ![]() Joined: 21/12/2014 Location: AustraliaPosts: 207 |
Just logged in to tassyjim.ddns.net using Putty .. the micromite is at the command prompt and I can list the program on it! Will run it now! MM running now and spitting out data edit: Beware - connecting to it and sending CTL-C will halt the program just like being connected directly to it. Miss you George |
||||
Azure![]() Guru ![]() Joined: 09/11/2017 Location: AustraliaPosts: 446 |
@Grogster I noticed when you select the telnet option it changes the port number you may have already typed in. It will timeout trying to connect to that port. Sequence is: Select TCP/IP and tassy... Select Telnet option Enter port 3002 Hope that helps. |
||||
Page 1 of 2 ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |