This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem with running application on ARM Integrator
- From: Henrik Mau <Henrik dot Mau at sli-institute dot ac dot uk>
- To: Gary Thomas <gary at mlbassoc dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 03 May 2004 17:45:30 +0100
- Subject: Re: [ECOS] Problem with running application on ARM Integrator
- References: <4096710A.70305@sli-institute.ac.uk> <1083601896.5389.59.camel@hermes>
Gary Thomas wrote:
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.
When I download the test I get a message that the application is loaded
into 0x00040000 and doing a memory dump from there shows it to be present.
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?
For Redboot, I chose the Integrator 7TDMI Redboot template and imported
the redboot_ROMRAM.ecm file. Furthermore I disabled the ethernet support
because I grew tired of waiting for it to finish booting. I had the same
problem before I disabled this however.
For the test application I chose the Integrator 7TDMI default template
and built it without any changes. I have also tried the minimal and the
net template.
The repository is the 2.0 snapshot.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss