Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Yes you can.Hi, I would like to know can I just connect the wires from the Pickit 2 directly to the pins on my Microcontroller? Must I add a pull up resistor or something? I tried to connect the wires directly but I couldn't program it.
The pullup is for when you try to run the circuit without the PICkit 2 connected. Keeps the reset pin from floating, which can cause random resets. As long as the PICkit 2 is connected it controls the pin. So it's just a good habit to get into.Whats the pull-up for - I regularly connect my pickit2 directly to my breadboarded circuits and they work fine - apart from the times I connect the pins the wrong way round (i really need a keyed socket )
It connects then? If so then try an erase. If all seems normal, program the chip with your hex file and continue.Hi fut, thanks for the verification. I connected as instructed and did a Blank Check on my device using the pickit 2 Programmer. However, it stated "Program Memory is not blank starting at address 0x00000"
I tried to program using the MPLAB Programmer. It shows the following error when I select Pickit2 as the programmer.It connects then? If so then try an erase. If all seems normal, program the chip with your hex file and continue.
Then it's not connecting. Trying to write is pointless until it does.I tried to program using the MPLAB Programmer. It shows the following error when I select Pickit2 as the programmer.
PKWarn0003: Unexpected device ID: Please verify that a PIC16F877A is correctly installed in the application. (Expected ID = 0xE20, ID Read = 0x0)
I can't tell anything from that jumble of wires. I would have to see the PICkit 2 end as well. You should try to get in the habit of wiring your breadboard more like **broken link removed**. Check out one of Pommie's breadboards if you want to see REALLY neat. Mine look sloppy beside his.I tried to wire my P16F877A like this:
Umm... Why would you connect MCLR to ground?? As long as MCLR is held low the PIC is in reset. Reset means nothing happens until that pin goes high again. Put a pullup resistor (10K to 33K) from MCLR to VCC (5 volts) to make sure MCLR stays high.I tried using the Pickit2 programmer and checked for blank. It Displayed "Device was blank" until I connected the MCLR to ground then after that it coundn't work.
Is that a resonator over at the left there? Keep the wires to it as short as possible!.I tried to wire my P16F877A like this:
I've checked the connection for the PGC and PGD. I've also checked for shorts on the wire itself.
I would add the 2 missing bypass caps. Check for shorts on the header that connects to the PICkit2.
Would you mind explaining this sentence?
Would I be able to do fine without the capacitors at the moment? I would still be able to program right?