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

Strange H4 on 18F6722

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








Strange H4 on 18F6722
PostPosted: Fri Feb 03, 2006 8:22 pm     Reply with quote

Hi,

I have a code that run in a 18F6722 with 10Mhz H4 = 40000000Mhz the code have strange funcionality, but in 10Mhz HS the code work OK.

Somebody have some experiencie in use H4?

The compiler have any bug in H4?

I wait for your comments,
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Fri Feb 03, 2006 8:54 pm     Reply with quote

The PLL is enabled by the fues setting at power on reset. Did you power cycle the PIC after setting the fuse for the first time?
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Guest








PostPosted: Fri Feb 03, 2006 9:48 pm     Reply with quote

Dear asmallri,

I not understand the power cycle, can you explain best.

Thank you very much!!
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Fri Feb 03, 2006 11:02 pm     Reply with quote

Turn power off. Wait 5 seconds. Turn power on.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
tophe59



Joined: 13 Oct 2005
Posts: 32
Location: France

View user's profile Send private message

PostPosted: Sat Feb 04, 2006 12:06 am     Reply with quote

The H4 break debug for me. I using internal RC*4 Crying or Very sad
cfernandez



Joined: 18 Oct 2003
Posts: 145

View user's profile Send private message

PostPosted: Sat Feb 04, 2006 6:47 am     Reply with quote

How to use Internal RC*4 ????????????
tophe59



Joined: 13 Oct 2005
Posts: 32
Location: France

View user's profile Send private message

PostPosted: Sat Feb 04, 2006 1:38 pm     Reply with quote

cfernandez wrote:
How to use Internal RC*4 ????????????


i configure in RC mode with #fuses and enable pll in the code.
specialk



Joined: 12 Nov 2005
Posts: 27

View user's profile Send private message

PostPosted: Sat Feb 04, 2006 6:36 pm     Reply with quote

cfernandez wrote:
How to use Internal RC*4 ????????????
See section 2.4.2 of the 18F6722 datasheet.
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