Hi All,
I have been using PBP for years with my trusty EPIC programmer. Finally with no more parrallel ports I deciced to buy a PICKit 2.
I wrote a simple code using SEROUT2 and a flashing led. When I programmed the PIC16F877A using EPIC it worked perfectly, when I used that same hex file and programmed using PICKit 2 it didn't.
I then programmed the PIC using the EPIC and when it was working I read the HEX file from the PIC using the PICKit 2 and saved the file with another name. Now if I use that code and program the pic using PICKit 2 it works perfectly but if I use the code straight from the compiler assembled with PM or MPASM it doesn't work.
Anyone got any ideas? One difference I saw when I programmed was that the read code took longer to program than the code from the assembler. I have attached the two hex files (one that was written and programmed with EPIC and the other that was read and programs using PICKit2.
Also I attached the little pic code
Thanks Chris
Bookmarks