seyyah
Advanced Member level 2

icsp with icd2
I'm using icd2. I never connected it to an external application except microchips demoboard. I will design a new application. I want it to be icd2 debuggable and programmable. Microchip shows the connection between icd2 and application as shown in the picture but i have some questions in my mind:
1- We use 5 pins: VDD, VPP/MCLR, PGC, PGD and VSS. During programming or debugging do we separate any of these pins from the application? If so which pins?
2- I'm using the following(reset.gif) circuit for mclr pin. Can't i use this with icd2?
3- Must i sacrifice any of the pins for icd2 connection?
Shortly what is the best choice to connect my application to the icd2?
I also don't know what bootloader is? Is it a program that allows the chip to be programmed with only 2 pins instead of 5? What's the condition for dspic? I read that dspic can program itself. If so does it need a bootloader? How can it be programmed and debugged while the chip is on the application board?
I'm using icd2. I never connected it to an external application except microchips demoboard. I will design a new application. I want it to be icd2 debuggable and programmable. Microchip shows the connection between icd2 and application as shown in the picture but i have some questions in my mind:
1- We use 5 pins: VDD, VPP/MCLR, PGC, PGD and VSS. During programming or debugging do we separate any of these pins from the application? If so which pins?
2- I'm using the following(reset.gif) circuit for mclr pin. Can't i use this with icd2?
3- Must i sacrifice any of the pins for icd2 connection?
Shortly what is the best choice to connect my application to the icd2?
I also don't know what bootloader is? Is it a program that allows the chip to be programmed with only 2 pins instead of 5? What's the condition for dspic? I read that dspic can program itself. If so does it need a bootloader? How can it be programmed and debugged while the chip is on the application board?