View previous topic :: View next topic |
Author |
Message |
gavin Guest
|
MPLAB/PCW ICD 2 Background Debug |
Posted: Tue Mar 04, 2003 9:35 am |
|
|
I am using MPLAB 6.10a and ICD 2 firmware is 1.03. I am programming a PIC18F452. I have tried so many different combinations of settings and soloutions but can not reslove the error "target not in debug mode".
I have tied PGM/RB5 pin low, I have checked in build options for the project and file "compile for ICD", I have verified that my 20MHz crystal runs at 20MHz on the OSC2 pin and I have enabled debug in config bits.
I would appreciate any suggestions. Please help.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12330 |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
Re: MPLAB/PCW ICD 2 Background Debug |
Posted: Tue Mar 04, 2003 11:41 am |
|
|
Have you included ICD = TRUE in you #device statement?
:=I am using MPLAB 6.10a and ICD 2 firmware is 1.03. I am programming a PIC18F452. I have tried so many different combinations of settings and soloutions but can not reslove the error "target not in debug mode".
:=I have tied PGM/RB5 pin low, I have checked in build options for the project and file "compile for ICD", I have verified that my 20MHz crystal runs at 20MHz on the OSC2 pin and I have enabled debug in config bits.
:=I would appreciate any suggestions. Please help.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12337 |
|
|
Eric Minbiole Guest
|
Re: MPLAB/PCW ICD 2 Background Debug |
Posted: Tue Mar 04, 2003 12:54 pm |
|
|
:=I am using MPLAB 6.10a and ICD 2 firmware is 1.03. I am programming a PIC18F452. I have tried so many different combinations of settings and soloutions but can not reslove the error "target not in debug mode".
I had the same problem debugging a 452. Disabling all of the code write protection fuses fixed the problem for me. (i.e., setting the fuses to allow writes to code.) I don't remember the exact #fuse option, but I think it's NOWRT.
Hope it helps.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12342 |
|
|
gavin Guest
|
Re: MPLAB/PCW ICD 2 Background Debug |
Posted: Wed Mar 05, 2003 3:07 pm |
|
|
Yes I have. Do you have any other ideas?
:=Have you included ICD = TRUE in you #device statement?
:=
:=:=I am using MPLAB 6.10a and ICD 2 firmware is 1.03. I am programming a PIC18F452. I have tried so many different combinations of settings and soloutions but can not reslove the error "target not in debug mode".
:=:=I have tied PGM/RB5 pin low, I have checked in build options for the project and file "compile for ICD", I have verified that my 20MHz crystal runs at 20MHz on the OSC2 pin and I have enabled debug in config bits.
:=:=I would appreciate any suggestions. Please help.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12393 |
|
|
gavin Guest
|
Re: MPLAB/PCW ICD 2 Background Debug |
Posted: Wed Mar 05, 2003 3:15 pm |
|
|
Would it be #fuse WRT to enable writes to code?
:=:=I am using MPLAB 6.10a and ICD 2 firmware is 1.03. I am programming a PIC18F452. I have tried so many different combinations of settings and soloutions but can not reslove the error "target not in debug mode".
:=
:=I had the same problem debugging a 452. Disabling all of the code write protection fuses fixed the problem for me. (i.e., setting the fuses to allow writes to code.) I don't remember the exact #fuse option, but I think it's NOWRT.
:=
:=Hope it helps.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12397 |
|
|
|