I'm glad you have finally got your LED blinking. Everybody here shares the happiness with you. Just tell others why you are so happy seeing a LED blinks and people would say you are out of your mind.
gregmcc said:
Then tried the original blinking led code - its writes the same values everytime, but fails on verify. (on WinPicProg)
I've just downloaded a programmer called PicAllW - the original code and eblc1388's code programs and verifies 100%
Thanks for the results. I have checked them and found the error a liitle different to those previously mentioned. The data is shifted together with a 4 bits error.
The image shows the error location.
I'm afraid the problem is somewhere in between the communication of the PC and your programmer where there is a short break in programming activities. WinPicProg does not program the "empty" bytes so it is possible that the above error occurs during this time. By using a file with no gaps in it, I'm forcing WinPicProg to continously occuplying the CPU time without break so the programming is sucessful. The file works OK with PicAllW because all the bytes in the buffers, including those "3FFF" are being send to the PIC regardless so there is no break in the programming activities also.
This is only my guess. Yesterday, I have done some experiment too using the same file and WinPicProg on my PC. I cannot recreate the problem you've met and all the programming is sucessful. You can see the thread here:
This type of problems are common and happens with unique PC/OS/software combinations. Just sticks with one that works with your current setup and you are fine.
thanks for the excellent article (PIC programmer & WinPicProg: my findings) - some very useful info in there.
one of these days when I have more time I'll fiddle with the software/hardware and see if I can figure out whats causing the problems. I'll let you know what I find.
Thanks again for all your guys inputs - really appreciated.