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
  • Hello,

    I think there is a problem with the monitor-166-version. It is from 1993.

    I convert my c-program into a hex-file and started it with mon166.exe (Dos-mode) and the program was running on the Phytecboard. I don't know if it is possible to use this monitor version under Keil mV_2?!

    Maybe some of you know an answer and could help me.(Maybe it is possible to copy Monitor and Boot file from the old Monitorversion into the 'Monitor directory of Keil mV_2' and start it out of Keil mV_2 ???)

    Ray

Reply
  • Hello,

    I think there is a problem with the monitor-166-version. It is from 1993.

    I convert my c-program into a hex-file and started it with mon166.exe (Dos-mode) and the program was running on the Phytecboard. I don't know if it is possible to use this monitor version under Keil mV_2?!

    Maybe some of you know an answer and could help me.(Maybe it is possible to copy Monitor and Boot file from the old Monitorversion into the 'Monitor directory of Keil mV_2' and start it out of Keil mV_2 ???)

    Ray

Children