- 29 Dec, 2010 2 commits
-
-
Øyvind Harboe authored
Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
error numbers are only reported at DEBUG log levels and used internally, they are not part of the user interface. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 25 Dec, 2010 1 commit
-
-
David Brownell authored
This piggy backs on JTAG so it's not yet pretty, but that seems unavoidable so far given today's OpenOCD internals. SWD init and data transfer are unfinished and untested, but that should cause no regressions, and will be addressed by the time drivers start using this infrastructure. Checking in whould get the code working better sooner, and turn up any structural/architectural issues while they're easier to fix. The debug adapter drivers will provide simple SWD driver structs with methods that kick in as needed (instead of JTAG). So far just one adapter driver has been updated (not yet ready to use or circulate). The biggest issues are probably - fault handling, where the ARM Debug Interface V5 pipelining needs work in both JTAG and SWD modes and - missing rewrite of block I/O code to work on both of our Cortex-ready transports (Current code is hard-wired to JTAG); relates also to the pipelining issue. - omitted support to activate/deactivate SWO/SWV trace (this is technically trivial, but configuring what to trace is NOT. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> ---- doc/openocd.texi | 17 ++ src/jtag/core.c | 3 src/jtag/interface.h | 4 src/jtag/jtag.h | 2 src/jtag/swd.h | 114 +++++++++++++++++++ src/jtag/tcl.c | 2 src/target/adi_v5_swd.c | 281 ++++++++++++++++++++++++++++++++++++++++++++++-- src/target/arm_adi_v5.c | 8 + src/target/arm_adi_v5.h | 3 9 files changed, 425 insertions(+), 9 deletions(-)
-
- 23 Dec, 2010 7 commits
-
-
Spencer Oliver authored
This change matches the previous behaviour of using the known flash address. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
The flash bank name is a required element in adding flash banks, however other than looking at the config file there is no way of getting the name used in openocd. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
This has been a long standing bug that has never been spotted. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
add supoort for xl family boot bank option. The option byte handling will be cleaned up in a later patch. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
This patch adds the initial dual flash bank support for devices such as the stm32xl family. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
As the stm32 flash loader now uses the preprocessor change extension so that it used by default. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
- 22 Dec, 2010 3 commits
-
-
Øyvind Harboe authored
Define a proc which PCBs can easily override. Also demonstrates how to add multiple TAP exepcted-id's using arguments. Added 0x3f0f0f0f as expected TAP-id. Old LPC2148 silicon I happened to have on my desk? Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
this allows configuration scripts to export a init_targets proc rather than setting up the target directly. This allows for new conventions in how to set up target vs. board script and how to transfer default settings between board and target scripts. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
use "nosubmodule" to skip setting up submodules. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 21 Dec, 2010 1 commit
-
-
Øyvind Harboe authored
the error values is not part of the interface to the user, so they should never be printed in LOG_INFO or LOG_USER. Printing them in LOG_DEBUG() rarely makes much sense but is OK. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 20 Dec, 2010 3 commits
-
-
Tormod Volden authored
-
Tormod Volden authored
Make consistent use of hex memory size for flashing. Delete stm32f10x_128k_eval.cfg. It has no product reference nor any settings in it.
-
Tormod Volden authored
ST recently rewamped (screwed up) their web site and broke all links. Also match the chip names with those on the web site product descriptions.
-
- 19 Dec, 2010 1 commit
-
-
Michael Schwingen authored
-
- 18 Dec, 2010 3 commits
-
-
Michael Trensch authored
-
Øyvind Harboe authored
Only Tcl comments are now supported. For classic style commands comments were supported at the end of the line. Move in the direction of letting the script language decide syntax, rather than have special rules for some commands. Before this patch goes in, the scripts should be updated to use ;# instead of # for end of line comments. > mdw 0 1 2 mdw ['phys'] address [count] zy1000.cpu mdw address [count] Command handler execution failed in procedure 'mdw' > mdw 0 1 #2 mdw ['phys'] address [count] zy1000.cpu mdw address [count] Command handler execution failed in procedure 'mdw' > mdw 0 1 ;#2 0x00000000: ffffffff > mdw 0 1 0x00000000: ffffffff > mdw 0 0x00000000: ffffffff Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Antonio Borneo authored
End of line comments fixed with ';' before '#'. Added few additional 'space' to keep indentation in multi-line comments. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
- 16 Dec, 2010 2 commits
-
-
Øyvind Harboe authored
Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
John Devereux authored
Hi, I think there are errors in amt_jtagaccel.c I attach a small patch that I needed to make it compile.
-
- 15 Dec, 2010 3 commits
-
-
Paul Richards authored
-
Øyvind Harboe authored
the unprotect fn in stm32 needs to unprotect more sectors than was requested aligned to some boundary. Print warning when this happens. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
some chips unprotect more than the range asked for. The protect fn, must unprotect/protect minimally the range given. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 10 Dec, 2010 10 commits
-
-
Spencer Oliver authored
Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
For some reason buffer writes for the M29W128G do not work reliably, so disable them. See: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=504a3e72208fc6a65924426ff5693982590bccdc Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
Some flash's do not support buffer writes, so we now check they are supported before trying to use them. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
The existing code used incorrect timeout values for the various cfi operations. We now calculate the timeouts and convert to msecs if necessary. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
Add hex prefix so we know output is not decimal. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Spencer Oliver authored
Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Paul Richards authored
-
- 09 Dec, 2010 1 commit
-
-
Freddie Chopin authored
LPC2xxx do not require reset_config srst_pulls_trst. This can cause various "strange" problems when flashing the chip, because "reset halt" actually allows the chip to run for some short period of time and execute some code. Signed-off-by:
Freddie Chopin <freddie_chopin@op.pl>
-
- 08 Dec, 2010 2 commits
-
-
Spencer Oliver authored
commit 740b9e25 broke the drivers for ftdi and parport due to retval already being defined. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Øyvind Harboe authored
If the JTAG speed has not been set, then it has no defined value, add code to propagate the error. No change to actual behavior as no new failure paths have been introduced. This is a no-op patch to make subsequent patches smaller. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 07 Dec, 2010 1 commit
-
-
Andrew Leech authored
* added support for targeting particular tap * improved file reading * improved command line parsing * added progress meter * more readable time measurement output
-