Yes, the PIC16F877A is working, you only have to take care with the JDM programmer. This chip has a special setup, and you need to increase the IO delay to 20 in order to lower the programming voltage.
why don’t you just order the regular pic16f877-20 (20 means 20 mhz, make sure you order a 40 pin version, P and I/P just refer to the temperature range, I/P is for hotter environments I think. Both will work in a midibox) from microchip? Order a pic18f452 while you are at it, for future upgrades. (and a bankstick chip) Even though you will wait for your free sample, you will be building the rest of it while you wait anyway.
Thanks for those additional details, it really helps
As for the 16f877-20 it wasnt available as a free sample so that’s why I took the other… I could’ve ordered it but I’m not really good in electronics so I prefer to “practice” on free chips
I got my samples from Microchip after 2 weeks, even though they said 4 months, so worth going for even if you think your box will be finished by the time they arrive.
I got a free sample… including pic16f877-20, and I live in Australia, that was about 2-3 months ago max… There is a microchip office in Epping, Sydney. (though I ordered from the website, took 2 months to arrive!!)