Darren,
As Harold mentioned, first check the errata to be sure your device is
capable of running at 40MHz.
If so, the next thing to do is cycle the power on the target device after
changing the pll setting in the config line. As noted in the data sheets,
the pll function doesnot work until you cycle the power. When this
happened to me, the ICD2 reported "Connecting to debug executive" and then
hung.
If this is the case, what I believe happens is that the pic doesnot change
modes and the oscillator does not run so the ICD2 sits there waiting for an
answer that will never arrive. It is unfortunate that the ICD2 cannot
provide better error reporting to make it clear what is wrong.
Good luck!
Tom
At 09:12 PM 5/28/2004 -0700, you wrote:
{Quote hidden}>I'm experimenting with an 18F1320 and want to go to 40MHz using the PLL
>and a 10MHz crystal. For some reason the ICD refuses to talk to the
>target's debug exec at 10Mhz. It will connect to the target, identify
>the PIC, program it, verify the programming, but then hang a
>"Connecting to debug executive". I tried updating to the latest MPLAB
>but it didn't make any difference. Everything works fine in regular HS
>mode at 20Mhz. I tried a 4MHz crystal with HS-PLL mode and it worked.
>I guess I'll have to go out tomorrow and get some not-quite-10MHz
>crystals and see if it's simply a speed thing. Has anyone out there
>gotten HS-PLL mode to work with a 10Mhz crystal?
>
>thanks,
>
>darren
>
>--
>
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
>email
.....listservKILLspam
.....mitvma.mit.edu with SET PICList DIGEST in the body
>
--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email EraseMElistservspam_OUT
TakeThisOuTmitvma.mit.edu with SET PICList DIGEST in the body