I am working on a PIC18F2410 and the following odd action happens in my code. The code will reset the processor on the delay_cycles function. I have tried moving the code, walking through with the ICD-U40, and changing the surrounding code.
When I step through the code I get the following error:
"Invalid Clock Value from the debugger. Debugging may not have been enabled."
Any help would be greatly appreciated.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Fri Jan 27, 2006 4:34 pm
Is this entirely a debugger issue ? Does it still crash when the code
is programmed into the PIC so that the program runs in Stand-alone
mode ?
Guest
Error may not be code
Posted: Fri Jan 27, 2006 4:48 pm
The crash happens all of the time. However the EE now says that it may be a trace problem with the board. We are going to try a different board. Wish he would have told me that before I posted for help. Thank you for all of the effort. I appreciate it.
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
Posted: Sun Jan 29, 2006 7:22 am
1) LED_OFF; // is th¡s to be sure that it should be OFF ?
LED_ON;
2) Do you have INT_EXT1 enabled for any reason ?
If so, did you coded the handler ?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum