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

Single step debug not working when PLL running

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



Joined: 16 Feb 2009
Posts: 5
Location: England

View user's profile Send private message

Single step debug not working when PLL running
PostPosted: Mon Feb 16, 2009 8:51 am     Reply with quote

I am using a PIC18F66J50. It is running from a 4MHz external crystal and after boot up I enable the 48MHz PLL and then run from that with no problem. However if I try and single step after the PLL has started the pic crashes and the program counter goes to $FFFF. The debugger seems to thinks the MCU is always running at 4MHz (Measured on reset?)
eskimobob



Joined: 07 Feb 2009
Posts: 40

View user's profile Send private message

PostPosted: Mon Feb 16, 2009 1:14 pm     Reply with quote

I've seen strange behaviour like this recently too and as it happens, I was using the PLL (different PIC though).

I was able to find the problem without the debugger fortunately so I did not investigate the cause too closely.
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