I just purchased some 12f683 and can't get them to program.
I am using PBP 2.46 and melabs programmer v3.3 beta.
My programmer is Epic Plus.
I have verified that the programmer is working. I programmed a 16f628 with no problems.
I keep getting "Code programming error at 0000."
My code is as follows
@ DEVICE INTRC_OSC, MCLR_off, PROTECT_OFF, WDT_OFF
OSCCON = %110 ' Set OSC TO 4MHZ
CMCON0 = 7 ' Comparators off
ANSEL = 0 ' A/D OFF -- Port pins all digital
TRISIO = %000000 ' All I/O outputs
GPIO = %00000000 ' All 0 on boot
LED VAR GPIO.0
START:
LED = 1
PAUSE 500
LED = 0
PAUSE 500
GOTO START
Bookmarks