Hi to all, I am using 18f6520 and I am unable to put it in debug mode but I can program ok. There is no resistor or capacitor sitting on data or clock like all clear. I am able to use pic18f4550 in debug mode and it works fine but not pic18f6520. I also tried REAL ICE same thing. I looks like some thing is different on this chip. on configuration fuses I have WDT off and DEBUG enable. I use CCS v 4.84 and here is the config fuses. I do not remember what error massage was but as soon as I get home I can find out. #FUSES NOWDT //Watch Dog Timer #FUSES WDT128 //Watch Dog Timer uses 1:128 Postscale #FUSES EC_IO //External clock #FUSES NOPROTECT //Code not protected from reading #FUSES NOOSCSEN //Oscillator switching is disabled, main oscillator is source #FUSES BROWNOUT //Reset when brownout detected #FUSES BORV42 //Brownout reset at 4.2V #FUSES PUT //Power Up Timer #FUSES NOCPD //No EE protection #FUSES STVREN //Stack full/underflow will cause reset #FUSES DEBUG //Debug mode for use with ICD #FUSES NOLVP //NO Low Voltage Programming on B3(PIC16) or B5(PIC18) #FUSES NOWRT //Program memory not write protected #FUSES NOWRTD //Data EEPROM not write protected #FUSES NOEBTR //Memory not protected from table reads #FUSES NOCPB //No Boot Block code protection #FUSES NOEBTRB //Boot block not protected from table reads #FUSES NOWRTC //configuration not registers write protected #FUSES NOWRTB //Boot block not write protected #FUSES CCP2E7 //CCP2 input/output multiplexed with RE7 At this moment I use mplab and ICD2 to program any help will appreciate thank you Andre -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist