Debug view problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debug view problem

196 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by unnati on Wed Apr 14 23:10:12 MST 2010
hi,

i am using LPC1114.
i have my own hardware working with it.
when i debug in 1 hardware unit it is working perfectly alright..

i also have the 2nd hardware unit similar to the 1st but wid another LPC1114 chip.when i debug for this 2nd unit..the DEBUG view does not appear.
and so the program is not downloaded.

has anyone encountered this problem?

what can be the solution for this?

regards
unnati
0 Kudos
2 Replies

188 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by micrio on Thu Apr 15 08:56:12 MST 2010
If you don't see the debug panel then you can force one to pop up. Do this;
Window->Show View->Other
That will pop up a window called "Show View". In there expand "Debug" then select "Debug". This will pop up the debug panel.
You can then hit the "suspend" button. This will show you your current location.
0 Kudos

188 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Apr 14 23:43:26 MST 2010
The debug view will only appear when the first breakpoint is hit (i.e. when there is something to debug!).

It is likely that the application has downloaded and has been started, but that (for some reason) the code hasn't run to hit the breakpoint.

The likely cause is that your app has generated a fault, and is thus running in the fault handler. If you have it working on one board, then you probably have a hardware problem.

I would suggest you try setting the initial breakpoint on ResetISR using the method described here:
http://lpcxpresso.code-red-tech.com/LPCXpresso/node/48
and then stepping through the code to see where the fault is generated.
0 Kudos