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
  • steps to error message:

    1. I start the debug session link.
    2. I got the message 'Evaluation mode: Running in eval mode (8K)'
    3. Mostly the monitor is loading
    3. After that I got the message 'monitor configuration error'(sometimes bootstraploader wrong configured or *.bot and *.mon files wrong configured/missing)

    I compiled my c-program into hex86-format and started it out of 'mon166.exe' and it functioned that way, so maybe it is an installation problem?!

    Ray

Reply
  • steps to error message:

    1. I start the debug session link.
    2. I got the message 'Evaluation mode: Running in eval mode (8K)'
    3. Mostly the monitor is loading
    3. After that I got the message 'monitor configuration error'(sometimes bootstraploader wrong configured or *.bot and *.mon files wrong configured/missing)

    I compiled my c-program into hex86-format and started it out of 'mon166.exe' and it functioned that way, so maybe it is an installation problem?!

    Ray

Children