![]() |
Forum Index : Microcontroller and PC projects : Possible Bug In Open Command?
Author | Message | ||||
cosmic frog Guru ![]() Joined: 09/02/2012 Location: United KingdomPosts: 302 |
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 ZealandPosts: 2441 |
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 ZealandPosts: 9603 |
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: AustraliaPosts: 3288 |
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 KingdomPosts: 302 |
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 KingdomPosts: 302 |
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 KingdomPosts: 302 |
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: AustraliaPosts: 3288 |
Thanks, it looks like there is a clue there. I will investigate. Geoff Graham - http://geoffg.net |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |