Re: Remote Flashing w/ Window Client & OpenOCD
- From: Dominic <Dominic.at.usenet@xxxxxxx>
- Date: Wed, 28 Feb 2007 18:05:29 +0100
linnix wrote:
Yes, a write command as well as a erase command.The buffer used for packet handling is currently 2048 bytes (GDB_BUFFER_SIZE
Alternatively, I can always erase before write.
Currently, I "M 64 bytes" to the server and issue a write.
I ran into a buffer size problem for 128 bytes,
but it could be Window Socket problem.
I need a long delay between command and response,
so bigger buffer size would be better.
in gdb_server.h), enough for ~1000byte of hex-encoded data. The code that
converts the hex string to binary is also rather simple, so that should be
working fine, too.
Is vFlash a telnet command?vFlash is part of the GDB remote protocol since version 6.6:
I would like to have a GDB command,
to avoid opening a different port.
http://sourceware.org/gdb/current/onlinedocs/gdb_33.html#SEC673
Note that you don't need to open a telnet port when you want to sent
commands to the OpenOCD's command interpreter - just use GDB's "qRcmd"
packet (monitor <command> from within a GDB session). You could use that to
call a "flash copy ..." command for example.
The only commands that shouldn't be sent via qRcmd are commands that affect
the target state, like resume or reset (without halt/run_and_halt), as the
GDB wouldn't know about the state change.
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
- 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: Re: Dynamic Linking of modules
- Next by Date: Re: Remote Flashing w/ Window Client & OpenOCD
- Previous by thread: Re: Remote Flashing w/ Window Client & OpenOCD
- Next by thread: Re: Remote Flashing w/ Window Client & OpenOCD
- Index(es):
Relevant Pages
|