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]
Other format: [Raw text]

Re: transfer own data via GDB remote protocol, flash a micro


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


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