hello188
Joined: 02 Jun 2010 Posts: 74
|
PIC 24 series ICSP |
Posted: Fri Aug 23, 2013 6:14 pm |
|
|
Hi.
I am trying to migrate from PIC 18 to PIC 24 series.
On PIC 18 series, there are only one designated programming pair for ICSP.
However, on PIC 24 sereis, there are multiple pairs of programming pins.
So, on PCB design, can i assign any pin pairs to programming ports of
ICD3?
In other words, can i use (PGED1 + PGEC1), (PGED2 + PGEC2) or (PGED3 + PGEC3) for programming?
I am confused because on PIC24EP32GP204, there are ICSP1, ICSP2, ICSP3 fuse bits, and if the default fuse bit was ICSP1, and i designed circuit to use PGED2+PGEC2 pair, i won't be able to reprogram fuse bits to ICSP2.
Thank you |
|
jeremiah
Joined: 20 Jul 2010 Posts: 1345
|
|
Posted: Fri Aug 23, 2013 7:50 pm |
|
|
Barring any special chip errata, you can use any of the pairs you want for programming with no changes to your code. The PIC24's will look for programming from all 3 interfaces. If you wish to debug/emulate, you need to set the fuse for which pair you are using on however (that's what those 3 fuses are for). |
|