[ECOS] Insight 5.1.1 with Angel /serial debugger

Jesper Skov jskov@redhat.com
Thu Feb 28 00:27:00 GMT 2002

On Wed, 2002-02-27 at 03:45, Jing Luo wrote:
> The same problem with me when I am trying to port eCos to 80200EVB.
> But my configuration is disable of CYGIMP_HAL_PROCESS_ALL_EXCEPTIONS and
> If this one doesn't work, how I can do to debug eCos?


> I use Insight 5.1.1 on an ARM processor on a board with Angel 1.20, the
> link, download, debugger work fine,
> my problem, the ecos startup code in the Vectors.s file, this startup
> replace vectors in the vector table and when the
> vector of the undefined instruction is replaced, insight freeze, I'm have to
> start step by step and the problem is
> on the line "str     r2,[r0,#0x24]"

The problem is that Angel is using the CPU exception to do the
single-stepping. When the eCos HAL executes and takes over that
exception, Angel essentially dies.

What you want to do is either (a) comment out that code to debug the
application with Angel or (b) port RedBoot and make it the primary
monitor and debug agent of the system.

RedBoot knows how to debug eCos applications, Angel does not.


Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list