Debug Not Stop at main()

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Debug Not Stop at main()

776件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sachinbarkul on Fri May 04 00:03:30 MST 2012
following Message appears in Debug window

LPC1769 Dev1 Debug (2) [C/C++ MCU Application]
MCU GDB Debugger (5/4/12 12:27 PM)
  Thread [1] (Running)
arm-none-eabi-gdb (5/4/12 12:27 PM)
D:\SACHIN B\LPC1769 backup\LPC1769\LPC1769 Dev1\Debug\LPC1769 Dev1.axf (5/4/12 12:27 PM)
0 件の賞賛
返信
3 返答(返信)

759件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Sun May 06 09:05:53 MST 2012
Try putting the MCU on your board into ISP mode before attempting to connect through the debugger...

http://support.code-red-tech.com/CodeRedWiki/DebugAccessChip

Regards,
CodeRedSupport
0 件の賞賛
返信

759件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sachinbarkul on Fri May 04 21:24:14 MST 2012
Hi,
Thanks for Reply

I found that debeg stop in [B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]void[/B][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [B]HardFault_Handler[/B]([/SIZE][B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]void[/B][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]) in startup code c file when [SIZE=3]pause button pressed, but same code can work ok on onther same board.with out any change.[/SIZE][/SIZE]
[SIZE=2]
[/SIZE]
0 件の賞賛
返信

759件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Fri May 04 03:05:48 MST 2012
That probably means your application has crashed (probably faulted) before it got to main -it crashed in the startup code. You can hit the 'pause' button to find it where it is, and you can debug your startup code by following this FAQ
http://support.code-red-tech.com/CodeRedWiki/InitialBP
0 件の賞賛
返信