PDA

View Full Version : Configuration bits setting problem



financecatalyst
- 25th August 2009, 19:46
I am using PICBASIC Pro complier from my little/simple codes. I am using MPLAB IDE to write my programs. Problem is that when I set configuration bits in the bits setting window, complile the program, the settings change automatically.
What I am trying to do is:

Oscillator: Internal RC no clkout
Watchdog Timer: On
Power Up timer: on
Master clear: INternal
C.protect : on
D. protect : On
BOD enabled, Sboren disabled
Monitor clock: enabled
wake-up reset: disabled

After I click on complile button after changing the settings to the above: what I get is the following:

Oscillator: Internal RC no clkout
Watchdog Timer: On
Power Up timer: off
Master clear: Internal
C.protect : on
D. protect : On
BOD enabled, Sboren disabled
Monitor clock: enabled
wake-up reset: disabled

My question is how I can enable Power up timer?

Thanks

Acetronics2
- 25th August 2009, 19:56
Hi,

In the Config window upper part ...

UNselect " Configuration Bits set in code " ...

That's all !!!

Alain

financecatalyst
- 26th August 2009, 05:19
Hi,

In the Config window upper part ...

UNselect " Configuration Bits set in code " ...

That's all !!!

Alain

I did that, but this time I left it unchecked and compiled again, again after compilation it changes to power up timer = OFF.

fratello
- 26th August 2009, 15:40
PIC12C50x don't have a "power up timer". Maybe You use this PIC...

financecatalyst
- 26th August 2009, 15:55
It is sorted now!
All I had to do is make changes in 12f635.INC file.
Thanks for the answers anyways

mackrackit
- 26th August 2009, 17:25
You might find this helpful.
http://www.picbasic.co.uk/forum/showthread.php?t=543