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 support@ccsinfo.com

CCS ICDU64 and MPLAB ?

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



Joined: 03 Dec 2013
Posts: 215

View user's profile Send private message

CCS ICDU64 and MPLAB ?
PostPosted: Wed Oct 07, 2015 8:49 pm     Reply with quote

The saga moves on.

I'm trying to get PIC24FJ128GA306 to do oscillator switching in debug mode.

I got the MicroChip ICD-3 as I'm told it can (may) switch oscillators while in debug mode.

I installed MPLAB 8.92 (recommended rather than MPLAB-X) and setup the CCS plug in.

I have loaded my project, compiled, but then MPLAB complains

Target Detected
ICD3Err0086: Target Device ID (fff80000) does not match
expected Device ID (46c20000). If you experience persistent
problems communicating, the ICD 3 test interface can be
used to help diagnose the problem.

Prior to using the ICD-3 I was using the ICDU-64 successfully doing a lot of debugging (until this clock switching issue popped up) and as the ICD-3 and ICDU-64 use the same RJ pin out, so I expected the debugger to run the code.

Just to test my setup I loaded my project in PCWHD and can still run the code with the ICDU-64 so I'm convinced the wiring is good.

Power is clean and in MPLAB Menu/Debugger/Settings/Status the Voltages are:-

ICD 3 VPP 3.25
ICD 3 VDD 3.45
Target VDD 3.29

Any tips as to what I'm doing wrong would be appreciated.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Oct 07, 2015 10:34 pm     Reply with quote

Your title is misleading. Your post is about ICD3 and MPLAB.

Check the ICD3 poster.
http://ww1.microchip.com/downloads/en/DeviceDoc/DS-51765C.pdf
Make sure you do everything it says to do, and not to do.
- MCLR resistor between 4.7K and 10K. (10K is the usual value).
- AVdd and AVss pins connected to power and ground on the PIC.
- No components connected to the PGC and PGD pins on the PIC.
- First test it with MPLAB set to Release mode. Then try it in Debug mode.
- Check all connections with an ohmmeter.
- Test the ICD3 with the included self-test header.
- Use as short a cable as possible between the ICD3 and the PIC.

If that doesn't work, enter a trouble ticket on the Microchip forum.
soonc



Joined: 03 Dec 2013
Posts: 215

View user's profile Send private message

PostPosted: Thu Oct 08, 2015 9:36 am     Reply with quote

PCM programmer wrote:
Your title is misleading. Your post is about ICD3 and MPLAB.

Check the ICD3 poster.
http://ww1.microchip.com/downloads/en/DeviceDoc/DS-51765C.pdf
Make sure you do everything it says to do, and not to do.
- MCLR resistor between 4.7K and 10K. (10K is the usual value).
- AVdd and AVss pins connected to power and ground on the PIC.
- No components connected to the PGC and PGD pins on the PIC.
- First test it with MPLAB set to Release mode. Then try it in Debug mode.
- Check all connections with an ohmmeter.
- Test the ICD3 with the included self-test header.
- Use as short a cable as possible between the ICD3 and the PIC.

If that doesn't work, enter a trouble ticket on the Microchip forum.


Brief but Not misleading.

I submitted a ticket.

I prefer CCS PCWHD and am only doing the ICD-3 to get this project moving. I hope CCS will soon get the PIC24 chips to do Clock Switching!

Thanks for your suggestions.
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