Hi list,
>From las six months I'm trying to work with eclipse+cdt+openocd to
debug a application. Googling, I can make some results but I don't
know how continue. Please, help.
I'm using openocd (try with devel version from hit repo and with las
stable, the result is the same), debuging with gdb 7.2 (no patch), cdt
+ eclipse helios and I'm using "GDB hardware debuging" options to make
the debug.
The program is loaded in the target, openocd work, but I have this
errors in the console when try to run te application:

Open On-Chip Debugger 0.5.0 (2012-01-10-08:11)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
Warn : Adapter driver 'parport' did not declare which transports it
allows; assuming legacy JTAG-only
Info : only one transport option; autoselect 'jtag'
parport port = 0x0
500 kHz
Info : clock speed 500 kHz
Info : JTAG tap: lm3s2776.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0xba00, ver: 0x3)
Info : lm3s2776.cpu: hardware has 6 breakpoints, 4 watchpoints
500 kHz
cortex_m3 reset_config sysresetreq
Info : JTAG tap: lm3s2776.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0xba00, ver: 0x3)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x00000904 msp: 0x20006054
Info : accepting 'gdb' connection from 3333
Warn : acknowledgment received, but no packet pending
Info : dropped 'gdb' connection
Info : accepting 'gdb' connection from 3333
Warn : acknowledgment received, but no packet pending
500 kHz
cortex_m3 reset_config sysresetreq
Info : JTAG tap: lm3s2776.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0xba00, ver: 0x3)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x00000904 msp: 0x20006054
background polling: on
TAP: lm3s2776.cpu (enabled)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x00000904 msp: 0x20006054
-------------   Problems begin ------------------------------------------------
Error: address + size wrapped(0xfffffffe, 0x00000004)
Error: JTAG-DP STICKY ERROR
Error: MEM_AP_CSW 0x23000050, MEM_AP_TAR 0xab184abc
------------- End problems -----------------------------------------------------
Info : Padding image section 0 with 4 bytes
Info : Padding image section 1 with 808 bytes
-------------   Problems begin ------------------------------------------------
Error: address + size wrapped(0xfffffffe, 0x00000004)
Error: JTAG-DP STICKY ERROR
Error: MEM_AP_CSW 0x23000050, MEM_AP_TAR 0xab184abc
------------- End problems -----------------------------------------------------

The more rare is:I can use break's, step, and more. But sometime, when
trace or run and pause the are no sinchronization betwen the show code
and the run code. It is the code running is not the code show in the
editor.... I don't know
Please, if someone are using eclipse+cdt+openocd with stellaris  (lm3s) helme.
More info, I'm using parallel por wigler2 in linux with my own build of gcc.
The debuger options in eclipse/cdt at startup are:

target remote localhost:3333
monitor reset halt
monitor poll
set remote hardware-breakpoint-limit 6
set remote hardware-watchpoint-limit 4

and at the run command:
break ResetISR
break main
continue

All Runtime checkboxes are uncheced, load image and load symbols are checked.

Thank's

Sergio

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to