| kongfu1 
 
 
 Joined: 26 Apr 2010
 Posts: 56
 
 
 
			    
 
 | 
			
				| PICKit3 and CCS 4.122 |  
				|  Posted: Wed Jun 29, 2011 1:04 pm |   |  
				| 
 |  
				| Using PICkit3, MPLab 8.66 and CCS 4.122 with PIC16F687, it always reports error during the debug (program, erase and check blank all worked fine): 
 PK3Err0040: The target device is not ready for debugging.
 Please check your configuration bit settings and program
 the device before proceeding.
 
 
 And Configuration bits seems OK:
 
  	  | Code: |  	  | #fuses NOWDT, BROWNOUT, NOPUT, MCLR,NOCPD,INTRC,IESO,FCMEN
 #use delay(clock=2M)
 
 | 
 Please help. Thanks.
 |  |