Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
So I'm thinking that my communications problems with a target PIC16F877A may be because I'm using a 9V through a 7805 (it may even be a 78S05) to supply external power. I can read, apparently, but not write or erase; could it be that the 9V can't pull enough current?
This is a bit of an ongoing issue. I'm using a JuneBug to program a target PIC16F877A. Currently we were just trying to write some arbitrary code to it to make sure communications is working - and READ and VERIFY in PICKIT2 and MPLAB seem to work, but any time I attempt to WRITE or ERASE/BLANK CHECK the PIC, I get an error.
Initially I thought that the JuneBug wasn't able to supply sufficient power, so I have since attempted to supply an external 5V with a 9V battery and 7805. However, it still isn't working. We're going to be trying a different PIC16 this afternoon to see if the PIC is somehow the issue.
Picture attached, as given to me by another helpful forum member. This is the entire circuit at the moment, with VPP supplied as 12V by the Junebug, and VDD coming off the 7805 and also connected to the Junebug, likewise with VSS tied to ground, and then data (PGD) and clock (PGC) coming from the junebug.
Note that both VDDs and VSSs are jumped together.
Is this circuit sufficient?
Edit: These ofc ourse correspond to the 5 pins on the JuneBug ICD - VPP to VPP, VDD to +5V, VSS to GND, data to PGD and clock/clk to PGC.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.