View previous topic :: View next topic |
Author |
Message |
Milentije89
Joined: 07 Apr 2017 Posts: 31
|
CCS C + PICKit3 + MPLABX debugger problem |
Posted: Mon Jun 25, 2018 2:22 pm |
|
|
Hi to all!
I have a problem. I am trying all day but I can not get it working.
CCS C 5.058
MPLAB X 4.20
PICKit 3
PICKit 3 works with MPLAB X without problems. Debugger is working in this combination. I can program MCU from MPLAB IPE. So, the problem is not in MPLAB X or PICKit 3.
Also, CCS C works great.
BUT! When I try to open debug (MPLAB X - PICKit 3) in CCS C it asks me to select the path to mplab_ide. I select the folder where the MPLAB X is installed but I get error. Then I checked where is the mplab_ide file and it was not in "root" folder of MPLAB X but one step deeper, so I changed the path to that folder. Again, I got the same ERROR. Screenshot is here so you can see what is where and what is happening.
https://imgur.com/a/RBdsmEj
How I can sort this out? Am I missing something?
BTW I installed setup_mctools.exe and setup_mplabx_plugin.exe.
TIA
Best regards,
Milos |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19500
|
|
Posted: Tue Jun 26, 2018 12:34 am |
|
|
I think your compiler is too old.
if you are running in MPLAB. You select it in MPLAB, and set CCS as the compile tool for this. This is what the MPLAB plugin supports.
Then on older compilers you could load 'real-ICE' driver which is what allows the CCS IDE to talk to the Pickit3. This is the mctools driver. This doesn't support MPLAB-X, but MPLAB.
<http://www.microchip.com/development-tools/pic-and-dspic-downloads-archive>
You can pull MPLAB 8.92 from here.
Then after compiler version 5.065, support was added to the compiler to directly interface in the same way to MPLAB-X and drive the MicroChip ICD's.
So I think your compiler version is too old to interface this way with MPLAB-X.... |
|
|
Milentije89
Joined: 07 Apr 2017 Posts: 31
|
|
Posted: Tue Jun 26, 2018 10:30 am |
|
|
A lot of complications. :D
Thank you for your answer, I will try it with newer version of CCS C.
Best regards,
M |
|
|
|