From: Thierry Moreau <Thierry.Moreau@Connotech.com>
To: Torsten Mohr <tmohr@s.netic.de>
Cc: gdb@sources.redhat.com
Subject: Re: transfer own data via GDB remote protocol, flash a micro
Date: Mon, 08 Dec 2003 22:53:00 -0000 [thread overview]
Message-ID: <3FD5041B.82C5C29B@Connotech.com> (raw)
In-Reply-To: <200312082123.40897.tmohr@s.netic.de>
Torsten Mohr wrote:
> Hi,
>
> lets say i'm building a hardware debugger that understands
> GDB remote protocol. And further, that debugger needs
> some info about the hardware that it is attached to.
>
> Can i somehow transfer this data via GDB remote protocol?
>
> I didn't see anything in the info pages, so i think
> this does not work.
>
> As an example, i may want to tell the hardware the
> target voltage, the quarz frequency, some settings
> like, ...
>
> Another question, is it somehow possible to "flash"
> an attached micro via GDB remote protocol?
>
My understanding is that *hardware debugger* is somehow outside the
scope of the GDB project. The various commercial hardware debuggers I
worked with (three of them) used a combination of a) implicit knowledge
of the target processor/debug port architecture, b) editable definition
files, and c) debugger command script files.
I guess that you need to implement at least a) and c) in your GDB
project. GDB sould have a command and protocol frame that selects the
target architecture, so the flavor of a) can be selected among the
target families that you support. If you find necessary or convenient to
use some editable definition files (b)), you might find useful to
download these files with some protocol.
The flash algorithm is perhaps part of a). Alternatively, the flash
operation can be performed by the target itself if you can download a
program in the target RAM and let this program do the flash programming
(I found this approach effective, but my target HW has plentiful RAM
resources).
Sincerely,
--
- Thierry Moreau
CONNOTECH Experts-conseils inc.
9130 Place de Montgolfier
Montreal, Qc
H2M 2A1
Tel.: (514)385-5691
Fax: (514)385-5900
e-mail: thierry.moreau@connotech.com
prev parent reply other threads:[~2003-12-08 22:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-08 20:33 Torsten Mohr
2003-12-08 22:22 ` Mark Newman
2003-12-08 22:53 ` Thierry Moreau [this message]
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=3FD5041B.82C5C29B@Connotech.com \
--to=thierry.moreau@connotech.com \
--cc=gdb@sources.redhat.com \
--cc=tmohr@s.netic.de \
/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