This is the mail archive of the ecos-discuss@sourceware.org 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: pb installing RedBoot on AT91EB40


On Sun, 2005-12-11 at 01:52 +0100, Olivier Kaloudoff wrote:
> Hello all,
> 
>  	following the Redboot user guide, I'm trying the
> rdi mode with gdb, using a KeySpan USB to Serial converter;
> 
> (gdb) imac:~ kalou$ ls -l /dev/*Key*
> crw-rw-rw-   1 root  wheel    9,   5 Dec 11 01:42 /dev/cu.KeySerial1
> crw-rw-rw-   1 root  wheel    9,   4 Dec 11 01:34 /dev/tty.KeySerial1
> 
> imac:~ kalou$  /usr/local/bin/arm-elf-gdb 
> Desktop/redboot_RAM.elf
> GNU gdb 6.0
> Copyright 2003 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=powerpc-apple-darwin6.8 
> --target=arm-elf"...
> (gdb) tar rdi s=/dev/tty.KeySerial1
> Could not open device "s=/dev/tty.KeySerial1"
> (gdb) tar rdi s=/dev/cu.KeySerial1
> Could not open device "s=/dev/cu.KeySerial1"
> (gdb)
> 
> 
>  	Am I doing something obviously wrong ?
> I checked that the Serial is ok, using zTerm, I get the Angel debug
> monitor fine;
> 

GDB often (for reasons known only to the past) is picky about what the
name of the serial device is.  Try making an alias (hard or soft link)
for the device, e.g. /dev/ttyS0

What system (OS) is this that uses such arcane names?

> xxAngel Debug Monitor (serial) 1.04 (Advanced RISC Machines SDT 2.11a) for 
> AT91 EB0x (1.01)
> Angel Debug Monitor rebuilt on Sep 14 1998 at 14:52:22
> Obx
> 
> (...)
> 
> 9600 8N1
> 
> 
>  	When I open gdb, zTerm has been closed first.
> 
> 
> Any tips ?
> 
> 
> 
> Olivier

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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