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

Debugging with ICD3 in MPLAB X with CCS

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



Joined: 13 Feb 2008
Posts: 7

View user's profile Send private message

Debugging with ICD3 in MPLAB X with CCS
PostPosted: Wed Jan 25, 2012 5:46 pm     Reply with quote

Hi all,

I've been using the new MPLAB X IDE for a few weeks now, and I've been really happy with a lot of its functionality. I just ran into a problem, however, when trying to debug a project I'm working on. I'm working with a PIC24FJ256GB106 (PCD compiler). My project can debug without a problem when using MPLAB 8, but when I try and debug in MPLAB X, I get an error message in the ICD3 window that says:

Connecting to MPLAB ICD 3...
Firmware Suite Version.....01.26.92
Firmware type..............dsPIC33F/24F/24H
Target detected Device ID Revision = 3
Programming...
Programming/Verify complete
The target device is not ready for debugging. Please check your configuration bit settings and program the device before proceeding.

I definitely have my configuration bits set up properly (as I said, it works in MPLAB 8), and I have the compiler set up to generate a .COF debug file. Also, I don't have any problems programming in MPLAB X using the "Make and program device" function - it's just when I try to debug.

Has anybody out there had a similar issue? Any ideas?
drolleman



Joined: 03 Feb 2011
Posts: 116

View user's profile Send private message

PostPosted: Fri Jan 27, 2012 8:45 pm     Reply with quote

I can't do much with mplab x either. Most chips don't program / debug properly. What Microchip calls release I'd call alpha to beta release. It seems the managment has put pressure to put it to release status. I'm sure if you asked the programmers of mplab x they wouldn't call it a release. It really is a early beta release. It has promise but for now just use mplab.
ivanbraga



Joined: 05 Nov 2007
Posts: 2

View user's profile Send private message

PostPosted: Fri Jan 27, 2012 9:40 pm     Reply with quote

Hi.

Have you tried changing the drive with the "MPLAB driver switcher".
orangeshasta



Joined: 13 Feb 2008
Posts: 7

View user's profile Send private message

PostPosted: Mon Jan 30, 2012 1:37 pm     Reply with quote

Yes, I've tried using the "driver switcher". As I said, I've got no problem programming the chip - it's only when I try to use the debugger.

Thanks!
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Tue Jan 31, 2012 12:06 am     Reply with quote

Did you check, if debugging works O.K. with native MPLAB? Are you sure about correct ICSPx fuse set?
orangeshasta



Joined: 13 Feb 2008
Posts: 7

View user's profile Send private message

PostPosted: Tue Jan 31, 2012 8:55 am     Reply with quote

Hi,

Yes, I'm positive that my fuses are set properly. Debugging works just fine in MPLAB 8.

Thanks,
Bob
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