transfer own data via GDB remote protocol, flash a micro
Mark Newman
markn_46@yahoo.com
Mon Dec 8 22:22:00 GMT 2003
As for reading the numbers:
READ MEMORY
Syntax
m<addr>,<len>
Read len bytes starting at memory address addr.
Reply
hex-data
The values of the requested memory in target byte
order. May be shorter than requested, if some of the
memory could not be read.
E<n>
n == two-digit error code.
NOTE: partial success should be reported as an error.
There is a corresponding write but I am not aware of
anything that supports "flash" burning memory. Is
anyone else aware of anything?
Mark Newman
--- Torsten Mohr <tmohr@s.netic.de> 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?
>
>
> Best regards,
> Torsten.
>
More information about the Gdb
mailing list