View previous topic :: View next topic |
Author |
Message |
david Guest
|
CCS Debug Won't Run |
Posted: Sat Oct 30, 2004 6:28 pm |
|
|
Just received my developement kit. I'm stuck at the compiling and running demo 3 program. The protoboard checks out fine. I can single step the program and the leds light but I cannot get it to run using the green go icon. |
|
|
Haplo
Joined: 06 Sep 2003 Posts: 659 Location: Sydney, Australia
|
|
Posted: Sun Oct 31, 2004 3:43 am |
|
|
Give us more information...what happens when you press the 'GO' button? |
|
|
david Guest
|
The GO button doesn't appear to do anything |
Posted: Sun Oct 31, 2004 7:54 am |
|
|
The bottom of the debug status bar is supposed to turn yellow when running, I believe, but it doesn't. I've tried simple programs that do nothing more than turn an led on and off with a delay. I can single step through it fine but can't run it. I was really pumped getting this kit this weekend and wanted to have some fun but darn can't run anything. I'm sure that there is some setting in the debugger that isn't right but what? I ran the ICD program and everything checks fine with the protoboard. Also, this proto board is the 18F6720. Also I'm running XP. |
|
|
david Guest
|
Nore thoughts |
Posted: Sun Oct 31, 2004 8:05 am |
|
|
When I hit go the status bar flashes blue and says busy. Then it comes right back to Ready MCU at 20Mhz. If I single step through it will end up in my endless loop at the end of the program and the status bar is yellow and says running. Actually it says running when every line is executed.
In Programmer/Debugger Options it has
Device Programmer
Name command line
warp-13 ........warp13.exe
icd .........iced.exe
Debugger
mplab .........mplab.exe
I don't understand why mplab appears in this setup. I don't have it installed on this machine. |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Sun Oct 31, 2004 10:45 am |
|
|
Make sure that you don't have the WDT enabled and forget to restart it. |
|
|
|