- 28 Oct, 2010 3 commits
-
-
Spencer Oliver authored
- add comment where to find the various loaders src files. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
Add src code for ram loaders to contrib directory. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Øyvind Harboe authored
measure_clk indicates ca. 3-4MHz, so 1MHz should be safe. Added self_test proc used to test that rclk worked. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 27 Oct, 2010 1 commit
-
-
Øyvind Harboe authored
help would not show help for commands when the command interpreter was in the wrong mode, which means that e.g. "help newtap" didn't work, it wouldn't show the "jtag newtap" help as it was a configuration command. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 25 Oct, 2010 4 commits
-
-
Peter Stuge authored
Signed-off-by:
Peter Stuge <peter@stuge.se>
-
Peter Stuge authored
srst_pulls_trst may be true on some (broken) LPC1768 boards but is not true in general for the LPC1768. Signed-off-by:
Peter Stuge <peter@stuge.se>
-
Michal Demin authored
Signed-off-by:
Michal Demin <michaldemin@gmail.com>
-
Michal Demin authored
Signed-off-by:
Michal Demin <michaldemin@gmail.com>
-
- 12 Oct, 2010 2 commits
-
-
Antonio Borneo authored
Collect variable definitions. Report syntax error to command dispatcher. Propagate error when unable to open file. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
The struct fileio is used after fileio_close(). Move fileio_close() after last usage. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
- 10 Oct, 2010 2 commits
-
-
David Brownell authored
Provide new helper proc that can set up either an SWD or JTAG DAP based on the transport which is in use -- mostly for SWJ-DP. Also update some SWJ-DP based chips/targets to use it. The goal is making SWD-vs-JTAG transparent in most places. SWJ-DP based chips really need this flexible configuration to cope with debug adapters that support different transports, without needing new target configs for each transport or adapter. For JTAG-DP, callers will use "jtag newtap" directly, as today; only one chip-level transport option exists. For SW-DP (e.g. LPC1[13]xx or EFM32, they'll use "swd newdap" directly (part of an upcoming SWD transport patch). Again, only one transport option exists, so hard-wiring is appropriate there. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Provide URL for a recent version of JLINK protocol. Signed-Off-By:
David Brownell <dbrownell@users.sourceforge.net>
-
- 05 Oct, 2010 2 commits
-
-
Spencer Oliver authored
Remove any build errors for strtol when building release version of openocd. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
When usng gdb pipes we need to keep openocd output at a minimum, otherwise the gdb stdin will overflow and fail. Make the calls to gdb_port and log_output synchronous to stop this. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
- 04 Oct, 2010 2 commits
-
-
Spencer Oliver authored
Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
commit 50d5441e caused native windows build to fail. Firstly this patch fixes the build issue, but it also disables support for named pipes under Windows. Windows does not support posix named pipes. A cross-platfom access layer will need creating before support can be enabled again. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
- 01 Oct, 2010 9 commits
-
-
Øyvind Harboe authored
Allows using non-standard port number. Default to port 69. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
Stick with the name "gdb_port" even if this command can be used for other things(disable, named pipes, anonymous stdin/out pipe). "port" is correct for probably more than 90% of use cases, if not more. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
-p/--pipe is now deprecated. Use '-c "gdb_port pipe;log_output openocd.log"' instead. Warning logged. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
This will allow switching to using named pipes. Split this out as a seperate commit to make changes easier to follow. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
depending on whether the connection is over a socket or pipe, the read is done differently. pipes can return -1 when writing 0 bytes, make 0 byte writes a successful no-op. 0 byte writes falls out naturally of tcl server code. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
pipes have different fd's for in/out. This makes the code more orthogonal and prepares for adding pipes. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
there was special support to support pressing 'x' to quit openocd. ctrl-c is sufficient. The main server loop is already complicated enough. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
There is an explicit command "log_output" that can be used to redirect log output to a file, no need for a hack in the first place. Before enabling pipes, use "log_output foo" to redirect log output to the "foo" files. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Luca Bruno authored
ep93xx and at91rm9200 are conditionally built only on arm and were not updated to reflect changes in command registration handler. This patch makes them properly compile again, fixing a build failure experienced on Debian armel. Signed-off-by:
Luca Bruno <lucab@debian.org> Signed-off-by:
Zachary T Welch <zwelch@codesourcery.com>
-
- 29 Sep, 2010 2 commits
-
-
Øyvind Harboe authored
Part of making the fileio API more robust. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 28 Sep, 2010 1 commit
-
-
Antonio Borneo authored
In previous patch, I have introduced again the symbol "ocd_mem2array", now replaced by "mem2array". Fix the error. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
- 27 Sep, 2010 3 commits
-
-
Øyvind Harboe authored
memory leaks and missing check on memory allocation. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
struct imageection => struct imagesection Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Zachary T Welch authored
Setting the OMAP3530 DBGEN bit must be done in physical memory, so update omap3_dbginit callback to use the new 'mww phys' command syntax.
-
- 26 Sep, 2010 2 commits
-
-
Øyvind Harboe authored
Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
snuck in at some point... Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 21 Sep, 2010 4 commits
-
-
Øyvind Harboe authored
short story: if the JTAG clock is too high, then the behavior will be flaky and kludging the code may seem to make things beter, but really it's just a red herring. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
sensible error must be reported at failure site Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
error is now reported at failure site. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Antonio Borneo authored
TCL procedures mrw and mmw, originally in DaVinci target code, are duplicated in other TCL scripts. Moved in a common helper file, and added help/usage description. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
- 20 Sep, 2010 3 commits
-
-
Øyvind Harboe authored
not used. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
capture of progress output would get polling results. This will break in the example below where polling output would override the tcl return value. capture {sleep 10000; set abc def} Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
by using ctrl-z instead of line end, multi-line tcl scripts can be handled. Testing: send ctrl-z a couple of times to make telnet enter the mode where it sends ctrl-z unencoded. Programs that talk to the tcl_server can send ctrl-z to indicate end of tcl-let to be executed without having to worry about telnet protocols. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-