View previous topic :: View next topic |
Author |
Message |
orangeshasta
Joined: 13 Feb 2008 Posts: 7
|
Debugging with ICD3 in MPLAB X with CCS |
Posted: Wed Jan 25, 2012 5:46 pm |
|
|
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
|
|
Posted: Fri Jan 27, 2012 8:45 pm |
|
|
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
|
|
Posted: Fri Jan 27, 2012 9:40 pm |
|
|
Hi.
Have you tried changing the drive with the "MPLAB driver switcher". |
|
|
orangeshasta
Joined: 13 Feb 2008 Posts: 7
|
|
Posted: Mon Jan 30, 2012 1:37 pm |
|
|
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
|
|
Posted: Tue Jan 31, 2012 12:06 am |
|
|
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
|
|
Posted: Tue Jan 31, 2012 8:55 am |
|
|
Hi,
Yes, I'm positive that my fuses are set properly. Debugging works just fine in MPLAB 8.
Thanks,
Bob |
|
|
|