Harold, MY f628A's won't work with my little round debug tool either.. because the F628A has no internal debugging hardware. Check the datasheet. The ICD2 will PROGRAM the F628A just fine.. It just can't DEBUG the F628A. Sorry. --Bob Harold Hallikainen wrote: > I've now got the AC162053 header and have it connected to the ICD-2. I > now get the ICD messages below. > > In MPLAB, I have the processor set to 16F628A. > > Oscillator is on LP and I can see the 32kHz signal on the oscillator pins. > > Watchdog timer is off. > > Power up timer is disabled. > > Brown out detect is disabled. > > Master Clear Enable is disabled. > > Low voltage program is disabled. > > Data EE read protect is disabled. > > Code protect is off. > > In my application, -MCLR (pin 4) is tied high through a 10k. I have > switches on RA0 (with 470k pull up) and RB1 through RB7. RB0 is driven by > an opto coupler to detect circuit activity. RA1 and RA2 are outputs > driving FETs driving relays. RA4 is an output driving an LED. > > The errata that came with the header indicates RB4 needs to be held low to > avoid target not in debug messages. I have a switch closed grounding RB4. > All other switches are open. > > Any idea what I'm doing wrong? > > THANKS! > > Harold > > > > MPLAB ICD 2 Ready > Connecting to MPLAB ICD 2 > ...Connected > Setting Vdd source to target > Target Device PIC16F628A found, revision = 0x2 > ...Reading ICD Product ID > Running ICD Self Test > ...Passed > MPLAB ICD 2 Ready > Programming Target... > ...Erasing Part > ...Programming Program Memory (0x0 - 0xCF) > ...Loading DebugExecutive > ...Programming Debug Vector > Verifying... > ...Program Memory > ...Debug Executive > ...Debug Vector > ...Verify Succeeded > Programming Configuration Bits > .. Config Memory > Verifying configuration memory... > ...Verify Succeeded > Connecting to debug executive > Entering Debug Mode > ...Programming GOTO 0x00 command > ICD0083: Target not in debug mode, unable to perform operation > MPLAB ICD 2 Ready > > > -- > FCC Rules Online at http://www.hallikainen.com > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > -- -------------- Bob Axtell PIC Hardware & Firmware Dev http://beam.to/baxtell 1-520-219-2363 -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics