|
|||||||||||
|
Technical Support On-Line Manuals ISD51 User's Guide |
ISD51 User's GuideTroubleshootingIf the µVision Debugger does not connect to the ISD51 hardware, you should first verify that the target system's serial interface is correctly configured. You may check this with the µVision Simulator as follows:
If everything is correctly configured and you are still unable to connect to the IDS51 hardware, try invoking the following function after initializing the serial interface.
/*
* Test Function:
* Verify serial communication with HyperTerminal
*/
void TestSerial (void) {
char c = 'A';
TI = 1;
while (1) {
if (RI) {
c = SBUF;
RI = 0;
}
while (!TI);
TI = 0;
SBUF = c;
}
}
This function outputs a character via the 8051 on-chip serial port. The character A is transmitted initially. If a character is received on the 8051's serial port, that character is then transmitted. You may use a terminal program like HyperTerminal to verify that the 8051 transmits the letter A and that other characters you type are echoed. | ||||||||||
|
|||||||||||