Shawn Wilton wrote: > Hrm. I'm using 7.42. So should be good there. Can you even use an ICD to > program a 12F675? I'm beyond ready to send this thing back. I have checked > and doubled checked my wiring, and it's all good. The chip is known to be > good because I can program it with my K182 from diy and it runs my program > just "fine". > I'm using 7.40. Yes, I just programmed 4 of them last night. Works good. But only in programmer mode, not ICD2 mode; the PIC12F675/629 both do not have the internal debugger.. Yes, I love the K182, I own several, and my clients have a LOT of 'em. > I really can't figure it out. I try out the debugger with the header and it > fails to run the code. I try the programmer and it fails to program because > even though the ICD tests validate, it can't figure out what the processor > is that it's speaking with. > Well, have you tried powering the device thru the external 9V access on the ICD2. Perhaps you are not properly powering it.. What do the self-tests say? Do they pass? Look for a GND loop between the development PC and the product. I have seen AC GND problems make the ICD2 act like it lost its mind. The problem is usually caused by the PC itself. At least, make sure they both operate from the SAME AC mains branch. Course, an AC loop might destroy the drivers in the ICD2 as well. Sounds like you may have broken it. There are a couple of TSSOP driver chips that break a lot, I am told (74HC125 & 74HC126). Sorry. If I were you, get Kenny Wong's "Full USB ICD2" thru Ebay. He uses stouter, easy to repair, DIP14 drivers. His ICD2: 1. eliminates the Cypress chip; he uses an PIC18F4550 instead. The cypress chip is cranky on some PCs. Never noticed a USB problem with the 18F4550. But it accepts the MPLAB-provided cypress driver that MPLAB provides! 2. He uses the USB VDD, not an external 9V wallwart, with a jumper, not a soft switch inside MPLAB. 3. He uses a 6-pin SIP header as well as the RJ12 connector. The SIP header makes a better GND connection. 4. It costs about $70, which includes two 40P DIP programming stations for the DIP-minded among us (one is for DsPIC). MUCH better deal than the ICD2. --Bob > > On 9/28/06, Bob Axtell wrote: > >> Shawn, make sure that you are using an MPLAB version of MPLAB 7.4 or >> later. The firmware that >> gets installed for the ICD2 before that point was incredibly buggy. I >> was getting the same foolishness. >> Once I installed 7.4, the ICD2 cleared up IMMEDIATELY and I've had no >> trouble since. I use two >> ICD2s and the Wong Mini-ICD2 and a Wong Full USB ICD2 (my favorite). >> >> Wong was the one that indicated that the MPLAB code for ICD2 was buggy >> before that point. >> >> I'm using WinXP with a very fast Intel processor. >> >> --Bob >> >> Shawn Wilton wrote: >> >>> OK, still having issues. I'm getting the ICD to recognize >>> >> something. But >> >>> I'm getting this: >>> >>> Setting Vdd source to target >>> ICDWarn0020: Invalid target device id (expected=0x7E, read=0x1FF) >>> ICDWarn0044: Target has an invalid calibration memory value (0x3FFF). >>> Continue? >>> >>> I have pic12f675 set in both mplab and of course the chip is a >>> >> 675. Ideas? >> >>> I've redone this darn cable atleast 12 times thinking I've done >>> >> something >> >>> wrong, but I'm quite certain it is correct. >>> >>> >>> On 9/28/06, Shawn Wilton wrote: >>> >>> >>>> OK, so I've been screwing around with this thing forever and I'm >>>> frustrated. I can't get it to recognize my 12f675 on my board (even >>>> >> though >> >>>> another programmer I have recognizes it just fine). So I said, OK, >>>> >> start >> >>>> with something we know should work (bypass the custom cables). So I >>>> >> plugged >> >>>> it in to the PICDEM2+ that I ordered with my ICD and it still doesn't >>>> recognize the device. Help. >>>> >>>> -- >>>> >>>> Shawn Wilton (b9 Systems) >>>> http://b9Systems.com <- New web page >>>> >>>> >>> >>> >>> >>> >> -- >> http://www.piclist.com PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist >> >> > > > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist