Questions tagged [pickit]

The PICkit is a low-cost programmer/debugger from Microchip for the PIC-architecture.

Links: dedicated Microchip homepage

120 questions
17
votes
4 answers

Is it possible to use AVR ISP programmer to program a PIC chip?

I want to try programming a PIC chip and just see, how much different it is compared to an AVR. I've got an AVRtinyISP and would like to know, if it would be possible to use that to program a PIC chip at all? What would limit me from doing…
Andrei Sosnin
  • 293
  • 1
  • 3
  • 8
9
votes
2 answers

PIC programming through FPGA

I would like to know if there is a way to program a PIC for the first time (write in Flash) through an FPGA card. The PIC is already soldered to the FPGA and I can't remove it. No bootloader exists on the PIC. Thus I need to program it in USART /…
Myst
  • 91
  • 3
8
votes
3 answers

How do I program a PIC12?

I have a PIC12F675 that I need to program. I'm using a Pickit 2 and the Pickit 2 software. Supposedly I should be able to program it using this circuit, but the Pickit 2 software is not detecting the chip at all. What's going wrong? EDIT: I've…
Willem Ellis
  • 327
  • 2
  • 3
  • 10
7
votes
6 answers

Failed to get Device ID - PICkit 3 & PIC16F684-ICD & AC16205

Like it is already mentioned in the title I have question regarding this dev stack: MPLAB X IDE v1.80 PICkit 3 PIC16F684-ICD (datasheet) AC16205 There is image of how things are connected (I don't think there is a problem): Powering…
PrimosK
  • 296
  • 1
  • 4
  • 20
7
votes
3 answers

What is the difference between Microchip and ICD and PICKit?

I understand that Microchip has In-Circuit debuggers (ICD) which gives insight into a running PIC (or dsPIC for that matter) in real time. Then we have the ICE which goes a step ahead by replacing the microcontroller within the board and emulate it.…
quantum231
  • 11,218
  • 24
  • 99
  • 192
4
votes
0 answers

Mplab X IDE insists I'm trying to change protected boot memory even though all CodeGuard options are disabled

I'm new to this whole thing, so forgive me if I'm missing something obvious, but the only relevant thing I could find is over 9 years old, using a different programmer and different PIC. I'm using MPLAB X IDE v5.35, trying to program a dsPIC30F6015…
user1999728
  • 141
  • 2
4
votes
5 answers

How to get a PIC32 SPI port working for transmitting data?

I am looking to get a SPI serial port running on a PIC32 (PIC32MX360F). can anyone point me to some good resources on how to do this so that a newbie can figure it out? I am using the PIC32 starter kit and have a PIC32 breakout board from…
Richard
  • 504
  • 1
  • 4
  • 17
4
votes
1 answer

PIC18F4520 ADC Conversion in MC18

I have a dilemma. I need to read ADC values from PIC18F4520. My configuration, and code, is as follows: #define OSC INTIO67 int adc_result = 0; void main(void) { OSSCON = 0x70; //Set it as 8Mhz. OSCTUNEbits.PLLEN = 1; //Enable PLL 4x…
Buhake Sindi
  • 241
  • 3
  • 14
4
votes
3 answers

MPLAB 8: Hotkey for "Program Target Device"

I am looking for a hotkey that will have the same effect as "Program Target Device" from the toolbar or menu. Programming Target (4/7/2012 7:55:43 AM) PIC24F16KA101 found (Rev 0x8) Erasing Target Programming Program Memory (0x0 - 0x143F) Verifying…
BrianV
  • 550
  • 6
  • 13
4
votes
2 answers

Programming PIC with PICkit3 - do I need enabled MCLR?

I'm working with PIC12F629. It has 8 pins (6 for I/O). I need to use MCLR pin as input pin (for a button), so I have to disable MCLR (I guess). After first programming I want to be able to program microcontroller again. Datasheet says, that…
Kamil
  • 5,926
  • 9
  • 43
  • 58
4
votes
3 answers

RxTx communication with multiple slaves using a RaspberryPi

I am a programmer trying to build a circuit with limited EE knowledge. With so many options(at least being new to this), just want to make sure I am going down the right path. What I am trying to build is a master device with a RaspberryPi and many…
VirtualLife
  • 141
  • 2
3
votes
6 answers

MPLABX + PICKit 2 programmer could not be started

I'm working on getting a basic LED flashing program loaded onto a PIC12F615. I'm getting the following error when attempting to read or write to the device from within MPLABX: The programmer could not be started: Could not connect to tool …
jncraton
  • 143
  • 1
  • 1
  • 5
3
votes
1 answer

How to erase PIC microcontroller?

Sorry for such "noobish" question but I've tried to help my son with learning PIC programming. I load some simple asm source into MPLAB and pressed "make and program device main project". IDE build source and shot it into PIC12F629, program started,…
Alex
  • 320
  • 4
  • 10
3
votes
2 answers

How debug Atmega2560 with PICkit 4? (Arduino Mega board)

I own a brand new PICkit 4, and I'm trying to get a debug session working. This is what I did: 1. Cut reset pin from the USB-UART programmer. There is a Reset EN pad that can be cut off to isolate the USB-UART programmer and only use the reset pin…
3
votes
3 answers

PICKIT 2 verification failed at memory address 0x0000

I have been using a DSPIC30f4011 for two days but suddenly I am no longer able to program the chip again. The message I am getting: Failed to verify at programming address 0x0000 (when I click the Verify button). Failed to program at programming…
Timtianyang
  • 521
  • 2
  • 6
  • 16
1
2 3 4 5 6 7 8