From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15937 invoked by alias); 8 Dec 2003 22:22:54 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15832 invoked from network); 8 Dec 2003 22:22:40 -0000 Received: from unknown (HELO web13804.mail.yahoo.com) (216.136.175.14) by sources.redhat.com with SMTP; 8 Dec 2003 22:22:40 -0000 Message-ID: <20031208222238.75946.qmail@web13804.mail.yahoo.com> Received: from [24.59.142.117] by web13804.mail.yahoo.com via HTTP; Mon, 08 Dec 2003 14:22:38 PST Date: Mon, 08 Dec 2003 22:22:00 -0000 From: Mark Newman Subject: Re: transfer own data via GDB remote protocol, flash a micro To: Torsten Mohr , gdb@sources.redhat.com In-Reply-To: <200312082123.40897.tmohr@s.netic.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-12/txt/msg00148.txt.bz2 As for reading the numbers: READ MEMORY Syntax m, 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 == 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 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. >