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

Please help: why connecting failed?

Hello,

I 'm programming the first time with Keil uv_2 and Phytec SK-167CR. At first I want to simulate something on the Phytecboard. But everytime I got the message: "connecting target failed". This is my simulation program:

#include <reg167.h>

sbit DirPort28 = DP2^8;
sbit Led8 = P2^8;

void softdelay (unsigned int);

void main(void){
DirPort28 = 1;
while(1); {
Led8=1;
softdelay (25);
};
}

void softdelay (unsigned int value) {
unsigned int i,j;
for (j=0;j<value;j++)
for (i=0; i<0x2000;i++)
{};
}

In the moment I have no idea about the problem. So help me, please.

Thanks,

Ray

Parents Reply Children
No data