- 09 Jan, 2011 3 commits
-
-
Eric Wetzel authored
Remove extra \n from LOG_DEBUG, LOG_INFO, and LOG_WARNING messages Remove LOG_INFO_N LOG_INFO_N was only used once and had a \n at the end Change LOG_USER_N calls that end with \n to LOG_USER
-
Freddie Chopin authored
Add another level of procedures to LPC2xxx initialization - procedures for specific targets (setup_lpc<number>) take core clock and adapter clock as parameters. This way "constant" parameters (flash size and type, CPUTAPID, etc.) do not need to be copied if one wishes to change the "variable" parameters - like the core clock or adapter clock - in a board config file or somewhere else. Signed-off-by:
Freddie Chopin <freddie_chopin@op.pl>
-
David Brownell authored
-
- 07 Jan, 2011 1 commit
-
-
Freddie Chopin authored
Signed-off-by:
Freddie Chopin <freddie_chopin@op.pl>
-
- 06 Jan, 2011 4 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>
-
Jonathan Dumaresq authored
Signed-off-by:
Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
-
Jonathan Dumaresq authored
Signed-off-by:
Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
-
- 05 Jan, 2011 1 commit
-
-
Eric Wetzel authored
Fixed in many other places, and submitted in response to Øyvind's invitation.
-
- 04 Jan, 2011 2 commits
-
-
Spencer Oliver authored
Add a working area that is preserved between calls to mips_m4k_bulk_write_memory - this gives us a speed increase of approx 3kb/sec during flash writes to the pic32mx. This area is released during a resume/reset. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
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>
-
- 03 Jan, 2011 2 commits
-
-
Øyvind Harboe authored
This is done in many other places as well, patch to fix gratefully accepted!
-
Øyvind Harboe authored
Do not propagate error number to user. This is for internal programming purposes only. Error messages to the user is reported as text via LOG_ERROR(). Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 02 Jan, 2011 18 commits
-
-
Michael Schwingen authored
Signed-off-by:
Michael Schwingen <michael@schwingen.org>
-
Michael Schwingen authored
cfi_protect is not implemented on Spansion flashes (many do not even have protection bits). Demote from error to warning, so that common board code can use "flash write_image erase unlock" regardless of the flash type. Signed-off-by:
Michael Schwingen <michael@schwingen.org>
-
Michael Schwingen authored
non-CFI flash code uses data from CFI structures. Make sure that timeouts are filled in on non-CFI flashes, and print CFI information in all cases, nut just on CFI flashes. Signed-off-by:
Michael Schwingen <michael@schwingen.org>
-
Jon Povey authored
Signed-off-by:
Jon Povey <jon.povey@racelogic.co.uk> min_time was effectively ignored, I needed it to program a Lattice MachXO which uses a RUNTEST to wait for an erase operation, amongst other things. With this patch pauses happen and I can program the device with an SVF generated in LSC ispVM (with "Rev D Standard" checked to suppress nonstandard LOOP statements)
-
Jon Povey authored
Signed-off-by:
Jon Povey <jon.povey@racelogic.co.uk>
-
Antonio Borneo authored
Remove "target" form private data, and use common one in struct nand_block. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
Remove "target" form private data, and use common one in struct nand_block. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
Remove "target" form private data, and use common one in struct nand_block. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
Remove "target" form private data, and use common one in struct nand_block. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
Remove "target" form private data, and use common one in struct nand_block. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
Remove "target" form private data, and use common one in struct nand_block. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
Remove "target" form private data, and use common one in struct nand_block. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
Remove "target" form private data, and use common one in struct nand_block. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
Every NAND driver keeps private copy of "target" structure. Prepare infostructure to move private "target" copy in common/shared struct nand_device. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
Fix segfault if incomplete command "nand device dummy" is executed. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
Table of NAND devices reports operating voltage. Replace comma with proper decimal dot. Øyvind: "." is correct for UK/US, but incorrect for many other languages. OpenOCD is not localized at this point, so sticking to "." for US/UK should be OK. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Antonio Borneo authored
From struct nand_flash_controller : - remove unused field register_commands; - remove field controller_ready, exported but never referenced. Remove dead code pointed by controller_ready. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
- 30 Dec, 2010 1 commit
-
-
Marek Vasut authored
This patch fixes the issue where the OMAP CPU (and possibly others) was mistaken for iMX51 and therefore had misadjusted debug base. Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
- 29 Dec, 2010 4 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
Why hasn't earlier versions of GCC caught this? Bug? Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Ø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 3 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>
-