Baesy
Joined: 06 Nov 2009 Posts: 4
|
Debugger Mode |
Posted: Wed Mar 24, 2010 6:39 am |
|
|
Hello
I'm working with the MPLAB development environment with the CCS C Compiler. I program a PIC16F883 with the "pickit 3" module. Now my problem: I want to use the Debugger mode of the MPLAB, but I get always this error message when I want to program my project:
Quote: |
PICkit 3 cannot debug while the following configuration settings are
enabled: -Watchdog Timer
Would you like PICkit 3 to turn off these settings and continue programming?
|
Then I attest with "OK"
The Output-window say "Programming/Verify complete", but when I want to run my program, I get this error message:
Quote: |
PK3Err0040: The target device is not ready for debugging.
Please check your configuration bit settings and program
the device before proceeding.
|
Code: |
#include "16F883.h"
#fuses NOWDT, HS, NODEBUG, NOBROWNOUT, NOPROTECT, NOMCLR, NOPUT, NOFCMEN,
#fuses NOLVP, NOWRT, BORV40, NOIESO
//#fuses INTRC_IO
#use delay (clock=8000000)
|
Could somebody help me??
Thanks for your help
PS: Sry for my english, I'm a young swiss student |
|