This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with running application on ARM Integrator


On Mon, 2004-05-03 at 10:19, Henrik Mau wrote:
> Gary Thomas wrote:
> 
> >On Mon, 2004-05-03 at 09:41, Henrik Mau wrote:
> >  
> >
> >>I have an ARM Integrator development board with an ARM7TDMI processor on.
> >>I am trying to get an application to run under eCos on it but have 
> >>failed so far.
> >>
> >>Is there someone that have succesfully run an application on the ARM 
> >>Integrator with an ARM7TDMI processor on it who can give me some 
> >>guidelines as to how to get a simple application to run on it?
> >>    
> >>
> >
> >I presume that you have RedBoot installed and running?
> >
> >Have you tried the examples at http://www.mlbassoc.com/examples ?
> >
> >  
> >
> I have installed Redboot using the Arm Flash Utility and it boots fine 
> and I am able to connect to it using GDB.
> Downloading the application with Insight also goes well, but when it has 
> finished I get
> 
> Program received signal SIGTRAP, Trace/breakpoint trap.
> 0x04000044 in ?? ()

This seems extremely odd to me.  I just built a test for the integrator
and it loaded at 0x00040000.

> 
> I have tried to set a breakpoint at hal_hardware_init in 
> integrator_misc.c - the earliest place I could find - but I still get a 
> SIGTRAP.
> 
> I get the exact same message no matter which test example I try. Could 
> it possibly be Redboot that tries to execute the application from the 
> wrong address?

It sure looks like it.  How did you configure your eCos kernel?

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]