Charles,
Yes, I've done it. Nothing difficult about it - but there are quite a number of steps and settings that if incorrect will stuff up the de-bug.
I first tried it without paying much/any attention to the Microchip docs - and failed.
Next, I slowly worked my way through the Microchip example and got the hang of it.
There is a microchip list of 'common ICD2 mistakes' that is useful.
I've not done it for a few months so my memory is a bit hazy. However, the common errors that I made were:
1. The ICD2 MUST have it's own 5volt supply in de-bug mode.
2. The target MUST have it's own supply.
3. The sequence of powering up the ICD2 and Target board matters.
4. The ICD2 must be switched from 'Programmer' to 'De-bug'.
5. Single step only works for interrupt routines if you set a breakpoint inside the routine.
The 'step by step' instructions are Microchip document:
'MPLAB ICD2 USER'S GUIDE'
I failed to get the de-bug running till I had done the Tutorial in this document.
Sorry if all the above is a 'blinding glimpse of the obvious!'
Regards Bill Legge
Bookmarks