public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] Problem with running application on ARM Integrator
@ 2004-05-04  6:50 joeri_melis
  2004-05-04  9:07 ` Henrik Mau
  0 siblings, 1 reply; 10+ messages in thread
From: joeri_melis @ 2004-05-04  6:50 UTC (permalink / raw)
  To: Henrik.Mau; +Cc: ecos-discuss

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.

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.

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


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] Problem with running application on ARM Integrator
  2004-05-04  6:50 [ECOS] Problem with running application on ARM Integrator joeri_melis
@ 2004-05-04  9:07 ` Henrik Mau
  0 siblings, 0 replies; 10+ messages in thread
From: Henrik Mau @ 2004-05-04  9:07 UTC (permalink / raw)
  To: joeri_melis; +Cc: ecos-discuss



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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [ECOS] Problem with running application on ARM Integrator
@ 2004-05-04 10:25 joeri_melis
  0 siblings, 0 replies; 10+ messages in thread
From: joeri_melis @ 2004-05-04 10:25 UTC (permalink / raw)
  To: Henrik.Mau; +Cc: ecos-discuss


-----Original Message-----
From: Henrik Mau [mailto:Henrik.Mau@sli-institute.ac.uk]
Sent: dinsdag 4 mei 2004 11:08
To: MELIS,JOERI (A-Belgium,ex1)
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] 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?

As far as I know no specific magic was used to turn on redboot at that 
time.  I do know that we only got gdb working reliably over the serial 
interface with it (not over net or multi-ice).  But I wasn't the 
person who played with redboot at that time so I can't say for sure 
the configuration wasn't altered.

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

Comes out of my head so don't shoot me if I forgot some steps.
You need to change CYG_HAL_STARTUP from RAM to ROMRAM (or ROM if you 
want to run from flash) in your ecos.ecc.  The executable you make 
has to be transformed in srec format using objcopy, and then you can 
load it with the ARM bootloader.

But if you are not sure about your application or ecos setup I wouldn't
recommend starting with this as you have no debugging support and you 
are thus responsible yourself for getting anything out of the system.
Do the diagnostic leds give any clue about where it stops working?

Joeri.

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] Problem with running application on ARM Integrator
  2004-05-03 16:45   ` Henrik Mau
@ 2004-05-03 17:14     ` Pablo Bleyer Kocik
  0 siblings, 0 replies; 10+ messages in thread
From: Pablo Bleyer Kocik @ 2004-05-03 17:14 UTC (permalink / raw)
  To: ecos-discuss

At 12:45 2004-05-03, you wrote:
>>>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.
>>
>>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.

  Have you looked at the listing file of your image? What is at 0x04000044?

  Regards. 


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] Problem with running application on ARM Integrator
  2004-05-03 16:31 ` Gary Thomas
@ 2004-05-03 16:45   ` Henrik Mau
  2004-05-03 17:14     ` Pablo Bleyer Kocik
  0 siblings, 1 reply; 10+ messages in thread
From: Henrik Mau @ 2004-05-03 16:45 UTC (permalink / raw)
  To: Gary Thomas; +Cc: ecos-discuss



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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] Problem with running application on ARM Integrator
  2004-05-03 16:19 Henrik Mau
@ 2004-05-03 16:31 ` Gary Thomas
  2004-05-03 16:45   ` Henrik Mau
  0 siblings, 1 reply; 10+ messages in thread
From: Gary Thomas @ 2004-05-03 16:31 UTC (permalink / raw)
  To: Henrik Mau; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] Problem with running application on ARM Integrator
@ 2004-05-03 16:19 Henrik Mau
  2004-05-03 16:31 ` Gary Thomas
  0 siblings, 1 reply; 10+ messages in thread
From: Henrik Mau @ 2004-05-03 16:19 UTC (permalink / raw)
  To: ecos-discuss


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 ?? ()

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?


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] Problem with running application on ARM Integrator
  2004-05-03 15:41 Henrik Mau
  2004-05-03 15:48 ` Gary Thomas
@ 2004-05-03 16:05 ` Pablo Bleyer Kocik
  1 sibling, 0 replies; 10+ messages in thread
From: Pablo Bleyer Kocik @ 2004-05-03 16:05 UTC (permalink / raw)
  To: ecos-discuss

At 11:41 2004-05-03, you 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?
>
>Henrik Mau

  We have RedBoot/eCos running fine on our board (http://armoid.com). What 
errors are you getting? Have you been able to debug your apps?

  Regards.


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] Problem with running application on ARM Integrator
  2004-05-03 15:41 Henrik Mau
@ 2004-05-03 15:48 ` Gary Thomas
  2004-05-03 16:05 ` Pablo Bleyer Kocik
  1 sibling, 0 replies; 10+ messages in thread
From: Gary Thomas @ 2004-05-03 15:48 UTC (permalink / raw)
  To: Henrik Mau; +Cc: ecos-discuss

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 ?

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ECOS] Problem with running application on ARM Integrator
@ 2004-05-03 15:41 Henrik Mau
  2004-05-03 15:48 ` Gary Thomas
  2004-05-03 16:05 ` Pablo Bleyer Kocik
  0 siblings, 2 replies; 10+ messages in thread
From: Henrik Mau @ 2004-05-03 15:41 UTC (permalink / raw)
  To: ecos-discuss

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?

Henrik Mau


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-05-04 10:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-04  6:50 [ECOS] Problem with running application on ARM Integrator joeri_melis
2004-05-04  9:07 ` Henrik Mau
  -- strict thread matches above, loose matches on Subject: below --
2004-05-04 10:25 joeri_melis
2004-05-03 16:19 Henrik Mau
2004-05-03 16:31 ` Gary Thomas
2004-05-03 16:45   ` Henrik Mau
2004-05-03 17:14     ` Pablo Bleyer Kocik
2004-05-03 15:41 Henrik Mau
2004-05-03 15:48 ` Gary Thomas
2004-05-03 16:05 ` Pablo Bleyer Kocik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).