At 01:07 PM 5/28/2004, Charles Craft wrote: >Isn't there a processor mismatch when the ICD talks to the debug chip? > >>Just a thought regarding the 12f629/675 ICD header - it is entirely >>feasible to purchase the 16f629/16f676 debug header instead. The top 8 >>pins of the '676 are an exact pin match for the '675. I hadn't noticed >>this when I purchased my headers - but I did the first time I did a '630 >>project. I now simply use the '630/676 debug header for all my 8 pin and >>14 pin PIC projects. >> >>Just pointing this out for those who want to minimize their out-of-pocket >>expenses. To be honest, I haven't noticed it. You have to tell MPLAB that you are using a 16f630/676 (Configure --> Select Device) but MPLAB seems to be ignoring the 'list' directive in my source when I'm using the ICD2. However, even if this comes up, change your source to use the 16f630/676 for debugging, then change to the proper part (12f629/675) before compiling the final version into for burning into the chip. You have to recompile anyways because you don't want the ICD2 debug code in your final product. I normally have sections of code enabled or disabled based upon whether or not my debug line is commented out or not: ; define emulate ;un-comment this line while using emulator ifdef emulate LIST P=16F676,F=INHX8M,R=HEX else LIST P=16F675,F=INHX8M,R=HEX endif dwayne PS - I'm used to faking out the tools while developing code for a target processor for which I don't have the proper emulator pod. This is just an extension of that practice. -- Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 20 years of Engineering Innovation (1984 - 2004) .-. .-. .-. .-. .-. .-. .-. .-. .-. .- `-' `-' `-' `-' `-' `-' `-' `-' `-' Do NOT send unsolicited commercial email to this email address. This message neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.