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

dsPIC33FJ256GP710 ICD Hangs after setup_oscillator()

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







dsPIC33FJ256GP710 ICD Hangs after setup_oscillator()
PostPosted: Tue Nov 25, 2008 2:50 pm     Reply with quote

I am running a dsPIC33FJ256GP710 with a 10MHz crystal. ICD-U40 #101 firmware v2.26. I am trying to switch the oscillator up to 80MHz using setup_oscillator(OSC_CRYSTAL,80000000,10000000);

The unit hangs as soon as the setup_oscillator statement executes while running on the ICD.

If I program the part standalone, the clock gets set properly and everything works fine.

Any ideas?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Nov 26, 2008 12:50 pm     Reply with quote

Here is a related thread that might help, or provide a direction to look:
http://www.ccsinfo.com/forum/viewtopic.php?t=36592
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