Serial data issue
Posted: Sat Aug 14, 2010 6:45 pm
Does anybody know off the top what is sent to a serial port when 2 side by side keys are pressed simultaneously?
I ask as I have been writing a program for my micro controller project & have set the micro up to just spit it's firmware version back to any user trying to access via a terminal such as hyper terminal. It is all working lightning quick, with the exception that if you manage to press in between 2 keys giving a simultaneous keypress. This is somehow managing to completely lock up my micro, forcing a reboot to get it running again.
( Not really a problem so long as people use my purpose built program for set up, but still a little bit annoying that this is happening & if I can't work out why, I will just probably restrict terminals to a single character such as 'v' to get anything back from my controller, with all other keys just simply clearing the micro's Rx buffer.)
I ask as I have been writing a program for my micro controller project & have set the micro up to just spit it's firmware version back to any user trying to access via a terminal such as hyper terminal. It is all working lightning quick, with the exception that if you manage to press in between 2 keys giving a simultaneous keypress. This is somehow managing to completely lock up my micro, forcing a reboot to get it running again.
( Not really a problem so long as people use my purpose built program for set up, but still a little bit annoying that this is happening & if I can't work out why, I will just probably restrict terminals to a single character such as 'v' to get anything back from my controller, with all other keys just simply clearing the micro's Rx buffer.)
