T O P I C R E V I E W |
Adil |
Posted - 05/09/2008 : 09:59:43 Hello.
I am beginner on electronics. I am trying to program PIC16F84A using TOPWIN2005 USB programmer. I have made simple schema for flashing one led.(4MHz crystal). Now I want to program it. But it asks me about FOSC1,FOSC2,WDTEN,PWRITE, and many CPs. What I must do? Which of them I must check?
Thanks. |
1 L A T E S T R E P L I E S (Newest First) |
Adil |
Posted - 05/14/2008 : 09:45:12 I understand after looking datasheet of PIC16F84A.
bit 13-4 CP: Code Protection bit 1 = Code protection disabled 0 = All program memory is code protected bit 3 PWRTE: Power-up Timer Enable bit 1 = Power-up Timer is disabled 0 = Power-up Timer is enabled bit 2 WDTE: Watchdog Timer Enable bit 1 = WDT enabled 0 = WDT disabled bit 1-0 FOSC1:FOSC0: Oscillator Selection bits 11 = RC oscillator 10 = HS oscillator 01 = XT oscillator 00 = LP oscillator
For external crystal must be set RC(11-FOSC1 and FOSC2 must be checked.)For HS FOSC1 must checked and FOSC2 must be unchecked and so. :)
Now my blinking led works very well  |
|
|