View previous topic :: View next topic |
Author |
Message |
Georg Prinz
Joined: 07 Jan 2004 Posts: 22 Location: Frankfurt, Germany
|
invalid clock value |
Posted: Sun Jul 03, 2005 11:40 pm |
|
|
Hi folks,
I use PCWH-compiler V. 3.212 with ICD-U40. Following test program is compiled and loaded correctly and debugger says "Ready MCU at 10MHz":
#include <16f876.h>
#fuses HS,NOLVP,NOWDT,NOPROTECT,DEBUG
#use delay(clock=10000000)
#define led PIN_A5
main
{
while(TRUE)
{
output_low(led);
delay(1ooo);
output_high(led);
delay_ms(1000);
}
}
Stepping through the program goes well until last delay and then it jumps to "'use delay(clock=10000000) saying "Invalid clockvalue from the debugger" and "Ready MCU at 1280MHz". Starting again the program the debugger says "Debugging may not have been enalbled".
Any suggestion?
Thanks in advance.
georg _________________ dl 2 kp |
|
|
Georg Prinz
Joined: 07 Jan 2004 Posts: 22 Location: Frankfurt, Germany
|
|
Posted: Sun Jul 10, 2005 11:40 pm |
|
|
Ok folks,
I's running. I checked the hardware carefully and found a hidden resistor. _________________ dl 2 kp |
|
|
Mixy73
Joined: 20 Jan 2005 Posts: 1
|
|
Posted: Fri Jul 29, 2005 3:53 am |
|
|
I Have the same problem on my situation, but I din't found any hidden resistor.
Can You are more precise ???
Sorry for my bad english.
Thanks
Marco |
|
|
juanma Guest
|
|
Posted: Sun Jan 01, 2006 6:44 pm |
|
|
CONECTA LOS 5V DEL CONECTOR TARGET, Y OK.
Y LOS DEMAS CLARO. |
|
|
|