But...from my previous documentation I think this looks more right (that these are the pins in use).
vss ground
mclr Vpp
pgc
pgd
vdd target
That would likely mean that an actual programmer is in use vs a bootloader.
- The original firmware or bootloader-files or whatever the hell it is that I have (the BIN-files with the various firmwares).
- The original firmware update utility for the boards I want to update.
I also know the type of programmer that was originally used, but I don't have it myself.
If those cases hold true, then you shouldn't have any problem...unless...the programmer being used had a specific modification, along with the target board having a specific modification, which would disallow any standard programmers to work.
K, bootloader vs firmware vs whatever-the-hell...a quicky...
If you've got a full copy of the firmware, you've got the whole thing.
It's kinda like having a "dumbass" in the next room, and you have to give him a task to do. Problem is, he's a "complete dumbass", so you gotta tell him step-by-step-by-freeking-step every little bitty thing to do.
If you've got a firmware that requires a bootloader, you've only got a part of the whole thing.
Using the same analogy, it's kinda like having a smart kid from next door. He knows how to do stuff, just needs to know the title of what needs to be done.
Similarly (and this is one scenario of many), if you've got a bootloader and firmware (the program that normally runs) already programmed into the PIC, upon power-up, this bootloader will wait X number of seconds for a specific sequence to come across some set of pins...whether it's something down the serial port, or a certain pin combination, or whatever, it'll wait for it. If it sees this sequence, it'll jump to a different mode which will overwrite the main program with whatever program comes down the lines. When it's finished writing that code, it starts it up.
If you've got firmware without a bootloader, it starts up and runs. That's it. It doesn't necessarily wait for anything to come along and change it...It just runs.
If you've got a PIC that HAD a bootloader and firmware, but you overwrote the bootloader and/or firmware with something else, the "programmer" may or may not know about this (sounds like it doesn't) and just go duhhhhhhhhhhhhhh.......and it's game over.
A bootloader is just a small subset of the complete firmware that makes other stuff happen independently of the main program.
You said you were using a PICKIT3?
Some people swear by it, some swear at it. I used to swear at it loudly. Since the newer firmware for the PICKIT3 has come out, I still swear at it, but not as much.
If you can, I'd try to get your hands on a PICKIT
2. It was around "back in the day" when the 16F877A was more popular and might be a bit more adept at programming it. Sounds almost stupid I know, but that's the way it is.
It would still help if we knew WHAT this magical piece of hardware you are dealing with is...for that matter, anything else.
This cloak and dagger stuff ain't the way this game is played. It ain't my job to figure out what you're trying to do. It's your job to feed us any information you can about what you're trying to do so we can best help you.