This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ISD51 debugging issues

Hello,
Have anyone experienced the ISD51 debugging issues after you successfully tested your code using Keil simulator and Hyperterminal? I used the following small code to try ISD51 debugging but no success at all. Hit the debug button and wait about 2s, there is an error message " ISD51 Error - communication problem with ISD51..."
Can anyone give some ideas about how to solve this? I contacted Keil technical service and it seemed that they couldn't help it. My processor is C515C. My test code is below.

void main (void)  {
unsigned int i;

  	Project_Init(B_9600);     // Initialize Chip and Serial Interface

#ifndef ISD51  // init ISD51 only when the uVision2 Debugger tries to connect
	TestSerial();
#endif

#ifdef ISD51 // init ISD51 and start user program until the uVision2 Debugger connects
  ISDinit ();        // initialize uVision2 Debugger and continue program run
#endif

#if 0   // init ISD51 and wait until the uVision2 Debugger connects
  ISDwait ();        // wait for connection to uVision2 Debugger
#endif

  EAL = 1;              /* Enable global interrupt flag       */

  while (1)  {
#ifdef ISD51  // init ISD51 only when the uVision2 Debugger tries to connect
   ISDcheck();      // initialize uVision2 Debugger and continue program run
	Delay(200);
#endif

	i++;

  }
}

0