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




joeri_melis@agilent.com wrote:

Is there an SDRAM module present? When we were using gdb and redboot (over a year ago) we needed the SDRAM to be there. If I recall correctly something in Redboot required it (we used ecos 28-03-2002 at that time). Also if you have stuff on the pci bus that needs memory I think you will also need it.

There is a Samsung 32MB module installed. Do you remember if if either Redboot or eCos needed to be configured in a specific way in order to test the application using GDB and Redboot?


We currently run an application on an arm7tdmi integrator without problems (ecos cvs 09-04-2004, gcc 3.3.2, ld 2.14) without redboot and configured in romram startup mode.


How would I go about testing my application without the use of Redboot?


Regards, Joeri.


-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org]On Behalf Of Henrik Mau
Sent: maandag 3 mei 2004 18:46
To: Gary Thomas
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Problem with running application on ARM Integrator




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


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