Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

OpenOCD Data aborts

OpenOCD Data aborts

2006-04-01 by yugandhar_vasi

I am unable to debug the programs properly using Open OCD and Olimex
cable + Olimex 2148 board. I get a lot of these messages when
debugging. Sometimes it just recovers but after 10-12 attempts, it
just doesn't proceed. Is it the same case with everybody or nobody has
seen these messages so far at all? Everybody is able to debug properly
without any problems for the program running in Flash and program in RAM?

The same happens to me either I try to debug from flash or RAM. For
RAM I enable soft breakpoints and for flash I use only onchip
breakpoints. I use GDB (Insight).

Error:   arm7_9_common.c:1628 arm7_9_read_memory(): memory read caused
data abort

Thanks
Yug

Re: [lpc2000] OpenOCD Data aborts

2006-04-02 by Dominic Rath

Hello,

some data aborts are ok, they're just a result of GDB trying to unwind the 
stack information when there actually isn't a stack frame. These shouldn't 
stop the OpenOCD from working.

What version of OpenOCD did you use? Were there other "Error:" messages in the 
daemon output? If your problem persists, you can send me a debug log (-d -l 
log.file).

Regards,

Dominic
Show quoted textHide quoted text
On Saturday 01 April 2006 23:00, yugandhar_vasi wrote:
> I am unable to debug the programs properly using Open OCD and Olimex
> cable + Olimex 2148 board. I get a lot of these messages when
> debugging. Sometimes it just recovers but after 10-12 attempts, it
> just doesn't proceed. Is it the same case with everybody or nobody has
> seen these messages so far at all? Everybody is able to debug properly
> without any problems for the program running in Flash and program in RAM?
>
> The same happens to me either I try to debug from flash or RAM. For
> RAM I enable soft breakpoints and for flash I use only onchip
> breakpoints. I use GDB (Insight).
>
> Error:   arm7_9_common.c:1628 arm7_9_read_memory(): memory read caused
> data abort
>
> Thanks
> Yug

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.