CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

invalid clock value

 
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go
View previous topic :: View next topic  
Author Message
Georg Prinz



Joined: 07 Jan 2004
Posts: 22
Location: Frankfurt, Germany

View user's profile Send private message Send e-mail

invalid clock value
PostPosted: Sun Jul 03, 2005 11:40 pm     Reply with quote

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

View user's profile Send private message Send e-mail

PostPosted: Sun Jul 10, 2005 11:40 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Jul 29, 2005 3:53 am     Reply with quote

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







PostPosted: Sun Jan 01, 2006 6:44 pm     Reply with quote

CONECTA LOS 5V DEL CONECTOR TARGET, Y OK.
Y LOS DEMAS CLARO.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group