[ECOS] Insight 5.1.1 with Angel /serial debugger

Charles-Henri Balet charles-henri@bluewin.ch
Tue Feb 26 14:39:00 GMT 2002


Hi,
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]"

this is the part of the warm_reset where the problem appear :

        mov     r0,#0           // move vectors
        ldr     r1,=__exception_handlers
#ifndef CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
        // Wait with this if stubs are included (see further down).
        ldr     r2,[r1,#0x04]   // undefined instruction
        str     r2,[r0,#0x04]
        ldr     r2,[r1,#0x24]
        str     r2,[r0,#0x24]
#endif
        ldr     r2,[r1,#0x08]   // software interrupt
        str     r2,[r0,#0x08]

I have built an "RAM" startup, with enable of
CYGIMP_HAL_PROCESS_ALL_EXCEPTIONS
and disable of CYGSEM_HAL_USE_ROM_MONITOR.

any has any idea, can we modify the vectors table with an Angel debugger ?

many thanks

balet charles-henri







-- 
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