Not sure about this chip, but if it has multiple emulate pins, make sure the config bits have the right ones selected. Also, make sure the power up timer is off. That's what comes to mind.. Good luck! Harold > Have an issue of putting the 18F8310 into debug mode....get the standard > error > > > Setting Vdd source to target > Target Device PIC18F8310 found, revision = Rev 0x3 > ...Reading ICD Product ID > Running ICD Self Test > ...Passed > MPLAB ICD 2 Ready > Programming Target... > ...Validating configuration fields > ...Erasing Part > ...Programming Program Memory (0x0 - 0xDBF) > ...Loading DebugExecutive > ...Programming DebugExecutive > ...Programming Debug Vector > ...Programming RSBUG > Verifying... > ...Program Memory > ...Debug Executive > ...Debug Vector > ...Verify Succeeded > Programming Configuration Bits > .. Config Memory > Verifying configuration memory... > ...Verify Succeeded > Connecting to debug executive > ICD0083: Debug: Unable to enter debug mode. Please double click this > message for more information. > MPLAB ICD 2 Ready > Resetting Target > MPLAB ICD 2 Ready > > > I have the chip using the internal oscillator, and I know that should > work because Ive done the same thing with a 16F913. I had the PortB 6,7 > pins tied to some other devices so I isolated them thinking they were > loading it but I still can't get it to go into the debug mode. I have a > NOP after the 0x0000 location, so thats good. > > org 0x0000 > nop > goto MAIN ;reset vector > > This should work ok in debug mode right? > > Any ideas ? Getting tired of debugging in program mode and lighting > LEDs... > > > --------------------------------- > Access over 1 million songs - Yahoo! Music Unlimited. > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist