![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
Chevi
Joined: 03 Apr 2009 Posts: 7
|
Problem with HS |
Posted: Fri Apr 03, 2009 10:48 am |
|
|
Quote: | #include <18F4620.h>
#device adc=10
#device icd=true
#fuses NOWDT, HS, NOMCLR, NOPROTECT, NOIESO, BROWNOUT, BORV21, NOPUT, NOCPD, NOSTVREN, DEBUG, NOLVP, NOWRT, NOWRTD, NOEBTR, NOCPB, NOEBTRB, NOWRTC, NOWRTB, NOFCMEN, NOXINST, NOPBADEN, NOLPT1OSC, CCP2B3
#use delay(clock=10000000)
void main (){
//...
}
|
HS if clock is >4MHz. My clock is 10Mhz.
Error: "Could not start target. .... . Use view |valid fuses to find the correct clock fuse."
Best wishes |
|
![](templates/subSilver/images/spacer.gif) |
andreluizeng
Joined: 04 Apr 2006 Posts: 117 Location: Brasil
|
|
Posted: Fri Apr 03, 2009 11:17 am |
|
|
Try put HS in first......... =)
I think that the compilers set the fuses one by one in the order that you give to it. and in this issue, you are giving first the NOWDT... it is just a suggest.
regards. _________________ Andre |
|
![](templates/subSilver/images/spacer.gif) |
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Fri Apr 03, 2009 11:39 am |
|
|
What is your compiler version number? See the top of the *.lst file for this number. |
|
![](templates/subSilver/images/spacer.gif) |
Guest
|
|
Posted: Sat Apr 04, 2009 4:42 am |
|
|
CCS PCH C Compiler, Version 4.023, 25097 03-abr-09 18:39
![Exclamation](images/smiles/icon_exclaim.gif) |
|
![](templates/subSilver/images/spacer.gif) |
Guest
|
|
Posted: Mon Apr 06, 2009 3:22 am |
|
|
Any suggestion?
Thanks |
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah Guest
|
|
Posted: Mon Apr 06, 2009 5:27 am |
|
|
Realistically, look at the thread to the top of the forum about V4 versions.
I'd not be at all surprised if a low 4.2x version, was not setting the fuses correctly. It is before the point, where V4, really began to work at all reliably....
Best Wishes |
|
![](templates/subSilver/images/spacer.gif) |
|
|
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
|