Keil™, An ARM® Company

Technical Support

DSCOPE: ENTERING EXTENDED ASCII CHARACTERS (128 TO 255)

Information in this article applies to:

  • C51 Version 5.50

SYMPTOMS

If I click in the Serial I/O window in dScope and try to enter a character with a number higher than 127, an incorrect value appears in SBUF. I am entering the characters by holding down the ALT key and entering the character number on the numeric keypad.

CAUSE

This is not a bug in dScope. You must use a different method to enter these characters in Windows.

RESOLUTION

To enter a character with a number higher than 127, you must enter four digits with the first digit being '0'. For example, to enter character 183 into the dScope Serial I/O window you must:

  1. Press and hold the ALT key
  2. Enter '0', '1', '8' and then '3'
  3. Release the ALT key

SBUF will then contain the correct value (0B7h).

Last Reviewed: Saturday, July 09, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure