Debug problem: No source available

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

Debug problem: No source available

2,387 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hjetschko on Tue Jan 29 22:09:40 MST 2013
I use a fairly new device: LPC1112FD20. I could debug for a while and now when I try to debug then the debug window only says: No source available for "(gdb[0].proc[42000].threadGroup[i1],gdb[0].proc[42000].OSthread[1]).thread[1].frame[0]" . I have checked under my debug configuration that Build configuration is set to Debug. I have tried multiple programmers and they all do the same thing. Please let me know what I am missing.
0 Kudos
Reply
7 Replies

1,719 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serge on Thu Nov 21 04:21:04 MST 2013
1. try not to use GPIO P0.1
2. Put a 10k resistor pull-up on this pin (never leave it floating)
3. In case you really need to use this pin make sure the connected electronics don't pull this line low during boot.
4. Make sure you can put a jumper between GND and this pin to be able to boot into ISP without affecting the other electronics.

READ THE UM!
0 Kudos
Reply

1,719 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Irappa on Mon Nov 18 04:13:42 MST 2013
Hi,

Can you tell me how you fixed this problem. i am also getting same. please help me.

Regards,
Irappa
0 Kudos
Reply

1,719 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hjetschko on Wed Jan 30 21:21:09 MST 2013
The electronics connected to PIO0_1 did pull it down, I fixed this and now it working again. Thank you for the help, brilliant support!!!
0 Kudos
Reply

1,719 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by milhoci on Wed Jan 30 16:15:05 MST 2013
Put a pull-up resistor on pin 0.1.


Milhoci
0 Kudos
Reply

1,719 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Jan 30 15:24:39 MST 2013
Your UM (10398) is describing this region (0x1FFF 0000 - 0x1FFF 4000) as 'BOOT ROM' ;)

So probably you are in ISP mode and should check your hardware (=ISP pin) :eek: Therefore you never reach a SystemInit or main ;)
0 Kudos
Reply

1,719 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hjetschko on Wed Jan 30 14:16:45 MST 2013
Thanks for helping me with this. I cleaned my project and the CMSIS project and it is still doing the same. At one stage is did give me an address: No source available for "0x1fff0f60". Does this message mean the source in not available on the LPC1112 or on my PC? I thought that my code should not have an effect until it starts executing main. I put breakpoints at the start of main and in the SystemInit function in system_LPC11xx.c but it never gets there which tells me that no initialization code is running before the micro jumps to a wrong address.
0 Kudos
Reply

1,719 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Jan 30 00:50:18 MST 2013
What is the address that it is reporting (where is the PC)? Any error messages?

The debugger will give this message if the PC is outside of your application - probably becuase you have corrupted the stack or your have jumped off to a random pointer.
0 Kudos
Reply