Michael Wakileh
- 17th July 2007, 19:49
Hi, I'm a new to Pic programming and I have some questions reguarding IDE's, PBP, and WRITING to the CONFIG registers.
I've just aquired a PICkit2 Debug Express Programmer and microchip's low pincount demo board with a 16f690. Unfortunately the pickit2 burning software can't change the configuration word directly.
I would like to use INTOSCIO mode on PIC16f690 (use internal oscillater to save 2 pins for other use), thus (besides the OSCCON register) I must set FOSC<2:0> bits of the Configuration word to %100.
I have not found any detailed coding information on setting the Config word, and would be greatful for any advice or links to good information.
In particular i am wondering if there are any defines or includes that I should know of, or if the config word can be set directly in hex or binary using assembly or pbp.
I'm not sure if its relevant to my problem, but I am currently testing Microcode Studio as the IDE...and have not gotten a chance yet to look at MPLAB.
Any help is greatly appreciated....
I've just aquired a PICkit2 Debug Express Programmer and microchip's low pincount demo board with a 16f690. Unfortunately the pickit2 burning software can't change the configuration word directly.
I would like to use INTOSCIO mode on PIC16f690 (use internal oscillater to save 2 pins for other use), thus (besides the OSCCON register) I must set FOSC<2:0> bits of the Configuration word to %100.
I have not found any detailed coding information on setting the Config word, and would be greatful for any advice or links to good information.
In particular i am wondering if there are any defines or includes that I should know of, or if the config word can be set directly in hex or binary using assembly or pbp.
I'm not sure if its relevant to my problem, but I am currently testing Microcode Studio as the IDE...and have not gotten a chance yet to look at MPLAB.
Any help is greatly appreciated....