public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] ARM AEB-1 download problem
@ 2002-03-14 10:27 Koeller, T.
  2002-04-03 18:47 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Koeller, T. @ 2002-03-14 10:27 UTC (permalink / raw)
  To: 'ecos-discuss'

I am trying to install the GDB stubs from eCos 1.3.1 on my ARM AEB-1 board.
The method described in the tutorial does not work for me, because I do not
get a prompt from the ROM boot monitor. The first prompt I see is from
Angel.
So I tried the method described for the PID, but that did not work either
(see
transcript below). Anyone able to help me with this?

Thomas

---------------------------------------
$ arm-elf-gdb -nw "/d/program files/red
hat/ecos/loaders/arm-aeb/gdb_module-revC.img"
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=arm-elf"...
(no debugging symbols found)...
(gdb) set remotebaud 9600
(gdb) target rdi s=com1
Angel Debug Monitor (serial) 1.04 (Advanced RISC Machines SDT 2.11a) for
AT91EB0x (1.01)
Angel Debug Monitor rebuilt on Sep 14 1998 at 14:52:22
Serial Rate:   9600
 Connected to ARM RDI target.
(gdb) load
Invalid download offset: files/red
hat/ecos/loaders/arm-aeb/gdb_module-revC.img

(gdb)

----------------------------------------------- 
Thomas Koeller, Software Development 

Basler Vision Technologies 
An der Strusbek 60-62 
22926 Ahrensburg 
Germany 

Tel +49 (4102) 463-390 
Fax +49 (4102) 463-46390

mailto:Thomas.Koeller@baslerweb.com 
http://www.baslerweb.com 



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

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

* Re: [ECOS] ARM AEB-1 download problem
  2002-03-14 10:27 [ECOS] ARM AEB-1 download problem Koeller, T.
@ 2002-04-03 18:47 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2002-04-03 18:47 UTC (permalink / raw)
  To: Koeller, T.; +Cc: 'ecos-discuss'

"Koeller, T." wrote:
> 
> I am trying to install the GDB stubs from eCos 1.3.1 on my ARM AEB-1 board.
> The method described in the tutorial does not work for me, because I do not
> get a prompt from the ROM boot monitor.

Did you try pressing ENTER just in case?

> The first prompt I see is from
> Angel.
> So I tried the method described for the PID, but that did not work either
> (see
> transcript below). Anyone able to help me with this?
> 
> Thomas
> 
> ---------------------------------------
> $ arm-elf-gdb -nw "/d/program files/red
> hat/ecos/loaders/arm-aeb/gdb_module-revC.img"
> GNU gdb 5.1.1
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "--host=i686-pc-cygwin --target=arm-elf"...
> (no debugging symbols found)...
> (gdb) set remotebaud 9600
> (gdb) target rdi s=com1
> Angel Debug Monitor (serial) 1.04 (Advanced RISC Machines SDT 2.11a) for
> AT91EB0x (1.01)

Sure this is an AEB-1?!

> Angel Debug Monitor rebuilt on Sep 14 1998 at 14:52:22
> Serial Rate:   9600
>  Connected to ARM RDI target.
> (gdb) load
> Invalid download offset: files/red
> hat/ecos/loaders/arm-aeb/gdb_module-revC.img

Firstly: This image will have a load address (LMA) that points into flash,
which is why it thinks it is wrong. You' would need to tweak it using
arm-elf-objcopy to load it into RAM.

But secondly it doesn't matter because there's no mechanism to program it
into flash - there's no flash driver, which is why you need the AEB boot
monitor.

Unless this really is an AT91EB0x, in which case there's an eCos port in
anoncvs.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

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

end of thread, other threads:[~2002-04-04  2:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-14 10:27 [ECOS] ARM AEB-1 download problem Koeller, T.
2002-04-03 18:47 ` Jonathan Larmour

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