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 support@ccsinfo.com

Ready MCU at 1.01 MHz

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
pebbert9



Joined: 31 Dec 2010
Posts: 39

View user's profile Send private message

Ready MCU at 1.01 MHz
PostPosted: Tue Sep 13, 2011 10:26 pm     Reply with quote

Hello,

I am trying to find out why when I run this simple program the debugger only connects at 1.01 Mhz.

Everything I've tried to do indicates the MCU is running at 8Mhz. Is it normal for the debugger to only connect at 1.01MHZ?

I am using the ICD-U64, v4.124, and I have EEPROM erasing disabled on my programmer.

Is there something simple I'm forgetting?


Code:


#include <18F23K20.h>
#device ICD=TRUE
#fuses INTRC_IO,NOWDT,NOPROTECT,DEBUG
#use delay(internal=8Mhz)

void main()
{
   setup_oscillator (OSC_8MHZ);

   while(1);
}
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion 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