**** BEGIN LOGGING AT Thu Mar 22 02:59:58 2007 Mar 22 07:13:07 vmaster: hello! Already up and running? Mar 22 09:32:17 xela: hey... now I am ;) Mar 22 09:35:10 :-) Mar 22 09:35:34 I tried to debug with gdb Mar 22 09:42:45 When I try to set a breakpoint gdb seems to assume sw breakpoints Mar 22 09:43:41 Info: arm7_9_common.c:275 arm7_9_add_breakpoint(): sw breakpoint requested, but software breakpoints not enabled Mar 22 09:43:42 Info: breakpoints.c:73 breakpoint_add(): can't add software breakpoint, resource not available Mar 22 09:45:50 "monitor arm7_9 force_hw_bkpts enable" Mar 22 09:46:07 this causes the OpenOCD to replace any breakpoint requested with a HW breakpoint Mar 22 09:46:45 if you want to use SW bkpts later on you have to explicitly enable them: "monitor arm7_9 sw_bkpts enable", as SW bktps take up one of only two HW comparators Mar 22 09:46:59 ah i see Mar 22 10:03:27 works like a charm... Mar 22 10:10:49 Often, i get the gdb error: Mar 22 10:10:51 (gdb) Cannot access memory at address 0xffffffff Mar 22 10:10:56 while stepping Mar 22 10:12:41 that happens when GDB tries to unwind the stack when there are no more stack frames Mar 22 10:12:51 ah isee **** ENDING LOGGING AT Fri Mar 23 02:59:56 2007