- 01 Apr, 2011 1 commit
-
-
Øyvind Harboe authored
Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 31 Mar, 2011 1 commit
-
-
Øyvind Harboe authored
Really a Cortex-A specific option, but there is no system in place to support target specific options currently and there has been no need for such a system until now. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 22 Mar, 2011 1 commit
-
-
Øyvind Harboe authored
better to keep this in a single file. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 17 Mar, 2011 2 commits
-
-
Mathias K authored
Targets can implement read/write_buffer to handle alignment.
-
Uwe Hermann authored
Fix a bunch of typos. Most are in code comments, so nothing should break. UNKOWN_COMMAND and CMD_UNKOWN are not used elsewhere, so correcting the spelling should also not break anything.
-
- 03 Feb, 2011 1 commit
-
-
Mathias K authored
Hello, this patch add 24bit support to the target buffer functions and little/big endian functions. Regards, Mathias
-
- 31 Jan, 2011 2 commits
-
-
Aaron Carroll authored
add target and build support for A9 Signed-off-by:
Aaron Carroll <aaronc@cse.unsw.edu.au>
-
Aaron Carroll authored
ARM Cortex-A9 multi-core chips expose a single TAP/DAP which connects to both cores. The '-coreid' option selects which core the target should connect to. Note that at present, OpenOCD can connect to either core, but not both simulatenously, until ADI contexts can be shared. Signed-off-by:
Aaron Carroll <aaronc@cse.unsw.edu.au>
-
- 04 Jan, 2011 1 commit
-
-
Spencer Oliver authored
We only use the struct working_area member 'free' as a true/false type so might as well use a bool data type. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
- 29 Dec, 2010 2 commits
-
-
Andrew MacIsaac authored
I received a number of "-Wshadow" related warnings (treated as errors) while trying to build on OS X Leopard. In addition, there were two miscellaneous other warnings in the flash drivers. Attached are two patches which correct these issues and the commit messages to accompany them. My system has the following configuration (taken from uname -a): Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 === Werror_patch.txt Commit Message === compilation: fixes for -Wshadow warnings on OS X These changes fix -Wshadow compilation warnings on OS X 10.5.8 Compiled with the following configure command: ../configure --prefix=/usr/local --enable-maintainer-mode --enable-jlink --enable-ft2232_libftdi === flash_patch.txt Commit Message === compilation: fixes for flash driver warnings on OS X These changes fix two compilation warnings on OS X 10.5.8: ../../../../src/flash/nor/at91sam3.c:2767: warning: redundant redeclaration of 'at91sam3_flash' ../../../../src/flash/nor/at91sam3.c:101: warning: previous declaration of 'at91sam3_flash' was here and ../../../../src/flash/nor/stmsmi.c:205: warning: format not a string literal and no format arguments Compiled with the following configure command: ../configure --prefix=/usr/local --enable-maintainer-mode --enable-jlink --enable-ft2232_libftdi === Andrew
-
Ø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>
-
- 01 Dec, 2010 1 commit
-
-
Øyvind Harboe authored
it's a lie that is somewhere in the vicinity of the truth. Certainly 64MHz confuses gprof and produces zero output and no error messages. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 22 Nov, 2010 1 commit
-
-
Øyvind Harboe authored
Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 04 Nov, 2010 1 commit
-
-
ddraskovic authored
So far most of the people have been using existing ARM966E in the place of ARM946E, because they have practically the same scan chains. However, ARM946E has caches, which further complicates JATG handling via scan-chain. this was preventing single-stepping for ARM946E when SW breakpoints are used. This patch thus introduces : 1) Correct cache handling on memory write 2) Possibility to flush whole cache and turn it off during debug, or just to flush affected lines (faster and better) 3) Correct SW breakpoint handling and correct single-stepping 4) Corrects the bug on CP15 read and write, so CP15 values are now correctly R/W
-
- 29 Oct, 2010 1 commit
-
-
Øyvind Harboe authored
Delete obsolete jim that comes with OpenOCD.
-
- 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>
-
- 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>
-
- 15 Aug, 2010 1 commit
-
-
Oleksandr Tymoshenko authored
committed so as to ease cooperation and to let it be improved over time. So far it supports: - halt/resume - registers inspection - memory inspection/modification I'm still getting up to speed with OpenOCD internals and AVR32 so code is a little bit messy and I'd appreciate any feedback.
-
- 11 Aug, 2010 1 commit
-
-
Øyvind Harboe authored
ocd_ prefix is used internally in OpenOCD as a kludge more or less to deal with the two kinds of commands that OpenOCD has. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 09 Aug, 2010 1 commit
-
-
Øyvind Harboe authored
back-off algorithm for polling. Double polling interval up to 5000ms when it fails. when polling succeeds, reset backoff. This avoids flooding logs(as much) when working with conditions where the target polling will fail. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 02 Aug, 2010 1 commit
-
-
Øyvind Harboe authored
It is useful to know that the printed errors are *all* the errors there were. Added missing error handling(found by inspection). Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 22 Jun, 2010 3 commits
-
-
Øyvind Harboe authored
just like the mdw command Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
$_TARGETNAME mww phys 0x10 0xdeadbeef => write 0xdeadbeef to physical address 0x10 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Edgar Grimberg authored
wait is declared in /usr/include/sys/wait.h Signed-off-by:
Edgar Grimberg <edgar.grimberg@zylin.com>
-
- 15 Jun, 2010 1 commit
-
-
Øyvind Harboe authored
Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 14 Jun, 2010 1 commit
-
-
Øyvind Harboe authored
failure to write to memory was not propagated. This is an interesting case of broken error handling: with exceptions we wouldn't have had this at all, and I also wonder if there is a GCC option to warn about these kinds of potential bugs. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 08 Jun, 2010 1 commit
-
-
Øyvind Harboe authored
Showing up to 128 differences. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 16 May, 2010 1 commit
-
-
Jon Povey authored
Change download rate messages about kibibytes from "kb/s" to "KiB/s" units. See: http://en.wikipedia.org/wiki/Data_rate_units Signed-off-by:
Jon Povey <jon.povey@racelogic.co.uk>
-
- 05 May, 2010 2 commits
-
-
Øyvind Harboe authored
There are a million reasons why cached protection state might be stale: power cycling of target, reset, code executing on the target, etc. The "flash protect_check" command is now gone. This is *always* executed when running a "flash info". As a bonus for more a more robust approach, lots of code could be deleted. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
Various commands, e.g. "arm mcr xxxx" would fail if invoked upon startup since it there was no command context defined for the jim interpreter in that case. A Jim interpreter is now associated with a command context(telnet, gdb server's) or the default global command context. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 04 May, 2010 1 commit
-
-
Øyvind Harboe authored
target memory allocation can be implemented not to show bogus error messages. E.g. when trying a big allocation first and then a smaller one if that fails. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 09 Apr, 2010 2 commits
-
-
Antonio Borneo authored
Remove unused functions: - target_all_handle_event Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
Add "static" qualifier to private functions. Remove unused "extern" in src/ecosboard.c Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
- 04 Apr, 2010 3 commits
-
-
David Brownell authored
I'm not sure what caused this significant character to get deleted. it may be related to intermittent Editor or terminal flakes I've been seeing lately (sigh). This fix is trivial. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Fixing one bug can easily uncover another .... in this case, making sure that we properly invalidate some cached NOR state when resuming arbitrary target code turned up an issue when the code wasn't quite arbitrary (and we couldn't know that, but some parts of OpenOCD assumed the cache would not be invalidated. Specifically: some flash drivers (like CFI) update that state in loops with downloaded algorithms, thus invalidating the state as it's probed. + Add a new target state flag, to record whether the target is running downloaded algorithm code. + Use that flag to add a special case: "trust" downloaded algorithms not to corrupt that cached state, bypassing cache invalidation. Also update some of the documentation to stipulate that this flavor of trustworthiness is now *required* ... not just a fortuitous acident. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
For some reason there are *two* schemes for interposing logic into the run_algorithm() code path... One is a standard procedural wapper around the target method invocation. the other (superfluous) one hacked the method table by splicing a second procedural wrapper into the method table. Remove it: * Rename its slightly-more-featureful wrapper so it becomes the standard procedural wrapper, leaving its added logic (where it should have been in the first place. Also add a paranoia check, to report targets that don't support algorithms without traversing a NULL pointer, and tweak its code structure a bit so it's easier to modify. * Get rid of the superfluous/conusing method table hacks. This is a net simplification, making it simpler to analyse what's going on, and then interpose logic . ... by ensuring there's only one natural place for it to live. ------------ Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- 25 Mar, 2010 1 commit
-
-
Øyvind Harboe authored
I don't know when "poll off" broke, but "poll off" didn't stop background polling of target. The polling status flag simply wasn't checked in the handle_target timer callback. All target polling(including power/reset state) is now stopped upon "poll off". Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 17 Mar, 2010 1 commit
-
-
Øyvind Harboe authored
invoke keep_alive() to make sure that the default 2000ms timeout does not trigger. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-