Thanks, I found it myself... Things are lumping along. But... the real problem is: I CAN'T DISABLE Protect bit (CP_3 : Code Protect 00C000-00FFFF) The assemble barfs out there is NO such bit in the 18F4585!!! (I tried it.) * | __O Thomas C. Sefranek WA1RHP@ARRL.NET |_-\<,_ Amateur Radio Operator: WA1RHP (*)/ (*) Bicycle mobile on 145.41MHz PL74.4 ARRL Instructor, Technical Specialist, VE Contact. http://hamradio.cmcorp.com/inventory/Inventory.html http://www.harvardrepeater.org -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Gerhard Fiedler Sent: Wednesday, December 05, 2007 12:43 PM To: piclist@mit.edu Subject: Re: [PIC] MPLAB V8.00 problem Thomas C. Sefranek wrote: > Connecting to MPLAB ICD 2 > ...Connected > Setting Vdd source to MPLAB ICD 2 > Target Device PIC18F4585 found, revision = Rev 0x4 > ...Reading ICD Product ID > Running ICD Self Test > ...Passed > MPLAB ICD 2 Ready > Programming Target... > ICDWarn0042: Protect bit (CP_3 : Code Protect 00C000-00FFFF) is enabled. > MPLAB ICD 2 will not enter debug mode in this configuration. Do you wish to > disable this setting? > ICD0200: Operation Aborted (Warning 41). > ICD0275: Programming failed. > MPLAB ICD 2 Ready > > The PIC18F4585 Does NOT have CP 3! > I accidentally must have answered the popup window with this warning and now > I can't debug, as there is no apparent way to fix this warning. Not sure how to fix that, but you can get the popup window back by editing the settings on the appropriate tab in the programmer settings (and I assume there's a similar one in the debugger settings). The other thing would be to disable code protection in your sources, no? Gerhard -- 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