Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:28 03 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : XModem Send Fail.

     Page 2 of 2    
Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6284
Posted: 08:34am 16 Dec 2017
Copy link to clipboard 
Print this post

It can only handle one connection at a time so some refusals might be because its in use.

I see all sorts of programs that get loaded and run.
Because there is no display fitted, any attempt to set those options can cause grief.

I occasionally reload my test program which reads a few environment sensors.

I think there have been one or two other who have had problems during the 3 years it has been running.

JimEdited by TassyJim 2017-12-17
VK7JH
MMedit
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 09:29am 16 Dec 2017
Copy link to clipboard 
Print this post

  robert.rozee said   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.


Hi Rob,

I've got most of mine forwarded to my public IP.

Won't post the details on here, but will PM you the DNS & port for my ceiling heater....

Not much heating required here these last few day...
Been rather warm

Phil.
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 09:40am 16 Dec 2017
Copy link to clipboard 
Print this post

  Grogster said   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


Oddity I find here with TT is not the version, but the settings in the INI file.

3 PC's all inconsistent.

And also the location. Some have the ini in ProgFiles(86), others have it in the dreaded VirtualStore.

Phil.
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2442
Posted: 01:37pm 16 Dec 2017
Copy link to clipboard 
Print this post

here we go, give this a try:
2017-12-16_233249_test_17_telnet_client.zip

this is a very simple telnet client (dumb terminal, no VT100 emulation), just for testing out the code. if you click on 'connect' it will connect to tassyjim's micromite, or you can enter an alternative host and port.

note: this is not derived from GFXterm, it is just a few delphi components thrown together. the file "unit1.pas" contains most of the relevant code, do have a look. if/when it works ok, i can transplant the mechanics into GFXterm.


cheers,
rob :-)
 
Azure

Guru

Joined: 09/11/2017
Location: Australia
Posts: 446
Posted: 01:48pm 16 Dec 2017
Copy link to clipboard 
Print this post

That worked flawlessly rob. Nice work.
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 09:00pm 16 Dec 2017
Copy link to clipboard 
Print this post

  robert.rozee said  if/when it works ok, i can transplant the mechanics into GFXterm.


Works fine here.

Tested it on both my internal IP range 192.168.xxx.xxx to a few devices that are all internally on port 23.

Also tried to connect to them by using my public IP & the forwarded ports, to loop out then back into my router & that worked fine too.

When you are at the stage to test in with in the main prog, you're welcome to give it a go on the MM+ that has an SD card in it if you want to test an over internet download of one of my logs.

Cheers

Phil.

Edit:- You'd just need to change to 4 in the port# to a 1.Edited by Phil23 2017-12-18
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 10:29pm 16 Dec 2017
Copy link to clipboard 
Print this post

Works for me.





TT still refuses the connection with timed-out messages. I'm not too worried about that though, as there are alternatives to TT.
Smoke makes things work. When the smoke gets out, it stops!
 
Azure

Guru

Joined: 09/11/2017
Location: Australia
Posts: 446
Posted: 10:53pm 16 Dec 2017
Copy link to clipboard 
Print this post

@Grogster

Did you see my post on page 2 re new connection field ordering loses setting?

  Quote  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
Edited by Azure 2017-12-18
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 10:59pm 16 Dec 2017
Copy link to clipboard 
Print this post

Absolutely.

Port 3002 is ignored. I have had issues with TT in the past, so this is not exactly a total surprise to me.... I had the same issue with TT simply refusing to talk to a WizNet 107SR serial-to-Ethernet module, even though all the settings were correct. At the time, Putty talked to it with the same setting just fine, so I get the feeling that TT is a little picky on some aspects of how it works.

Smoke makes things work. When the smoke gets out, it stops!
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2442
Posted: 03:44am 17 Dec 2017
Copy link to clipboard 
Print this post

it looks like telnet can be as simple or as complicated as one wishes. i suspect that teraterm is adding in extra complication at some level, and the other end is then failing to handshake on some request.

all i've implemented in the above test code is a dumb "Network Virtual Terminal", i don't even generate or process any telnet commands. the enter key is translated to CR+LF, everything else is passed straight through.

grogster: could it be that your install of teraterm is trying to negotiate a username/password login?


cheers,
rob :-)



 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 03:50am 17 Dec 2017
Copy link to clipboard 
Print this post

Not sure. Is there any way I can check?
Smoke makes things work. When the smoke gets out, it stops!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6284
Posted: 04:49am 17 Dec 2017
Copy link to clipboard 
Print this post

Grogster,
can try deleting(or renaming) your teraterm.ini file

Teraterm should recreate a basic one when you restart it.
That should get rid of any strange settings you have.


@Rob,
yes telnet can be very complicated so I gave up trying to implement any of it. I will revisit it when I really need to.

My ser2net is configured as 'raw'
Anthing that arrives is sent to the port 'as is' although it seems to handle the telnet style negotiations OK when you log in with telnet terminals and is equally happy if you log in without any of that guff.
Edited by TassyJim 2017-12-18
VK7JH
MMedit
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2442
Posted: 04:16pm 26 Dec 2017
Copy link to clipboard 
Print this post

here is the code spliced into a test version of GFXterm:
2017-12-27_020536_GFXterm_with_experimental_Network_Virtual_Terminal.zip

to make a network connection, click on the 'network' button at the top of the CONNECT window. note that this is NOT a telent session, but just a RAW terminal connection with everything passed through unaltered. i've only tested on a couple of sites (jim's and phil's). on jim's i was able to verify that the micromite's editor is fully functional, while phil's was invaluable in giving me a constant stream of incoming data prior to getting keyboard input plumbed in.

please test on as many mites-on-the-net as you can and report back on any failures, or features that work with serial but not across the net. the delphi code is a little rough around the edges, but seems to work nonetheless.


cheers,
rob :-)
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025