Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:55 02 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 : CMM2: terminal software other than Tera Term?

     Page 2 of 2    
Author Message
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 06:56pm 15 May 2020
Copy link to clipboard 
Print this post

Thanks Rob,

  robert.rozee said  you should be able to check the codes being sent by putty using the following program running on your CMM2: ...

... the function keys should produce output something like <esc>[nn~, the arrow keys should produce <esc>[A to <esc>[D. home/end/pgup/pgdn/insert should produce <esc>[n~.


Either I'm being stupid or I don't see how it could possibly work as you describe for control codes ... and it doesn't seem to ... I guess I haven't lost the knack of being right occasionally yet ;-)

On Tera Term the fn keys, arrows and home/end/pgup/pgdn/insert produce:







˜

š

œ



ƒ


ˆ




And on PuTTY they produce garbage that I can't post because it causes the forum software to report a fatal error :-)

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 07:01pm 15 May 2020
Copy link to clipboard 
Print this post

... but on Windows PuTTY and Tera Term it does show <cr><lf> when ENTER is pressed.

Will try it on Linux PuTTY later.

Thanks,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 09:37pm 15 May 2020
Copy link to clipboard 
Print this post

Don't spend any more time on this. I think I have a proper fix - more tomorrow.
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 03:55pm 16 May 2020
Copy link to clipboard 
Print this post

The solution to this problem was spun off into a separate topic

Thanks again Peter,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 04:00pm 16 May 2020
Copy link to clipboard 
Print this post

  Geoffg said  The last is not recommended because to get to the USB connector you have to pull the Waveshare module off the motherboard ...


Is this for the mechanical reason that there isn't sufficient clearance between the micro USB and the GPIO connector to attach the cable, or for electrical reasons?

Regards,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 09:45pm 16 May 2020
Copy link to clipboard 
Print this post

  thwill said  
  Geoffg said  The last is not recommended because to get to the USB connector you have to pull the Waveshare module off the motherboard ...


Is this for the mechanical reason that there isn't sufficient clearance between the micro USB and the GPIO connector to attach the cable, or for electrical reasons?

Regards,

Tom

It is to protect the 160 pins on the connectors from damage while re-inserting. The motherboard also tends to flex when you re-insert while it is in the case.

The male-male USB cable is the best way by far. Because of all the firmware updates during development, I use a short USB extension in the keyboard socket. This makes swapping the KB and firmware cables much easier (and safer).

Jim
VK7JH
MMedit
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 11:22pm 16 May 2020
Copy link to clipboard 
Print this post

I think my question has been misunderstood.

It's an idle query, but is the reason that you have to remove the Waveshare in order to use its Micro USB:

A) Because the GPIO connector on the main board is so close to the back of the Waveshare that you simply can't plug the cable in with the Waveshare in place?

or:

B) Some fancy electronics reason?

Best wishes,

Tom
Edited 2020-05-17 09:22 by thwill
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 05:51am 17 May 2020
Copy link to clipboard 
Print this post

  thwill said  
A) Because the GPIO connector on the main board is so close to the back of the Waveshare that you simply can't plug the cable in with the Waveshare in place?

or:

B) Some fancy electronics reason?



A.
The keyboard host D+ and D- are connect directly to the D+ and D- of the USB connector on the Waveshare module.

The 5V to the Waveshare module is switched so if you were to succeed in plugging in a cable with the module in place, I think you will need to provide 5V via the main USB or flick the selector switch.

If you were to try, you would have to make sure that nothing is plugged into the keyboard port.

It is not something I have any desire to try.

Jim
VK7JH
MMedit
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 11:40am 17 May 2020
Copy link to clipboard 
Print this post

  TassyJim said  It is not something I have any desire to try.


Me neither Jim, I'm just trying to add to my knowledge.

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
     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