View previous topic :: View next topic |
Author |
Message |
JimB
Joined: 25 Aug 2005 Posts: 65 Location: Huntington Beach, CA
|
Fuses? Explain for a beginner. |
Posted: Fri Sep 09, 2005 9:23 am |
|
|
I am coming up to speed with the CCS compiler and development board and going through the tutorial and sample programs. One thing that has not been explained in either the datasheet for the micro, the CCS compiler manual nor a book that I bought through CCS is any explanation of what FUSES are? Are they fusable links, temporary internal switches or what?
Can anybody offer an explanation or send me to a source to read about them?
JimB |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Sep 09, 2005 10:55 am |
|
|
Go here:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=64
1. Then click on "Data Sheet Finder", near the top of the page.
2. When you're on that page, select your PIC from the drop-down list
and wait until the page loads.
3. Then click on the data sheet for your PIC and download it.
4. Load it into Adobe Acrobat reader.
5. Go to the section called "Special Features of the CPU".
6. Read the section on "Configuration Bits". |
|
|
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
|
|
Posted: Fri Sep 09, 2005 11:41 am |
|
|
JimB wrote:
Quote: |
One thing that has not been explained in either the datasheet for the micro, the CCS compiler manual nor a book that I bought through CCS is any explanation of what FUSES are?
|
You are right.
FUSES is a term used by CCS to name itīs Pre Processor directive.
Microchip use the term Configuration Word or Configuration Bits as PCM programmer stated.
In Assembler is used the Directive _CONFIG to enable the programmer to set the configurations at assembly time rather than at programming time
All these terms are equivalent, have the same meaning
You will learn more in this tutorial:
http://ww1.microchip.com/downloads/en/DeviceDoc/config.pdf
Best wishes,
Humberto |
|
|
sheing3003
Joined: 05 Jul 2006 Posts: 10
|
|
Posted: Wed Jul 05, 2006 2:26 pm |
|
|
thanks alot humber, really appreciate this! Took me forever to figure out what those abbreviation means.
However, it never explained PUT what does PUT mean? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Jul 05, 2006 2:35 pm |
|
|
"PUT" is the CCS abbreviation for the "Power-up Timer".
Microchip uses PWRT as the abbreviation.
Look in the Special Features / Configuration Bits section of the
PIC data sheet for an explanation of the power-up timer. |
|
|
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
|
|
Posted: Wed Jul 05, 2006 3:00 pm |
|
|
These are some of the abbreviation used by CCS and its meaning.
#FUSES PUT //Power Up Timer
#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 //Watch Dog Timer uses 1:128 Postscale
#FUSES NOPROTECT //Code not protected from reading
#FUSES NOOSCSEN //Oscillator switching is disabled, main oscillator is source
#FUSES BROWNOUT //Reset when brownout detected
#FUSES BORV20 //Brownout reset at 2.0V
#FUSES STVREN //Stack full/underflow will cause reset
#FUSES NODEBUG //No Debug mode for ICD
#FUSES NOLVP //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O
#FUSES NOWRT //Program memory not write protected
#FUSES NOWRTD //Data EEPROM not write protected
#FUSES NOWRTB //Boot block not write protected
#FUSES NOWRTC //configuration not registers write protected
#FUSES NOCPD //No EE protection
#FUSES NOCPB //No Boot Block code protection
#FUSES NOEBTR //Memory not protected from table reads
#FUSES NOEBTRB //Boot block not protected from table reads
#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 //Watch Dog Timer uses 1:128 Postscale
#FUSES HS //High speed Osc (> 4mhz for PCM/PCH) (>10mhz for PCD)
#FUSES IESO //Internal External Switch Over mode enabled
#FUSES NOBROWNOUT //No brownout reset
#FUSES BORV21 //Brownout reset at 2.1V
#FUSES NOCPD //No EE protection
#FUSES STVREN //Stack full/underflow will cause reset
#FUSES NODEBUG //No Debug mode for ICD
#FUSES NOLVP //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O
#FUSES WRT //Program Memory Write Protected
#FUSES WRTD //Data EEPROM write protected
#FUSES EBTR //Memory protected from table reads
#FUSES CPB //Boot Block Code Protected
#FUSES EBTRB //Boot block protected from table reads
#FUSES WRTC //configuration registers write protected
#FUSES WRTB //Boot block write protected
#FUSES FCMEN //Fail-safe clock monitor enabled
#FUSES NOXINST //Extended set extension and Indexed Addressing mode disabled (Legacy mode)
#FUSES PBADEN //PORTB pins are configured as analog input channels on RESET
#FUSES LPT1OSC //Timer1 configured for low-power operation
#FUSES MCLR //Master Clear pin enabled
But always the reference is the Microchip Datasheet as PCM Programmer stated, it is your job to understand
and "translate" each achronism.
Humberto
1. Edited
to ADD more FUSES defenitions
Last edited by Humberto on Sun Aug 22, 2010 12:55 pm; edited 2 times in total |
|
|
Jakin Guest
|
|
Posted: Thu Aug 17, 2006 3:34 pm |
|
|
Hi, All : thanks so much ~! I feel I have more understand about #fuse ... |
|
|
|