[ECOS] Re: eCos invalidating JTAG on ARM architecture ?

Andrew Lunn andrew@lunn.ch
Tue Jul 10 10:15:00 GMT 2007


On Tue, Jul 10, 2007 at 11:56:12AM +0200, Alexandre wrote:
> Ok I implemented that and it enabled me to know what in vectors.S was
> disabling JTAG. Ironically, i shortened it to the "bl cyg_start"
> instruction at the end of the "start:" label (last instruction for
> this label i think).
>
> I find it weird because it would mean the launch of the actual kernel
> software is what makes it impossible for me to debug further.
>
> Do you know where i can find that "cyg_start" label vectors.S is
> referring to and is it worth it lurking that way ?

cyg_start is one of the entry points into the application code. So it
may be coming from the application. If not, eCos provides a cyg_start
in packages/infra/current/src/startup.cxx

You say that the CSPR is invalid? Does the branch to cyg_start jump to
a valid address? It could be that the address is invalid and causes an
exception? Seems unlikely, but i cannot think of anything else.

        Andrew


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



More information about the Ecos-discuss mailing list