CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC 24 series ICSP

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
hello188



Joined: 02 Jun 2010
Posts: 74

View user's profile Send private message

PIC 24 series ICSP
PostPosted: Fri Aug 23, 2013 6:14 pm     Reply with quote

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: 1346

View user's profile Send private message

PostPosted: Fri Aug 23, 2013 7:50 pm     Reply with quote

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).
hello188



Joined: 02 Jun 2010
Posts: 74

View user's profile Send private message

PostPosted: Sat Aug 24, 2013 1:32 am     Reply with quote

Thank you!!

I appreciate it.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group