This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

Re: GDB 5.0 works only at 9600 bps?


Hi Fernando!
I did use the the -b option (see below). I just wanted to show
with the first lunch of gdb that it works on 9600bps. In the second 
it gets started with -b 115200. It always hangs with a different
speed than the default speed.

I have seen 57600bps under win/multi (gr**nhills inc.) with
my ATEB01, so it is not the board.

jc

Am Mit, 13 Dez 2000 schrieben Sie:
> Hi,
> 
> You must use the command:
> 
> set remotebaud 115200
> 
> BEFORE
> 
> issuing your target command.
> 
> You can also use the option "-b" when starting gdb like:
> 
> tools/bin/arm-elf-gdb -nw -b 115200
> 
> 
> I use this frequently and it works fine.
> 
> However, note that some boards do not support faster speeds.
> I have a $150 ARM AEB development board and the Angel monitor
> in there does not get the line speed up.
> 
> If you still have problems, there is a RDI log facility contributed by
> Grant Edwards that can be used to see the protocol messages.
> 
> At the very beginning, the communication speed is 9600.
> GDB sends a list of acceptable speeds to the target and it responds
> with the best it can do.  They both switch the line to that speed
> at that moment.
> 
> But I believe the set remotebaud will be enough.
> 
> Fernando
> 
> 
> Jens-Christian Lache wrote:
> > 
> > Hi!
> > Am Die, 12 Dez 2000 schrieben Sie:
> > > Joel Brenner wrote:
> > > >
> > > > Hi, I've just installed GNU developement toolchain for arm-elf target
> > > > under Linux and It works fine. I've just two  questions:
> > > > - Insight 5.0 talk with Angel only at 9600 bps. Are there not
> > > > possibilities to do this faster?
> > > > -it's possible to use Macraigor's wiggler with gdb or insight?
> > > >
> > > > Thanks a lot for help!
> > >
> > > It goes up to 115200.
> > >
> > > Get a newer Insight snapshot.
> > I did so. But:
> > lache@lab04:~ > tools/bin/arm-elf-gdb -nw c/internal.sram/bin/internal.sram.tc1_interrupt_handler.arm
> > GNU gdb 20001212
> > Copyright 2000 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-linux-gnu --target=arm-elf"...
> > (gdb) target rdi /dev/ttyS1
> > 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) quit
> > The program is running.  Exit anyway? (y or n) y
> > lache@lab04:~ > tools/bin/arm-elf-gdb -nw -b 115200 c/internal.sram/bin/internal.sram.tc1_interrupt_handler.arm
> > GNU gdb 20001212
> > Copyright 2000 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-linux-gnu --target=arm-elf"...
> > (gdb) target rdi /dev/ttyS1
> > 
> > nothing ...., like before. It hangs. The binary looks like:
> > lache@lab04:~ > ll tools/bin/arm-elf-gdb
> > -rwxr-xr-x   1 lache    hiwi      9313630 Dez 13 10:13 tools/bin/arm-elf-gdb
> > 
> > I really would love to have a rate of 115200! Could there be any interference
> > with my old version?
> > 
> > >
> > >
> > >
> > > --
> > > Fernando Nasser
> > > Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
> > > 2323 Yonge Street, Suite #300
> > > Toronto, Ontario   M4P 2C9
> > --
> > 
> > Jens-Christian Lache
> > Technische Universitaet Hamburg-Harburg
> > www.tu-harburg.de/~sejl1601
> > Mail:
> > lache@tu-harburg.de
> > lache@ngi.de
> > Tel.:
> > +0491759610756
> 
> -- 
> Fernando Nasser
> Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
> 2323 Yonge Street, Suite #300
> Toronto, Ontario   M4P 2C9
-- 


Jens-Christian Lache
Technische Universitaet Hamburg-Harburg
www.tu-harburg.de/~sejl1601
Mail:
lache@tu-harburg.de
lache@ngi.de
Tel.:
+0491759610756

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