View previous topic :: View next topic |
Author |
Message |
byatin
Joined: 26 Oct 2006 Posts: 10 Location: delhi -india
|
to know about fuses |
Posted: Tue Oct 31, 2006 12:38 pm |
|
|
hi to all , can anybody please tell me ,how to know about fuses explained in
the device files ,for example i am using the pic18f4550 microcontroller,
the configuration bits of it r clearly mentioned in it's pdf,but in its file 18f4550.h only the names of fuses are mentioned but it does not tell anything about it ,for example these fuses are given in the file
CPD,NOCPD,NOSTVREN,STVREN
now what does they mean, and from where should i can get the complete information. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
jma_1
Joined: 08 Feb 2005 Posts: 147 Location: Wisconsin
|
|
Posted: Tue Oct 31, 2006 1:27 pm |
|
|
Greetings,
Most features implemented by CCS are directly from the datasheet of the particular pic you are using. The datasheet is the only real documentation. The CCS compiler manual does not cover in any detail items covered in the datasheet. Search the datasheet for special features of the cpu -> configuration bits. These spell out the options for the pic (stack underflow reset, stack overflow reset, low voltage programming, code protection, etc). I believe the #fuses statement merely is a conveniant way to set the associated configuation registers. Each option for your chip is listed in the device .h file (18f4550.h) file.
Cheers,
JMA |
|
|
jecottrell
Joined: 16 Jan 2005 Posts: 559 Location: Tucson, AZ
|
|
Posted: Tue Oct 31, 2006 1:29 pm |
|
|
Go to the Microchip website and download the data sheet for the part you're interested in.
Search on the fuse that you are interested in (look for STVREN not NOSTVREN). That search should take you to the table of configuration bits. From there each is broken out in the byte that they are located and there is a short explanation of each.
Quote: | bit 7 CPD: Data EEPROM Code Protection bit
1 = Data EEPROM is not code-protected
0 = Data EEPROM is code-protected |
John |
|
|
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
|
|
|
|