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: Performance measurement


On Wed, 2002-06-05 at 07:53, Christer Kaivo-oja wrote:
> On Wednesday 05 June 2002 15.06, Gary Thomas wrote:
> > On Wed, 2002-06-05 at 07:04, Christer Kaivo-oja wrote:
> > > Well, all the other tests run just fine... Where can I find info on how
> > > to decode the sigtrap?
> >
> > What's the platform?
> >
> > Can you send the exact output from GDB (I'm assuming that you run it
> > from GDB)?
> 
> I'm running a SA1110 board (Trizeps by Keith & Koep) and have based my 
> platform port on the assabet. I have loaded the gdb stub to 0x10000.
> 

How do you get the GDB stubs into memory at 0x10000?

> When I try to download the tm_basic file using insight, I get the following 
> on the console:
> 
> Loading section .rom_vectors, size 0x40 lma 0x20000
> Loading section .text, size 0xc7b8 lma 0x20040
> Loading section .rodata, size 0xe6c lma 0x2c7f8
> Loading section .data, size 0xae4 lma 0x2d664
> Start address 0x20040, load size 57672
> Transfer rate: 27139 bits/sec, 303 bytes/write.
> 

Did you give some other command here?

> Program received signal SIGTRAP, Trace/breakpoint trap.
> 0x0001162c in ?? ()
> 

My guess is that this address (0x20000) overlaps with your GDB stubs.

* just a query: Have you considered running RedBoot on your board?


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


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