Hi I hoping some one might be able to point me in the right direction. I am using a PIC24HJ64GP206 with an ICD2 connected to PGD2 and PGC2. When I tell the ICD2 to connect to the target it does so without error, identifies the chip etc.... see below; Connecting to MPLAB ICD 2 ...Connected Setting Vdd source to target Target Device PIC24HJ64GP206 found, revision = Rev 0x3002 ...Reading ICD Product ID Running ICD Self Test ...Passed MPLAB ICD 2 Ready However, if I build my code and tell it to program the chip i get ICD0083: Debug: Unable to enter debug mode. Please double click this message for more information See below. Programming Target... ...Validating configuration fields ...Erasing Part ...Programming Program Memory (0x0 - 0x4FF) Verifying... ...Program Memory ...Verify Succeeded ...Loading DebugExecutive ...Programming DebugExecutive ...Debug Executive ...Programming Debug Vector ...Debug Vector ...Programming Configuration Bits .. Config Memory Verifying configuration memory... Connecting to debug executive ICD0083: Debug: Unable to enter debug mode. Please double click this message for more information. MPLAB ICD 2 Ready Does anyone have any ideas as to what I can/should check ? I have used the C18 compiler with the PIC18F series devices but this is my 1st application using c30 on a PIC24. All helpful comments,things to check etc.... welcome. Thanks in advance Anbeyon

PIC24HJ64GP206, ICD2 -> ICD0083: Debug: Unable to enter debug mode.
Started by ●May 25, 2007
Reply by ●May 25, 20072007-05-25
On 25 May 2007 07:27:36 -0700, the renowned Anbeyon <anbeyon@btinternet.com> wrote:>Hi > >I hoping some one might be able to point me in the right direction.http://forum.microchip.com/tm.aspx?m=141274 Best regards, Spehro Pefhany -- "it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com
Reply by ●May 25, 20072007-05-25
On 25 May, 17:06, Spehro Pefhany <speffS...@interlogDOTyou.knowwhat> wrote:> On 25 May 2007 07:27:36 -0700, the renowned Anbeyon > > <anbe...@btinternet.com> wrote: > >Hi > > >I hoping some one might be able to point me in the right direction. > > http://forum.microchip.com/tm.aspx?m=141274 > > Best regards, > Spehro Pefhany > -- > "it's the network..." "The Journey is the reward" > s...@interlog.com Info for manufacturers:http://www.trexon.com > Embedded software/hardware/analog Info for designers: http://www.speff.comThanks - It was cable length related - all seems OK now :0)
