--- Olin Lathrop wrote: > Ken Ouellette wrote: > > I just finish building the easyProgrammer. I am > now > > doing test. I was able to program a few chip with > a > > led blinking program. > > only that it blinks for a few seconds only, only > 10 > > sec with a 16F648 and about 30 with a F88. > > If PIC_PROG completed without errors then the bits > specified in your HEX > file are in the target chip, and the programmer is > probably working > correctly. PIC_PROG performs two verify passes, one > at each Vdd limit, so > the chance that the PIC is not programmed as > specified in the HEX file is > very very small when the program reports no errors. > > > Also how do I set the frequency using the > pic_prog.exe > > You don't. That is a function of your code and your > circuit. The > oscillator setup is specified in the configuration > bits, and your circuit > controls the rest. WOW , I worked all afternoon for a little blinking program. Until now i tried picbasic pro to hex, MikroC to hex. I tried 6 different programs in picbasic pro and 3 in MikroC. All do the same weird effect, They blink for about 3 seconds to 1 minutes, after that they stop. The loop is forever... the only one that worked is the hex file I downloaded from: http://www.voti.nl/blink/index_1.html#16F88 There must be something I do wrong.. here is the code in basic: loop: High PORTB.0 ' Turn on LED connected to PORTB.0 Pause 500 ' Delay for .5 seconds Low PORTB.0 ' Turn off LED connected to PORTB.0 Pause 500 ' Delay for .5 seconds Goto loop ' Go back to loop and blink LED forever End and in C: void main() { PORTC = 0; TRISC = 0; while(1) { PORTC = ~PORTC; Delay_ms(1000); } } can someone help me ?? there must be some other command to empty the memory or some other potential problem ken __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist