summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* flash: clarify protect documentationØyvind Harboe2010-12-151-3/+6
| | | | | | | 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>
* contrib: add source to the cfi flash loadersSpencer Oliver2010-12-108-6/+475
| | | | Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* contrib: make sure loaders use correct archSpencer Oliver2010-12-104-0/+6
| | | | Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* stm32: add STM32E-EVAL external memory config scriptSpencer Oliver2010-12-101-0/+56
| | | | Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* cfi: disable buffer writes for M29W128GSpencer Oliver2010-12-102-5/+16
| | | | | | | | | | 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>
* cfi: allow optional buffer write supportSpencer Oliver2010-12-102-2/+12
| | | | | | | 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>
* cfi: calculate correct timeoutsSpencer Oliver2010-12-102-16/+29
| | | | | | | | 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>
* cfi: prefix string hex outputSpencer Oliver2010-12-101-12/+12
| | | | | | Add hex prefix so we know output is not decimal. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* cfi: add time format to cfi query outputSpencer Oliver2010-12-101-8/+11
| | | | Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* cfi: whitespace and long line cleanupSpencer Oliver2010-12-101-282/+389
| | | | Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* Fix for segmentation fault from freed memory access in ↵Paul Richards2010-12-101-13/+9
| | | | jtag_unregister_event_callback()
* remove srst_pulls_trst from LPC2xxx target scriptsFreddie Chopin2010-12-096-12/+6
| | | | | | 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>
* build: fix build from previous commitSpencer Oliver2010-12-082-2/+2
| | | | | | | commit 740b9e25b410c164e661d0334a9ea4168406726b broke the drivers for ftdi and parport due to retval already being defined. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* jtag: getting the JTAG speed can failØyvind Harboe2010-12-0811-27/+71
| | | | | | | | | | | 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>
* svf: various improvementsAndrew Leech2010-12-071-78/+292
| | | | | | | | * added support for targeting particular tap * improved file reading * improved command line parsing * added progress meter * more readable time measurement output
* lpc2478 target config: CCLK as (mandatory) parameterRolf Meeser2010-12-051-4/+7
|
* xscale: trace buffer remains enabled until explicitly disabledMike Dunn2010-12-042-54/+97
| | | | | | | | | | | | | | | | | | | | | Hi everyone, Since a call went out for patches... been sitting on this for months. For some reason, the xscale trace buffer is automatically disabled as soon as a break occurs and the trace data is collected. This patch was a result of the frustration of always re-enabling it, or else hitting a breakpoint and checking the trace data, only to discover that I forgot to re-enable it before resuming. Don't see why it should work this way. There is no run-time penalty, AFAIK. Along the way, I also cleaned up a little by removing the ugly practice of recording wrap mode by setting the fill count variable to "-1", replacing it with an enum that records the trace mode. I've been using this for months. Comments, criticisms gratefully received. Mike Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
* Add board config for Embedded Artists LPC2478-32Rolf Meeser2010-12-041-0/+148
|
* Fix flash name in Hitex LPC2929 board configRolf Meeser2010-12-041-1/+1
|
* Fix sector layout for 504-KiB LPC2000 devicesRolf Meeser2010-12-041-4/+7
|
* stm32: set default soft reset configSpencer Oliver2010-12-031-0/+4
| | | | | | | If no srst is configured then default to using sysresetreq to reset the target. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* luminary: remove unused config cmds.Spencer Oliver2010-12-035-31/+0
| | | | | | | | | | | Due to commit e40aee2954d2beabe1d8c530d9ff1e564fb01f48 we now honour the targets 'reset_config' setting. Previously we ignored the srst setting for luminary targets. Luminary targets have never supported using srst to reset into debug mode so remove the option from the target configs files. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* cortex_m3: change cortec_m3 reset_config behaviourSpencer Oliver2010-12-032-19/+2
| | | | | | | | | Currently the cmd 'cortex_m3 reset_config' will overide the default target's 'reset_config'. Chnage the behaviour to use the target 'reset_config' if configured and fallback if not. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* config: fix luminary jtag configSpencer Oliver2010-12-021-3/+0
| | | | | | | When this config was updated in commit e3773e3e3d1f1ee0dbb0b69e8babe8419784d1c1 the old jtag declaration was not removed. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* rename some target scripts to be consistent with the restFreddie Chopin2010-12-023-0/+0
| | | | | | Rename Atmel target scripts which had wrong name ("at91" missing for ARM7 AT91SAM7..., "at" missing for AVR ATmega...) Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
* profile: use 100Hz as a default sampling frequencyØyvind Harboe2010-12-011-2/+2
| | | | | | | | 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>
* lpc2900.c: Improve debug output for device probingRolf Meeser2010-12-011-1/+5
|
* lpc2900.c: Add support for new device LPC2926Rolf Meeser2010-12-011-1/+5
|
* LPC2900: Avoid false positive reprobing if first probing failsRolf Meeser2010-12-011-7/+11
|
* Some cosmetic fixes to the Lisa/L layout support functions.Piotr Esden-Tempski2010-11-301-5/+1
|
* Added support for the blinking leds on Floss-JTAG v0.3 and newer.Piotr Esden-Tempski2010-11-302-1/+58
|
* Updated Floss-JTAG config file to support v0.3 and newer. Also added ↵Piotr Esden-Tempski2010-11-302-1/+29
| | | | noeeprom version of the config file for older versions of Floss-JTAG.
* build: fix make install with jimtclSpencer Oliver2010-11-261-0/+0
| | | | | | | Update subproject jimtcl to fix issue with make install. see jimtcl commit 373b721510fd2d0754a41cc70a3b7cfd02e929bd Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* build: correct configure help messageSpencer Oliver2010-11-261-1/+1
| | | | | | | As we default to building jimtcl the help text should show that. No change in functionality or configure args required. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* FLASH/NOR: Rename spearsmi.c to stmsmi.cAntonio Borneo2010-11-232-1/+1
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* FLASH/NOR: rename from spearsmi to stmsmiAntonio Borneo2010-11-235-89/+90
| | | | | | | STMicroelectronics controller SMI is not SPEAr specific. Rename it and change name to every symbol in the code. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* STR750: Add SMI interface supportAntonio Borneo2010-11-232-35/+55
| | | | | | | Modified spearsmi driver to include support for STR75x Added missing initialization in tcl file for STR750 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* NOR/SPEARSMI: fix segfaultAntonio Borneo2010-11-231-0/+1
| | | | | | | If flash chip is not listed in the table, or if no flash is connected, pointer must be properly initialized. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* Documentation: fix typoAntonio Borneo2010-11-231-1/+1
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* flash: iterating over an address range now handles multiple banksØyvind Harboe2010-11-221-1/+38
| | | | | | | e.g. flash erase_address now works across an address range that spans multiple flash chips. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
* fastload: fix error handling upon running out of memoryØyvind Harboe2010-11-221-6/+16
| | | | Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
* build: remove AC_CONFIG_AUX_DIR macroSpencer Oliver2010-11-191-1/+0
| | | | | | This was used during testing and should have been removed. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* build: disable jimtcl lineeditSpencer Oliver2010-11-191-1/+1
| | | | | | | This is a recent jimtcl feature but it currently breaks mingw builds as this system does not have termios.h etc. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* build: fix subconfigure parameter issueSpencer Oliver2010-11-191-1/+1
| | | | | | | When passing CFLAGS for example through to the jimtcl subconfigure the quotes were not being preserved. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* build: update bootstrap commentsSpencer Oliver2010-11-191-5/+1
| | | | Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* build: prepend --with-jim-ext=nvp to jimtcl configureSpencer Oliver2010-11-193-1/+30
| | | | | | | This allows us to add options to jimtcl configure. The default autoconf AC_CONFIG_SUBDIRS does not currently support this. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* build: add autobuild jimtcl to configure scriptsSpencer Oliver2010-11-185-2/+33
| | | | | | | | | | Rather than having to configure/build jimtcl openocd will do this as part of its own build. To use an external jimtcl lib specify disable-internal-jimtcl to the configure step. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* build: add common.mkSpencer Oliver2010-11-1813-43/+19
| | | | | | | Rather than specifying common makefile variables move them all to a common.mk. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* FLASH/NOR: Remove useless file tms470.hAntonio Borneo2010-11-173-40/+15
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* FLASH/NOR: Remove useless file str9xpec.hAntonio Borneo2010-11-173-79/+50
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>