Keil™, An ARM® Company

Technical Support

DSCOPE: ENTERING ASCII CHARACTERS

Information in this article applies to:

  • C51 Version 5.50

SYMPTOMS

Entering certain ASCII characters into the Serial I/O window - by holding down 'Alt' and entering the decimal number on the numeric keypad - results in the wrong value being placed into SBUF.

The errant characters are as follows:

  • Entering character 0 does not change the value in SBUF. It is effectively ignored.
  • Entering character 9 does not change the value in SBUF. It is effectively ignored.
  • Entering character 15 puts the value 164 (A4H) into SBUF.
  • Entering character 20 puts the value 182 (B6H) into SBUF.
  • Entering character 21 puts the value 167 (A7H) into SBUF.

CAUSE

This appears to be a bug in dScope.

RESOLUTION

Until this bug is fixed a temporary workaround is to put the value into SIN in the command window. For example to enter character 20:

Click in the Command window. Enter the following:

sin = 20

The correct value will be placed into SBUF.

STATUS

This bug will be fixed as soon as development processes allow.

Last Reviewed: Tuesday, June 08, 2004


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