Problems regarding debugging the blinky program

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

Problems regarding debugging the blinky program

559 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jupp on Wed Sep 26 15:11:40 MST 2012
[LEFT][SIZE=2]Hello,[/SIZE][/LEFT]

[LEFT][SIZE=2]for a couple of days ago I purchased the LPC1769 board [/SIZE]
[SIZE=2](Hardware: Win7-64bit, LPCXpresso V4.3.0 [Build 1023]).[/SIZE][SIZE=2]
As a beginner I wrote a simple blinky program to do some experiments on it.
But the program won't run, instead the gdb messages the following text:[/LEFT]
[SIZE=2][COLOR=#ff0000]
[LEFT][SIZE=2][COLOR=#ff0000]set remotetimeout 60000[/COLOR][/SIZE]
[SIZE=2][COLOR=#ff0000]set mem inaccessible-by-default off[/COLOR][/SIZE]
[SIZE=2][COLOR=#ff0000]mon ondisconnect cont[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2]Debugging a target over a serial line.[/SIZE]
[SIZE=2]Program stopped at 0x1fff0080.[/SIZE]
[SIZE=2][COLOR=#ff0000][SIZE=2][COLOR=#ff0000]info program[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2]Type "info stack" or "info registers" for more information.[/SIZE]
[SIZE=2][COLOR=#ff0000][SIZE=2][COLOR=#ff0000]set arm force-mode thumb[/COLOR][/SIZE][/LEFT]
[/COLOR][/SIZE][SIZE=2]Note: automatically using hardware breakpoints for read-only addresses.[/SIZE]

[SIZE=2]MCU Debug Log:[/SIZE]
[LEFT][SIZE=2][SIZE=2]LPCXpresso Debug Driver v4.0 (Sep 19 2012 09:03:19)[/SIZE]
[SIZE=2]Looked for chip XML file in C:/nxp/LPCXpresso_4.3.0_1023/lpcxpresso/bin/LPC1769.xml[/SIZE]
[SIZE=2]Looked for vendor directory XML file in C:/nxp/LPCXpresso_4.3.0_1023/lpcxpresso/bin/nxp_directory.xml[/SIZE]
[SIZE=2]Found generic directory XML file in C:/nxp/LPCXpresso_4.3.0_1023/lpcxpresso/bin/crt_directory.xml[/SIZE]
[SIZE=2]nSRST assert (if available)[/SIZE]
[SIZE=2]Executing in user flash.[/SIZE]
[SIZE=2]Emu(0): Conn&Reset. DpID: 2BA01477. Info: HID32HS12[/SIZE]
[SIZE=2]SWD Frequency: 3000 KHz. RTCK: False. Vector catch: True.[/SIZE]
[SIZE=2]Packet delay: 0 Poll delay: 0.[/SIZE]
[SIZE=2]NXP: LPC1769 Part ID: 0x26113F37[/SIZE]
[SIZE=2]Connected: was_reset=false. was_stopped=true[/SIZE]
[SIZE=2]v Registered license, download limit of 128K[/SIZE]
[SIZE=2]Writing 1052 bytes to 0000 in Flash (assumed clock: 4.0MHz)[/SIZE]
[SIZE=2]Verified-same page 0-0 with 1052 bytes in 366msec[/SIZE]
[SIZE=2]Flash write Done[/SIZE]
[SIZE=2]nSRST assert (if available)[/SIZE]
[SIZE=2]Executing in bootloader.[/SIZE]
[SIZE=2]Stopped: Breakpoint #1[/SIZE]
[SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000](crt_emu_cm3_nxp) terminating on communication loss: Pipe has been closed by GDB.[/COLOR][/SIZE][/LEFT]
[SIZE=2][COLOR=#008000]SWD Frequency (Final): 3000 KHz.[/COLOR][/SIZE]
[/COLOR][/SIZE]
any ideas :confused:


THX
jupp
[/SIZE]
[/SIZE]
0 Kudos
Reply
2 Replies

545 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jupp on Thu Sep 27 08:56:08 MST 2012
Hello zero,

many Thanks!!!

jupp
0 Kudos
Reply

545 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Sep 26 15:18:08 MST 2012

Quote: jupp
[SIZE=2][SIZE=2]
any ideas :confused:
[/SIZE][/SIZE]



Yes, read #6 of http://knowledgebase.nxp.com/showthread.php?t=2395
0 Kudos
Reply