pebbert9
Joined: 31 Dec 2010 Posts: 39
|
Ready MCU at 1.01 MHz |
Posted: Tue Sep 13, 2011 10:26 pm |
|
|
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);
}
|
|
|