Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 11:48 05 May 2024 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 : CORRUPTION IN TERATERM

Author Message
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 911
Posted: 01:26pm 09 Sep 2014
Copy link to clipboard 
Print this post

If I leave Teraterm running for a couple of days some of the characters end up screwy. The characters seem to gather another bit or something but it doesn't seem to effect the numbers.



Can anyone throw some light on a cause? (happens on different PC's and different micromites)
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5020
Posted: 01:46pm 09 Sep 2014
Copy link to clipboard 
Print this post

Would be interesting to know, if you close down and reopen Tereterm without touching the MicroMite, is the corruption still there?

That may narrow it down to a PC/Teraterm issue, or a Micromote issue.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5913
Posted: 02:02pm 09 Sep 2014
Copy link to clipboard 
Print this post

It looks like some of the ASCII characters have the 8th bit set or some other translation.
Can you provide a copy of the text (not a screen shot)

TeraTerm can handle a lot of different encoding schemes other than plain ASCII so anything could have happened.

Jim


VK7JH
MMedit   MMBasic Help
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 911
Posted: 06:50pm 09 Sep 2014
Copy link to clipboard 
Print this post

TassyJim:
10-09-2014 09:14:24 | PV 12.95 | SLA 12.60 | TMP 14.00 | S1-2 0 0 PTT 0 CD 0 .
10-09-2014 09:14:54 | PV 12.97 | SLA 12.63 | TMP 14.00 | S1-2 0 0 PTT 0 CD 0 .
10-09-2014 09:15:24 | PV 12.99 | SLA 12.64 | TMP 14.00 | S1-2 0 0 PTT 0 CD 0 .
10-09-2014 09:15:54 | PV 12.99 | SLA 12.67 | TMP 14.25 | S1-2 0 0 PTT 0 CD 0 .
> MEMORY
Flash:
16K (81% of 20K) Program (653 lines)
54b ( 3% of 1536b) 3 Saved Variables

RAM:
17K (76%) 42 Variables
1K ( 2%) General
4K (22%) Free


Gizmo:
If I close down TeraTerm and restart it the corruption does clear. Interestingly the code above is cut and paste from what was shown on screen with corruption.
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5020
Posted: 07:02pm 09 Sep 2014
Copy link to clipboard 
Print this post

Hmm, that would indicate its a problem with TeraTerm.

Could you try Hyperterminal and see if the same thing happens?

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 911
Posted: 07:07pm 09 Sep 2014
Copy link to clipboard 
Print this post

I agree Gizmo that it is a problem with TeraTerm and it could possibly be evoked by the micromite program "printing" non-printable characters to the serial port when it reads a value from the inputs. I might alter the program to mask these characters and see what happens there.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5913
Posted: 09:43pm 09 Sep 2014
Copy link to clipboard 
Print this post

I suspect that there is a sequence of characters that tricks TeraTerm into thinking it needs to use a 'strange' font/encoding.

The only time I have seen that is when I tried to display an XMODEM transfer.

There is probably a setting in TeraTerm that will stop it happening (but I don't know which setting!)

Next time try "Control / Reset Terminal" instead of restarting.

Jim

edit:

It looks like lowercase characters are upset and UPPERCASE ones are OK.Edited by TassyJim 2014-09-11
VK7JH
MMedit   MMBasic Help
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2290
Posted: 03:20am 10 Sep 2014
Copy link to clipboard 
Print this post

from page 49 of the VT100 manual on geoff's website:

G0 Sets G1 Sets
Sequence Sequence Meaning
ESC ( A ESC ) A United Kingdom Set
ESC ( B ESC ) B ASCII Set
ESC ( 0 ESC ) 0 Special Graphics
ESC ( 1 ESC ) 1 Alternate Character ROM
Standard Character Set
ESC ( 2 ESC ) 2 Alternate Character ROM
Special Graphics


the following micromite code produces the results in the teraterm window you are seeing:

Print Chr$(27);"(0";
Memory
Input a$
Print Chr$(27);"(A";


rob :-)
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 911
Posted: 11:51am 10 Sep 2014
Copy link to clipboard 
Print this post

Thanks Robert, Looks like I would only need to exclude Chr$(27) from printing to the console.
 
Print this page


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

© JAQ Software 2024