View previous topic :: View next topic |
Author |
Message |
Guest
|
Strange H4 on 18F6722 |
Posted: Fri Feb 03, 2006 8:22 pm |
|
|
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: 1635 Location: Perth, Australia
|
|
Posted: Fri Feb 03, 2006 8:54 pm |
|
|
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
|
|
Posted: Fri Feb 03, 2006 9:48 pm |
|
|
Dear asmallri,
I not understand the power cycle, can you explain best.
Thank you very much!! |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
|
|
Posted: Fri Feb 03, 2006 11:02 pm |
|
|
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
|
|
Posted: Sat Feb 04, 2006 12:06 am |
|
|
The H4 break debug for me. I using internal RC*4 |
|
|
cfernandez
Joined: 18 Oct 2003 Posts: 145
|
|
Posted: Sat Feb 04, 2006 6:47 am |
|
|
How to use Internal RC*4 ???????????? |
|
|
tophe59
Joined: 13 Oct 2005 Posts: 32 Location: France
|
|
Posted: Sat Feb 04, 2006 1:38 pm |
|
|
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
|
|
Posted: Sat Feb 04, 2006 6:36 pm |
|
|
cfernandez wrote: | How to use Internal RC*4 ???????????? | See section 2.4.2 of the 18F6722 datasheet. |
|
|
|