Hi Everyone;
Thanks for your thoughts in getting me started with my Epic Programmer. I believe Picmate was looking in the wrong directory for the Epic so I switched to Microcode Studio, use it to write a hex file and then open Epic to load the hexfile into my chip.
I say BELIEVE, because the Pic still won't work.
EPIC appears to program and verify the 16F876 chip....but when I transfer it to my breadboard --- NOTHING.
I'm using a simple blink the LED program, listed here:
symbol LED = 0 'Rename pin 0 of portb (PIC 16F876 pin 21) to LED
TRISB = %00000000 'Setup port b as RB7-RB1 outputs, RB0 as output
main: 'Label for beginning of main loop
High LED 'Set pin 0 of portb high (5 volts) which turns the LED on
pause 1000 'Pause 1000 milliseconds (1 second) with LED on
Low LED 'Set pin 0 of portb low (0 volts) which turns the LED off
pause 1000 'Pause for 1 second with LED off
goto main ' Jump to the main label and do it again
END
I have quadrupled checked my connections on the breadboard with two different chips and I still get nothing. Tried two different crystals. Two different 5v sources. The logic probe indicates I've got 5v at all the correct places, and ground at all the right places, but the LED still won't blink ( yes I've tried reversing the leads. No dice)
And strangely, my logic probe records a high on RC6. Which is strange since I don't think I've bothered with Port C in any way.
Is there some configuration I haven't set? Is it possible the EPIC programmer only THINKS it's programmed the chip? Or have I found a brand new way to be confused?
ANY THOUGHTS would be appreciated since I would really like to get on with building the strange lights to frighten the villagers.
cheers
MacQ
Bookmarks