View previous topic :: View next topic |
Author |
Message |
m_beischer
Joined: 29 Jun 2004 Posts: 1 Location: Sweden
|
Problem with debugger |
Posted: Tue Jun 29, 2004 10:26 am |
|
|
I can program my 18F458 with the ICD Control Program V2.8 and start/stop my application.
From inside of PCW i can also program my PIC, but when it comes to debugging I get the following error message when I enable the debugger:
Quote: | Could not start target: The target was not reset Check the target oscillator and MCLR |
What to do?
Compiler: PCWH 3.190, IDE 3.43
Regards,
Magnus Beischer |
|
|
Konrad
Joined: 15 Sep 2003 Posts: 34
|
H4 fuse selection requires power on / off |
Posted: Tue Jun 29, 2004 4:46 pm |
|
|
If the H4 fuse option is selected, after programming the PIC needs to be powered down and re-powered for the fuse to be enabled.
This is true if you have a PIC with a fuse set to H4 and re-program it with HS.
This is one possible reason. |
|
|
Charlie U
Joined: 09 Sep 2003 Posts: 183 Location: Somewhere under water in the Great Lakes
|
|
Posted: Tue Jun 29, 2004 10:10 pm |
|
|
I received the same message while trying to debug an 18F452. After discussing the problem with CCS customer support, (Mark) we determined that even though the information on the ICDU40 states that it is powered by the USB interface, it still requires a connection to the user Vdd for reference. I was told that this is used by the ICDU40 as a reference to drive the MCLR line. I connected my Vdd, in this case it was 5V, to the ICD interface and all has been well, mostly, ever since. I still have the occasional problem where the debug software can't find the USB port. I just close the compiler, unplug the USB port, reconnect it, and fire up the compiler again. It's a bit of an irritation, but it doesn't happen too often. |
|
|
|