public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: "Shaun Jackman" <shaunj@gray-interfaces.com>
To: "gdb list" <gdb@sources.redhat.com>
Subject: serial RDI
Date: Tue, 22 Aug 2000 15:09:00 -0000	[thread overview]
Message-ID: <006c01c00c85$8454af60$6801a8c0@gray.internal> (raw)

I have an Atmel EB40, AT91M40807 processor (ARM7TDMI) which came with an
Angel monitor in flash. I'm having difficulty connecting to it at any baud
rate above 9600.
I'm using Insight 5.0, but am running it no-windows (-nw) to try to sort out
this remote debugging problem.

This is the problem I run into...

This GDB was configured as "--host=i586-pc-linux-gnu --target=arm-elf".
(gdb) file main.elf
Reading symbols from main.elf...done.
(gdb) set remotebaud 19200
(gdb) target rdi /dev/ttyS1
Angel Debug Monitor (serial) 1.04 (Advanced RISC Machines SDT 2.5) for
AT91EB40
(2.00)
Angel Debug Monitor rebuilt on Apr 07 2000 at 12:40:31
Serial Rate:  19200
[dies here and never comes back]
It silently ignores ctrl-c and makes no response to a SIGINT
I have to send a SIGKILL to get my console back.

But it works at 9600...
This GDB was configured as "--host=i586-pc-linux-gnu --target=arm-elf".
(gdb) set remotebaud 9600
(gdb) file main.elf
Reading symbols from main.elf...done.
(gdb) target rdi /dev/ttyS1
Angel Debug Monitor (serial) 1.04 (Advanced RISC Machines SDT 2.5) for
AT91EB40
(2.00)
Angel Debug Monitor rebuilt on Apr 07 2000 at 12:40:31
Serial Rate:   9600
Connected to ARM RDI target.
(gdb)
[works]

I can run it up to 38400 with the ARM Ltd. debugger, but have been
unsuccessful running it any faster than 9600 with gdb.
I would really like to get this working at a faster baudrate, and gdb's lack
of comunication when it fails is disconcerting.
Any suggestions on where I could start trouble shooting?
I tried
set debug remote 1
but the output was no different than above.

Thanks,
Shaun


             reply	other threads:[~2000-08-22 15:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-22 15:09 Shaun Jackman [this message]
2000-08-22 15:24 ` Grant Edwards
2000-08-23  7:18   ` Grant Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='006c01c00c85$8454af60$6801a8c0@gray.internal' \
    --to=shaunj@gray-interfaces.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).