Hi,
I have assembled floppy sd version. Now I am trying to program PIC18F4525 through PickKit2 clone and MPLAB IDE. I am little confused with configuration bits. If I take option "Configuration bits set in code" the programmed PIC is not working (black LCD display) Here are the config bits for soft ver. 0.0.6.0.:
OSC - HS-PLL enabled freq=4xFosc1
FCMEN - Dis.
IESO - Dis.
PUT - Ena.
BODEN - Ena. in hardware, SBOREN disabled
BODENV -2.0V
WDT - Dis. controlled by SWDTEN bit
WDTPS - 1:32768
CCP2MUX - RC1
PBADEN - PORT <4:0> cof. as analog inputs on RESET
LPT1OSC - Dis.
MCLRE - MCLR Disabled, RE3 Enabled
STVR - Ena.
rest fields are disabled.
If I change IESO filed for Enabled, PIC is alive, but refresh rate on LCD is very slow (about 6sec).
Any suggestion how to solve this probllem will be helpful.
Thanks in advance
HoH
Configuration Bits
Re: Configuration Bits
This means that your 10Mhz quartz is not working. check it, and its 2 capacitors.HoH wrote:Hi,
I have assembled floppy sd version. Now I am trying to program PIC18F4525 through PickKit2 clone and MPLAB IDE. I am little confused with configuration bits. If I take option "Configuration bits set in code" the programmed PIC is not working (black LCD display) Here are the config bits for soft ver. 0.0.6.0.:
OSC - HS-PLL enabled freq=4xFosc1
FCMEN - Dis.
IESO - Dis.
PUT - Ena.
BODEN - Ena. in hardware, SBOREN disabled
BODENV -2.0V
WDT - Dis. controlled by SWDTEN bit
WDTPS - 1:32768
CCP2MUX - RC1
PBADEN - PORT <4:0> cof. as analog inputs on RESET
LPT1OSC - Dis.
MCLRE - MCLR Disabled, RE3 Enabled
STVR - Ena.
rest fields are disabled.
If I change IESO filed for Enabled, PIC is alive, but refresh rate on LCD is very slow (about 6sec).
Any suggestion how to solve this probllem will be helpful.
Thanks in advance
HoH
Keep the original fuse configuration.
Re: Configuration Bits
Thanks Jeff,
That's right. Quartz was broken.
Thanks for help and great project.
HoH
That's right. Quartz was broken.
Thanks for help and great project.
HoH