News:

Let's find out together what makes a PIC Tick!

Main Menu

Alternative Programming pins PGC2/3 PGD 2/3

Started by diebobo, Jul 14, 2024, 09:47 PM

Previous topic - Next topic

diebobo

Hi,

I am using the 33CK devices and they have alternative programming ports beside PGC and PGD. The datasheets mentions the alternative ports can be used as regular programming ports, i don't need that. Does anyone know how it will affect programming using the Regular ports if a peripheral for example keeps the PGC2 or PGC3 high ?

John Lawton

#1
Notes for my Amicus 16B board (for 28 pin CK devices) say that the ICSP pairs are as follows:
Pair 1: PGD/PGC via pins 12 & 13
Pair 2: PGD/PGC via pins 14 & 15 *
Pair 3: PGD/PGC via pins 17 & 18 *

* denotes possible clash between pin functions.

I haven't used the CK parts yet, but the 28 pin dsPIC33EP parts I have used also have 3 pairs and any of the pairs can be used to program the devices. Note: PGD/PGC are referred to as (PGED/PGEC) in the datasheet.

The Amicus 16A board (for 28 pin EP etc devices) offers these pairs.
Pair 1: PGD/PGC  via  pins 4 & 5
Pair 2: PGD/PGC via  pins 14 & 15 *
Pair 3: PGD/PGC via pins 17 & 18 *

* denotes possible clash between pin functions.

I assume the inbuilt peripheral devices won't affect programming because the device will go into programming mode like any other PIC.

John