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 support@ccsinfo.com

CCS support for PKoB4?

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



Joined: 30 May 2023
Posts: 12

View user's profile Send private message

CCS support for PKoB4?
PostPosted: Mon Oct 09, 2023 11:50 am     Reply with quote

I've been using a Curiosity High Pin Count dev. board (PKoB4) with MPLAB X, but wondered if anyone is successful using it with CCS C IDE? Pointers on getting started?
Thanks.
Ttelmah



Joined: 11 Mar 2010
Posts: 19215

View user's profile Send private message

PostPosted: Tue Oct 10, 2023 3:28 am     Reply with quote

There is nothing special about the HPC board in terms of using it with CCS.
What matters (much more important), is what processor chip?.
There is one issue if you are using the built in programmer on the board,
in that this only supports LVP. You must set this in the fuses for the code.
MPLABX will refuse to program code with the PKOB, unless this fuse is set.
Select the PKOB option both for the programmer and the ICD options in
MPLAB.
ncdoody



Joined: 30 May 2023
Posts: 12

View user's profile Send private message

PostPosted: Thu Oct 12, 2023 12:26 pm     Reply with quote

Still trying to use the PKoB4.
Regarding the LVP, do you mean I need to just set the LVP fuse in the code where I set other fuses?
Had also seen something about using #device icd=true
Do I need this?
Ttelmah



Joined: 11 Mar 2010
Posts: 19215

View user's profile Send private message

PostPosted: Fri Oct 13, 2023 5:59 am     Reply with quote

Yes, and no.

Yes you must set the LVP fuse.

You only need the ICD=TRUE if you are using ICD. Not otherwise.
If your chip supports multiple ports for the ICD, you'd probably want

#device ICSP=n

Where 'n' is the port the unit makes connection to.
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