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

Problem with HS

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



Joined: 03 Apr 2009
Posts: 7

View user's profile Send private message

Problem with HS
PostPosted: Fri Apr 03, 2009 10:48 am     Reply with quote

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
andreluizeng



Joined: 04 Apr 2006
Posts: 117
Location: Brasil

View user's profile Send private message Send e-mail MSN Messenger

PostPosted: Fri Apr 03, 2009 11:17 am     Reply with quote

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
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Fri Apr 03, 2009 11:39 am     Reply with quote

What is your compiler version number? See the top of the *.lst file for this number.
Guest








PostPosted: Sat Apr 04, 2009 4:42 am     Reply with quote

CCS PCH C Compiler, Version 4.023, 25097 03-abr-09 18:39

Exclamation
Guest








PostPosted: Mon Apr 06, 2009 3:22 am     Reply with quote

Any suggestion?

Thanks
Ttelmah
Guest







PostPosted: Mon Apr 06, 2009 5:27 am     Reply with quote

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
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