View previous topic :: View next topic |
Author |
Message |
slavka012
Joined: 10 Feb 2012 Posts: 28
|
Setting fuses, PIC16F1939 |
Posted: Tue Feb 14, 2012 10:40 am |
|
|
I'm having trouble getting fuses set correctly.
I have
#fuses INTRC_IO,NOWDT,PUT,NOMCLR,NOIESO,BROWNOUT,BORV19,PROTECT,CPD,NOLVP
I get 0x28A4 and 0x0EFF
Second one is correct, but in the first one the brownout mode and code protect are incorrect. So I decide, forget that, I'll set them manually:
#FUSES 1=0x2E04,2=0x0EFF
I get 0x39E4 and 0xEFF
What's going on??? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Feb 14, 2012 3:02 pm |
|
|
For a problem like this, always post your compiler version. It may be
related to the version. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19504
|
|
Posted: Tue Feb 14, 2012 4:17 pm |
|
|
Also, the 'classic' is compiling for DEBUG. This forces certain fuses off. Typically Brownout, code protect etc...
Best Wishes |
|
|
|
|
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
|