Re: Remote Flashing w/ Window Client & OpenOCD
- From: Dominic <Dominic.at.usenet@xxxxxxx>
- Date: Wed, 28 Feb 2007 13:03:11 +0100
linnix wrote:
Yes, I didn't bother to post the .h, just add the .mode member to it.I tried contacting you through the form at http://linnix.com/ocd/ but maybe
that didn't work. Could you please make sure that the complete source code
used to create the binary you're distributing is available, including the
COPYING file?
My remote client (on Window) first upload data into target sram, thenAh, I never thought of such a scenario. I suppose you're using the GDB
issue a command to flash it. Problem with existing code is that the
file must be on the server first.
[snip]
Telnet interface is not as easy as GDB. Packet size and format are
easier to control in GDB, where Telnet can be anything. My Window
client already have GDB and I hate to add another protocol to it.
[snip]
No, the remote client dumps into the target memory directly.
protocol's M or X packet to write target memory, and all you now want to do
is trigger a copy from memory to flash.
The "clean" approach would be the use of the new vFlash command (I mixed
that up with the "$f,..." you wrote about), but when using a "real" GDB
client that would also require the use of an XML description file that
tells the GDB when to use memory access (M, X) and when to use flash access
(vFlash).
A simpler alternative that's still usefull for other uses would be a "flash
copy <bank> <source-address> <destination-address>" command, if you're
interested in getting these changes upstream. If what you want is a private
fork that's only meant to work with your own Windows client then you can of
course use whatever is easiest for you to implement.
Regards,
Dominic
.
- Follow-Ups:
- Re: Remote Flashing w/ Window Client & OpenOCD
- From: linnix
- Re: Remote Flashing w/ Window Client & OpenOCD
- References:
- Remote Flashing w/ Window Client & OpenOCD
- From: linnix
- Re: Remote Flashing w/ Window Client & OpenOCD
- From: Dominic
- Re: Remote Flashing w/ Window Client & OpenOCD
- From: linnix
- Remote Flashing w/ Window Client & OpenOCD
- Prev by Date: Dynamic Linking of modules
- Next by Date: Re: Experiences with FreeRTOS?
- Previous by thread: Re: Remote Flashing w/ Window Client & OpenOCD
- Next by thread: Re: Remote Flashing w/ Window Client & OpenOCD
- Index(es):
Relevant Pages
|