Hi!
I'm new with PIC but I can easily program I2C EEPROM from PCB.
But for the PIC, I get no life signs. It looks like nothing works...
For my 16F628A PIC, I made a simple circuit based on:
http://walter.schreppers.com/files/f..._schematic.gif
This is a LED Flash programs:
program myprog
main:
CMCON=%00000111
OPTION_REG = $80 ' Regs config: No pull-up '
trisa = $FF ' PortA Out '
trisb = 0
boucle:
PORTA = $FF
Delay_ms(1000)
PORTA = not PORTA
Delay_ms(1000)
goto boucle
end.
And it is programmed with WINPIC800.
My fuses are set with no external clock or MCLR, and I've tried WDT On or Off. My current is USB power (~ 4.7V). I've tried a lot of capacitors (From 1n to 100n).
And nothing is working!
I'm new with PIC but I can easily program I2C EEPROM from PCB.
But for the PIC, I get no life signs. It looks like nothing works...
For my 16F628A PIC, I made a simple circuit based on:
http://walter.schreppers.com/files/f..._schematic.gif
This is a LED Flash programs:
program myprog
main:
CMCON=%00000111
OPTION_REG = $80 ' Regs config: No pull-up '
trisa = $FF ' PortA Out '
trisb = 0
boucle:
PORTA = $FF
Delay_ms(1000)
PORTA = not PORTA
Delay_ms(1000)
goto boucle
end.
And it is programmed with WINPIC800.
My fuses are set with no external clock or MCLR, and I've tried WDT On or Off. My current is USB power (~ 4.7V). I've tried a lot of capacitors (From 1n to 100n).
And nothing is working!