Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
// PIC18F4550/PIC18F2550 fuse configuration:
// Config word 1 (Oscillator configuration)
// 20Mhz crystal input scaled to 48Mhz and configured for USB operation
__CONFIG(1, USBPLL & IESODIS & FCMDIS & HSPLL & CPUDIV1 & PLLDIV5);
// Config word 2
__CONFIG(2, VREGEN & PWRTDIS & BOREN & BORV20 & WDTDIS & WDTPS32K);
// Config word 3
__CONFIG(3, PBDIGITAL & LPT1DIS & MCLREN);
// Config word 4
__CONFIG(4, XINSTDIS & STVREN & LVPDIS & ICPORTDIS & DEBUGDIS);
// Config word 5, 6 and 7 (protection configuration)
__CONFIG(5, UNPROTECT);
__CONFIG(6, UNPROTECT);
__CONFIG(7, UNPROTECT);
Hi , john blue these are setting for 18F4550 for using as USB ?
Now the picture can be enlarged
USBPLL /by2
No divide
Oscillator HS OSC w/pll HS used by USB
HS OSC HS used by USB
Intrn OSC HS used by USB
Intrn OSC XT used by USB
Brown Out Voltage 2V
2.7V
4.2V
4.5V
Powerup timer En
Dis
WDT postscale 1:32768
1:16384
1:8192
1:4096
1:2048
1:1024
1:512
1:256
..
..
..
..
1:1
LPT1 OSC Low Power mode
High Power mode
CCP2MX MUC RC1
MUC RE7/RB3
XINST Dis
En
Stalk Overflow En
Dis
Rom Protect 0200-1FFFF Dis
0200-1FFFF EN
Rom Protect 4000-5FFFF Dis
4000-5FFFF EN
EEprom prot En
Dis
Rom table write prot En
Dis
EEprom table write protEn
Dis
Boot table read Prot 0000-1FFF Dis
0000-1FFF En
CPUDIV Div/6 wPLL Div/4
Div/4 wPLL Div/3
Div/3 wPLL Div/2
Div/2 wPLL No div
OSCSEN En
Dis
VREGEN En
Dis
Brownout Detect En
Dis
WDT En
Dis
MCLR En
Dis
PBADEN AD 4:0 Reset=analog
AD 4:0 Reset=digital
ECCMUX ENH CCP1 RE6 3
ENH CCP1 RH7 4
Low voltage program Dis
En
Boot rom detect 0000-01FFF Dis
0000-01FFF EN
rom protect 2000-3FFFF Dis
2000-3FFFF EN
rom protect 6000-7FFFF Dis
6000-7FFFF EN
Boot table write prot 0000-3FFFF Dis
0000-3FFFF En
Rom table write prot 2000-3FFFF Dis
2000-3FFFF EN
Rom table write prot 6000-1FFFF Dis
6000-1FFFF EN
config table write prot Dis
En
Rom Table read prot 2000-3FFF Dis
2000-3FFF En
Fuse Available option
USBPLL /by2*
No divide
Oscillator HS OSC w/pll HS used by USB*
HS OSC HS used by USB
Intrn OSC HS used by USB
Intrn OSC XT used by USB
Brown Out Voltage 2V*
2.7V
4.2V
4.5V
Powerup timer En*
Dis
WDT postscale 1:32768 *
1:16384
1:8192
1:4096
1:2048
1:1024
1:512
1:256
..
..
..
..
1:1
LPT1 OSC Low Power mode*
High Power mode
CCP2MX MUC RC1*
MUC RE7/RB3
XINST Dis*
En
Stalk Overflow En*
Dis
Rom Protect 0200-1FFFF Dis
0200-1FFFF EN*
Rom Protect 4000-5FFFF Dis*
4000-5FFFF EN
EEprom prot En
Dis*
Rom table write prot En
Dis*
EEprom table write prot En
Dis*
Boot table read Prot 0000-1FFF Dis*
0000-1FFF En
CPUDIV Div/6 wPLL Div/4*
Div/4 wPLL Div/3
Div/3 wPLL Div/2
Div/2 wPLL No div
OSCSEN En
Dis*
VREGEN En
Dis*
Brownout Detect En
Dis*
WDT En
Dis*
MCLR En*
Dis
PBADEN AD 4:0 Reset=analog*
AD 4:0 Reset=digital
ECCMUX ENH CCP1 RE6 3*
ENH CCP1 RH7 4
Low voltage program Dis*
En
Boot rom detect 0000-01FFF Dis*
0000-01FFF EN
rom protect 2000-3FFFF Dis*
2000-3FFFF EN
rom protect 6000-7FFFF Dis*
6000-7FFFF EN
Boot table write prot 0000-3FFFF Dis*
0000-3FFFF En
Rom table write prot 2000-3FFFF Dis*
2000-3FFFF EN
Rom table write prot 6000-1FFFF Dis*
6000-1FFFF EN
config table write prot Dis*
En
Rom Table read prot 2000-3FFF Dis*
2000-3FFF En
The fuses i used is marked in star
Code:Fuse Available option USBPLL /by2* No divide Oscillator HS OSC w/pll HS used by USB* HS OSC HS used by USB Intrn OSC HS used by USB Intrn OSC XT used by USB Brown Out Voltage 2V* 2.7V 4.2V 4.5V Powerup timer En* Dis WDT postscale 1:32768 * 1:16384 1:8192 1:4096 1:2048 1:1024 1:512 1:256 .. .. .. .. 1:1 LPT1 OSC Low Power mode* High Power mode CCP2MX MUC RC1* MUC RE7/RB3 XINST Dis* En Stalk Overflow En* Dis Rom Protect 0200-1FFFF Dis 0200-1FFFF EN* Rom Protect 4000-5FFFF Dis* 4000-5FFFF EN EEprom prot En Dis* Rom table write prot En Dis* EEprom table write prot En Dis* Boot table read Prot 0000-1FFF Dis* 0000-1FFF En CPUDIV Div/6 wPLL Div/4* Div/4 wPLL Div/3 Div/3 wPLL Div/2 Div/2 wPLL No div OSCSEN En Dis* VREGEN En Dis* Brownout Detect En Dis* WDT En Dis* MCLR En* Dis PBADEN AD 4:0 Reset=analog* AD 4:0 Reset=digital ECCMUX ENH CCP1 RE6 3* ENH CCP1 RH7 4 Low voltage program Dis* En Boot rom detect 0000-01FFF Dis* 0000-01FFF EN rom protect 2000-3FFFF Dis* 2000-3FFFF EN rom protect 6000-7FFFF Dis* 6000-7FFFF EN Boot table write prot 0000-3FFFF Dis* 0000-3FFFF En Rom table write prot 2000-3FFFF Dis* 2000-3FFFF EN Rom table write prot 6000-1FFFF Dis* 6000-1FFFF EN config table write prot Dis* En Rom Table read prot 2000-3FFF Dis* 2000-3FFF En
yes , i have checkedHave you tested after correction?
my real doubts are
CPUDIV Div/6 wPLL Div/4*
Div/4 wPLL Div/3
Div/3 wPLL Div/2
Div/2 wPLL No div
USBPLL /by2*
No divide
Oscillator HS OSC w/pll HS used by USB*
HS OSC HS used by USB
Intrn OSC HS used by USB
Intrn OSC XT used by USB
---------- Post added at 07:08 ---------- Previous post was at 07:08 ----------
yes , i have checked
means ? , i am using USB hid firmware from microchipCPUDIV determines the program oscillator clock. That depends on what your program based on.