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

CCS C + PICKit3 + MPLABX debugger problem

 
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go
View previous topic :: View next topic  
Author Message
Milentije89



Joined: 07 Apr 2017
Posts: 31

View user's profile Send private message

CCS C + PICKit3 + MPLABX debugger problem
PostPosted: Mon Jun 25, 2018 2:22 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Jun 26, 2018 12:34 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Jun 26, 2018 10:30 am     Reply with quote

A lot of complications. :D

Thank you for your answer, I will try it with newer version of CCS C.

Best regards,
M
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go 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