![]() |
Forum Index : Microcontroller and PC projects : CORRUPTION IN TERATERM
Author | Message | ||||
OA47 Guru ![]() Joined: 11/04/2012 Location: AustraliaPosts: 982 |
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: AustraliaPosts: 5111 |
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: AustraliaPosts: 6224 |
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 |
||||
OA47 Guru ![]() Joined: 11/04/2012 Location: AustraliaPosts: 982 |
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: AustraliaPosts: 5111 |
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: AustraliaPosts: 982 |
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: AustraliaPosts: 6224 |
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. VK7JH MMedit |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2405 |
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: AustraliaPosts: 982 |
Thanks Robert, Looks like I would only need to exclude Chr$(27) from printing to the console. |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |