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
What message do you get when you connect to the target hardware. Before the message "Connection Lost" there should be another message box with additional information. Reinhard
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
You need to select the correct Monitor configuration under Project - Options for Target - Debug - Monitor Settings - Monitor Configuration. For more information refer to the MON166 user's guide (Keil\C166\Hlp\Mon166.CHM). Reinhard
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
Try the Monitor configuration from the folder: C:\Keil\C166\Monitor\Phytec KC167CR Reinhard