Re: [Openocd-development] Cortex A8 Watchpoints

2010-10-05 Thread Anton Fedotov
Hi, By default gdb uses software breakpoints and watchpoints and it doesn't work on Cortex A8. You should use hardware bp/wp. To do so execute next command in gdb: monitor gdb_breakpoint_override hard 2010/10/6 Karl Kurbjun > Hi all, > > I am trying to use watchpoints with the A8, but they do n

Re: [Openocd-development] JTAG-DP STICKY ERROR

2010-05-11 Thread Anton Fedotov
Hello Rick, in my case this error occures when I try to access memory on illegal address. Mostly it was result of absent MMU support for Cortex-A8 in OpenOCD. After the patch with MMU support this error had almost gone. But it always shows up when I use software breakpoints. It is a bug. And I hav

Re: [Openocd-development] [PATCH] MMU Support

2010-04-13 Thread Anton Fedotov
See updated patch in attach. 2010/4/11 Øyvind Harboe : > Could you perform the cleanup you would like to have > done? > > I would like to merge these changes so they can see wider > testing. > > > -- > Meet us in Paris at rts EMBEDDED SYSTEMS 2010 - March 30. and April 1. > http://www.zylin.com/ev

Re: [Openocd-development] [PATCH] MMU Support

2010-04-03 Thread Anton Fedotov
Hello, Thanks for your replies. Let me tell a few words about debugging emvironment I've used Devkit8000: http://www.armkits.com/Product/devkit8000.asp It came with Linux preinstalled. From user guide I've taken an example program that makes leds blink and cross-compiled it with debug symbols incl

[Openocd-development] [PATCH] MMU Support

2010-04-02 Thread Anton Fedotov
it shouldn't be commited in current state. But it works. I've tested it on DevKit8000 with Olimex ARM-USB-TINY. Both MMU disabled u-boot and MMU enabled Linux can be debugged without a problem. Maybe it will help someone. Signed-off-by: Anton Fedotov openocd_a8_mmu.diff