View previous topic :: View next topic |
Author |
Message |
soonc
Joined: 03 Dec 2013 Posts: 215
|
CCS ICDU64 and MPLAB ? |
Posted: Wed Oct 07, 2015 8:49 pm |
|
|
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
|
|
Posted: Wed Oct 07, 2015 10:34 pm |
|
|
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
|
|
Posted: Thu Oct 08, 2015 9:36 am |
|
|
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. |
|
 |
|