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

18F67J50 - Bug in v4.112 FYI

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



Joined: 11 Oct 2010
Posts: 4

View user's profile Send private message

18F67J50 - Bug in v4.112 FYI
PostPosted: Mon Oct 11, 2010 4:22 pm     Reply with quote

I just updated from PCH 4.109 to 4.112 and my program stopped working correctly. I am using the HSPLL fuse (which got renamed from HS_PLL). It appears that the write to OSCTUNE (F9Bh) to turn on the PLL no longer happens.

This is for an 18F67J50.


Last edited by KenG on Mon Oct 11, 2010 4:38 pm; edited 1 time in total
KenG



Joined: 11 Oct 2010
Posts: 4

View user's profile Send private message

PostPosted: Mon Oct 11, 2010 4:32 pm     Reply with quote

Here is the fix-

I put this in my .h file after the fuses
#byte OSCTUNE=0xF9B

I put this in main()
OSCTUNE = 0x40;
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