|
|
View previous topic :: View next topic |
Author |
Message |
PIC24Hnewbee Guest
|
How to connect a PIC24H device to the ICD-U programmer/debug |
Posted: Thu Oct 09, 2008 5:16 am |
|
|
Hi,
I plan to use a PIC24H (PIC24HJ32GP304) in a new design. I have the ICD-U40 programmer/debugger hardware.
How do I connect the ICD to the PIC?
Is still right to use the RB6 (ICSP Clock), RB7 (ICSP Data) and the RB (for "special" debugging)?
I think NO: the PIC24H has more possibilities for ICSP data (RB0, RB5, RB10) and ICSP clock (RB1, RB6, RB11). This should be no problem. BUT: how do I connect the former RB3 pin?
Thank you very much for your help!
Stefan |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Thu Oct 09, 2008 12:21 pm |
|
|
Hello,
as the PIC24 device manuals tell, any of the three pairs of debugging clock/data pins can be used:
PGC1/EMUC1 and PGD1/EMUD1
PGC2/EMUC2 and PGD2/EMUD2
PGC3/EMUC3 and PGD3/EMUD3
On some devices, the selection of a debugging pair may be incompatible with the usage of particular resources during debug. You should consult the manuals and also the errata sheets in this regard.
ICD-U40 "adavanced debugging pin" is connected to a software UART and thus generally selectable. I think, you can use any pin for this purpose. Hopefully, ICD-U40 software is fully supporting your PIC24H device.
Regards,
Frank |
|
|
|
|
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
|