View previous topic :: View next topic |
Author |
Message |
ncdoody
Joined: 30 May 2023 Posts: 12
|
CCS support for PKoB4? |
Posted: Mon Oct 09, 2023 11:50 am |
|
|
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: 19510
|
|
Posted: Tue Oct 10, 2023 3:28 am |
|
|
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
|
|
Posted: Thu Oct 12, 2023 12:26 pm |
|
|
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: 19510
|
|
Posted: Fri Oct 13, 2023 5:59 am |
|
|
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. |
|
|
|