aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-10cfi: prefix string hex outputSpencer Oliver
Add hex prefix so we know output is not decimal. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-10cfi: add time format to cfi query outputSpencer Oliver
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-10cfi: whitespace and long line cleanupSpencer Oliver
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-10Fix for segmentation fault from freed memory access in ↵Paul Richards
jtag_unregister_event_callback()
2010-12-09remove srst_pulls_trst from LPC2xxx target scriptsFreddie Chopin
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>
2010-12-08build: fix build from previous commitSpencer Oliver
commit 740b9e25b410c164e661d0334a9ea4168406726b broke the drivers for ftdi and parport due to retval already being defined. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-08jtag: getting the JTAG speed can failØyvind Harboe
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>
2010-12-07svf: various improvementsAndrew Leech
* added support for targeting particular tap * improved file reading * improved command line parsing * added progress meter * more readable time measurement output
2010-12-05lpc2478 target config: CCLK as (mandatory) parameterRolf Meeser
2010-12-04xscale: trace buffer remains enabled until explicitly disabledMike Dunn
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>
2010-12-04Add board config for Embedded Artists LPC2478-32Rolf Meeser
2010-12-04Fix flash name in Hitex LPC2929 board configRolf Meeser
2010-12-04Fix sector layout for 504-KiB LPC2000 devicesRolf Meeser
2010-12-03stm32: set default soft reset configSpencer Oliver
If no srst is configured then default to using sysresetreq to reset the target. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-03luminary: remove unused config cmds.Spencer Oliver
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>
2010-12-03cortex_m3: change cortec_m3 reset_config behaviourSpencer Oliver
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>
2010-12-02config: fix luminary jtag configSpencer Oliver
When this config was updated in commit e3773e3e3d1f1ee0dbb0b69e8babe8419784d1c1 the old jtag declaration was not removed. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-02rename some target scripts to be consistent with the restFreddie Chopin
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>
2010-12-01profile: use 100Hz as a default sampling frequencyØyvind Harboe
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>
2010-12-01lpc2900.c: Improve debug output for device probingRolf Meeser
2010-12-01lpc2900.c: Add support for new device LPC2926Rolf Meeser
2010-12-01LPC2900: Avoid false positive reprobing if first probing failsRolf Meeser
2010-11-30Some cosmetic fixes to the Lisa/L layout support functions.Piotr Esden-Tempski
2010-11-30Added support for the blinking leds on Floss-JTAG v0.3 and newer.Piotr Esden-Tempski
2010-11-30Updated Floss-JTAG config file to support v0.3 and newer. Also added ↵Piotr Esden-Tempski
noeeprom version of the config file for older versions of Floss-JTAG.
2010-11-26build: fix make install with jimtclSpencer Oliver
Update subproject jimtcl to fix issue with make install. see jimtcl commit 373b721510fd2d0754a41cc70a3b7cfd02e929bd Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-11-26build: correct configure help messageSpencer Oliver
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>
2010-11-23FLASH/NOR: Rename spearsmi.c to stmsmi.cAntonio Borneo
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-23FLASH/NOR: rename from spearsmi to stmsmiAntonio Borneo
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>
2010-11-23STR750: Add SMI interface supportAntonio Borneo
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>
2010-11-23NOR/SPEARSMI: fix segfaultAntonio Borneo
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>
2010-11-23Documentation: fix typoAntonio Borneo
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-22flash: iterating over an address range now handles multiple banksØyvind Harboe
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>
2010-11-22fastload: fix error handling upon running out of memoryØyvind Harboe
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-11-19build: remove AC_CONFIG_AUX_DIR macroSpencer Oliver
This was used during testing and should have been removed. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-11-19build: disable jimtcl lineeditSpencer Oliver
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>
2010-11-19build: fix subconfigure parameter issueSpencer Oliver
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>
2010-11-19build: update bootstrap commentsSpencer Oliver
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-11-19build: prepend --with-jim-ext=nvp to jimtcl configureSpencer Oliver
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>
2010-11-18build: add autobuild jimtcl to configure scriptsSpencer Oliver
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>
2010-11-18build: add common.mkSpencer Oliver
Rather than specifying common makefile variables move them all to a common.mk. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-11-17FLASH/NOR: Remove useless file tms470.hAntonio Borneo
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-17FLASH/NOR: Remove useless file str9xpec.hAntonio Borneo
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-17FLASH/NOR: Remove useless file str9x.hAntonio Borneo
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-17FLASH/NOR: Remove useless file str7x.hAntonio Borneo
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-17FLASH/NOR: Remove useless file stm32x.hAntonio Borneo
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-17FLASH/NOR: Remove useless file stellaris.hAntonio Borneo
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-17FLASH/NOR: Remove useless file pic32mx.hAntonio Borneo
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-17FLASH/NOR: Remove useless file lpc288x.hAntonio Borneo
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-17FLASH/NOR: Remove useless file lpc2000.hAntonio Borneo
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>