Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:08 23 Jul 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 : Possible Bug In Open Command?

Author Message
cosmic frog
Guru

Joined: 09/02/2012
Location: United Kingdom
Posts: 302
Posted: 12:07am 23 Aug 2015
Copy link to clipboard 
Print this post

I've been using the OPEN command on the Colour MaxiMite and noticed some problems with my keyboard sometimes not responding to keys.
Also if I type something and go back one space then forward one space then back lots of times, I can get number 4's and 6's to appear on the screen at the cursor. This stops if I issue a CLOSE command.

Open "com2:9600" as #1 'This will cause the problems

Close #1 'All is ok and back to normal

Possible bug?

Thanks. Dave.
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2441
Posted: 12:57am 23 Aug 2015
Copy link to clipboard 
Print this post

it is extremely interesting behaviour if you can make it happen consistently. over the years there have been quiet murmurings about people striking problems with the PS/2 keyboard interface, but it has never (as far as i am aware) been fully nailed down.

cheers,
rob :-)
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9603
Posted: 01:29am 23 Aug 2015
Copy link to clipboard 
Print this post

I have had odd KB behaviour on the CMM on several occasions. I never linked it to anything on the COM ports though, but the problem was pretty much exactly as you describe - keyboard stops responding, or gives wrong keystrokes.

In my case, I could reset the problem by restarting the CMM. There did not appear to be any predictable reason for this(unlike in your example), and in my case, the KB could stop working or start giving wrong characters at any time totally at random, even if the system was not actually doing anything - just sitting at the command prompt. Leave it for an hour or two, come back and KB would be unresponsive or give wrong keystrokes.

Now that the MM+ has come along with it's touch screen and full colour support, I have basically discontinued using the CMM in favour of the newer beast.
Smoke makes things work. When the smoke gets out, it stops!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3288
Posted: 07:58am 23 Aug 2015
Copy link to clipboard 
Print this post

There is a bug which I have been chasing for a number of years where the up and down arrow keys occasionally generate a 4 or 6 character (this is rare). I believe that it is something to do with the USB interface because it seems to only occur when the USB is connected to a host.

This could be what you are seeing.

Geoff
Geoff Graham - http://geoffg.net
 
cosmic frog
Guru

Joined: 09/02/2012
Location: United Kingdom
Posts: 302
Posted: 08:35am 23 Aug 2015
Copy link to clipboard 
Print this post

  Geoffg said   There is a bug which I have been chasing for a number of years where the up and down arrow keys occasionally generate a 4 or 6 character (this is rare). I believe that it is something to do with the USB interface because it seems to only occur when the USB is connected to a host.

This could be what you are seeing.

Geoff


Hi Geoff, I don't have it connected to the USB, its just the Maximite on its own with keyboard. I'm going to try another keyboard later to see if it make a difference.

Dave.
 
cosmic frog
Guru

Joined: 09/02/2012
Location: United Kingdom
Posts: 302
Posted: 09:00am 23 Aug 2015
Copy link to clipboard 
Print this post

Ok, tried a new keyboard and its doing the same thing. Also tried the UP and DOWN arrow keys and I can get them to generate 2's and 8's but only when the com port (com2 in this case) is open, as soon as I Close it it doesn't do it.

Dave.
 
cosmic frog
Guru

Joined: 09/02/2012
Location: United Kingdom
Posts: 302
Posted: 09:13am 23 Aug 2015
Copy link to clipboard 
Print this post

Just tried Open "com1:9600" as #1 and it works fine.
So the problem seems to be just on com2.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3288
Posted: 11:36am 23 Aug 2015
Copy link to clipboard 
Print this post

Thanks, it looks like there is a clue there. I will investigate.
Geoff Graham - http://geoffg.net
 
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