Hi everyone,

I got the PIC12F1572 and compile it with the PBP3.0.4.0
It runs properly when using INTRC, but with external oscillator it doesn't...
Although i set necessary configuration (ECH, Clock out pin ...) but still not working.
Note that i am just blinking an LED in the test.


DEFINE OSC 20
PORTA = %00000000
TRISA = %00001000
INTCON = %00000000
PIR1 = %00000000
PIE1 = %00000000
OPTION_REG = %00000000
T1CON = %00000000
T2CON = %00000000
WPUA = %00001000
ADCON0 = %00000000
ADCON1 = %00000000
ADCON2 = %00000000
ANSELA = %00000000
CM1CON0 = %00000000
CM1CON1 = %00000000
ODCONA = %00000000
PWM1CON = %00000000
PWM2CON = %00000000
PWM3CON = %00000000
DACCON0 = %00000000
DACCON1 = %00000000
CWG1CON0 = %00000000
CWG1CON1 = %00000000
CWG1CON2 = %00000000
CWG1DBF = %00000000
CWG1DBR = %00000000

clear

Main:

PORTA.2= 1
pause 100
PORTA.2 = 0
pause 900

goto Main



Does anyone can help ?

Thanks
Rony