yohanevindra
New Member
I've been using PICs with the PICDEM board, and thought i'll start using with a PICkit2/3 on a breadboard.
I have my own power supply of 5V which is regulated using a LM7805, and connected the Vdd and Vss of the PIC, and made the connections from the PICkit2 to the PIC. (I had the diagram from the PICkit3, so I assume its the same?)
After powering up the device and connecting it to the PC, when I try to run my program I get an error telling me that the PICkit2 cant enter debug mode. I dont have an external oscillator..
I have a 4MHz crystal but didnt fix it since I dont have the proper capacitors to connect it with as stated in the datasheet. Also, how do i know which oscillator mode to run the PIC with?
The sheet with the PICkit3 says that I need an oscialltor to enter debug mode..is that the same for the PICkit2?
EDIT: I still want to know how to get to work in debug mode, but i used it as a programmer, and then i disconnected it from the PIC. and then I disconnected the power, and switched it back on to the PIC. Its a simple program jus to light two LEDs on. After connecting the power, it took about a second or 2 to light the LEDs. Is that normal?
I have my own power supply of 5V which is regulated using a LM7805, and connected the Vdd and Vss of the PIC, and made the connections from the PICkit2 to the PIC. (I had the diagram from the PICkit3, so I assume its the same?)
After powering up the device and connecting it to the PC, when I try to run my program I get an error telling me that the PICkit2 cant enter debug mode. I dont have an external oscillator..
I have a 4MHz crystal but didnt fix it since I dont have the proper capacitors to connect it with as stated in the datasheet. Also, how do i know which oscillator mode to run the PIC with?
The sheet with the PICkit3 says that I need an oscialltor to enter debug mode..is that the same for the PICkit2?
EDIT: I still want to know how to get to work in debug mode, but i used it as a programmer, and then i disconnected it from the PIC. and then I disconnected the power, and switched it back on to the PIC. Its a simple program jus to light two LEDs on. After connecting the power, it took about a second or 2 to light the LEDs. Is that normal?
Last edited: