aboutsummaryrefslogtreecommitdiff
path: root/tcl
AgeCommit message (Collapse)AuthorFilesLines
2012-01-03Add STM32F2X/STLINK target config file.Mathias K1-0/+32
Change-Id: I02161fa05da993b5b966c31a706667d1bd91935d Signed-off-by: Mathias K <kesmtp@freenet.de> Reviewed-on: http://openocd.zylin.com/287 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2012-01-03Add STLINK/V2 interface config file.Mathias K1-0/+13
Change-Id: I6df27ce619a5938ef854ff89bf76c6de4e122204 Signed-off-by: Mathias K <kesmtp@freenet.de> Reviewed-on: http://openocd.zylin.com/286 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-12-23Made BI-swap optional in mxc.Erik Ahlén1-1/+1
Change-Id: Ibdf3b1e415adcf1fdb38de25fe05da726ef58ca4 Signed-off-by: Erik Ahlén <erik.ahlen@avalonenterprise.com> Reviewed-on: http://openocd.zylin.com/269 Tested-by: jenkins Reviewed-by: Mathias Küster <kesmtp@freenet.de> Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-12-23Added board type as a parameter to mx2 NFC as they have different base ↵Erik Ahlén1-1/+1
addresses. Change-Id: I7bc326e9a8d9f6817f046a7faeebede567c53dd2 Signed-off-by: Erik Ahlén <erik.ahlen@avalonenterprise.com> Reviewed-on: http://openocd.zylin.com/268 Tested-by: jenkins Reviewed-by: Mathias Küster <kesmtp@freenet.de> Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-12-23at91sam3XXX.cfg: Configure JTAG clock to 500 kHz.Ulf Samuelsson1-0/+12
This affects all configurations including target/at91sam3XXX.cfg Change-Id: I2c1e1edf0986d30e63f109604a38bf402ded369e Signed-off-by: Ulf Samuelsson <ulf@emagii.com> Reviewed-on: http://openocd.zylin.com/292 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-12-19Renamed mx2/imx27 to mxc.Erik Ahlén1-1/+1
Renamed all functions, enums, structs and defines from mx2/imx27 to mxc. This is in preparation of adding support for mx35 NFC(v2). Change-Id: I92ad23f0cfab605215bbf0d5846c5c288423facf Signed-off-by: Erik Ahlén <erik.ahlen@avalonenterprise.com> Reviewed-on: http://openocd.zylin.com/267 Tested-by: jenkins Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
2011-12-06TCL/SPEAr: default one DDR chipAntonio Borneo1-1/+8
Handle default case of single DDR chip Propagate global variable for multi DDR chip Change-Id: I315380f91ee7fcc2976437aa5836d88a7964fc9d Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/251 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-12-02Fix remaining incorrect reference to target/at91sam3uXX.cfgPeter Stuge1-1/+1
Commit 1794e5ee5452c83b5bef6d0a5a8a3f23d647e9c6 renamed the file to have all lowercase characters according to most references to the file, but the commit didn't change the existing reference to the old filename. Change-Id: I380e52e947a8091d48cf010e3919bf2caed7fdff Signed-off-by: Peter Stuge <peter@stuge.se> Reviewed-on: http://openocd.zylin.com/248 Tested-by: jenkins
2011-12-01make sure file name case of at91sam3uxx matches what other files includeHarald Welte1-0/+0
Before this patch, at91sam3u4c.cfg includes "at91sam3uxx.cfg" which doesn't exist - the filename was at91sam3uXX. However, many operating systems have case sensitive file names! Change-Id: I8b2f987f1f4214269b80ef5cba8177ce05ad90b6 Signed-off-by: Harald Welte <laforge@gnumonks.org> Reviewed-on: http://openocd.zylin.com/247 Tested-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-11-22TCL/SPEAr: fix name of included fileAntonio Borneo1-1/+1
Fix error introduced in recent commit. Correct the name of the board file. Change-Id: I46bca8329812fb24bc4f8d316be9e7cba9b56496 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/234 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-11-21TCL: Add board file for EVAL_SPEAr320CPUAntonio Borneo3-0/+76
Initial support for SPEAr320 chip and for evaluation board named EVAL_SPEAr320CPU. Change-Id: I85524655769bcc610294a26db47a7a399256fbb7 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/231 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-11-21TCL: Add board file for EVALSPEAr300Antonio Borneo3-1/+77
Initial support for SPEAr300 chip and for evaluation board named EVALSPEAr300. Currently supports only those parts in common with SPEAr310. Change-Id: I8075aa721cf3dfaac561ee51e5df4ce9a2992e3e Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/230 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-11-21TCL/SPEAr: remove code to autodetect DDRAntonio Borneo1-12/+18
The code to autodetect DDR was wrong and not complete. Replaced with a parameter passed to TCL proc. Split DDR configuration in the two cases of single and dual DDR chip, using single chip as default. Change-Id: If39aa518670398e8e4f207d7db6e812a49743e15 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/229 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-11-21TCL/SPEAr: move DDR activation in common codeAntonio Borneo1-2/+3
DDR controller activation should not be in DDR chip specific code, but in generic DDR controller part. Change-Id: If1b178228352b48b0097d7b9b300005fb5bb4fb6 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/228 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-11-21TCL/SPEAr: Join two initialization files.Antonio Borneo3-41/+36
The support for SPEAr3xx family members does not require dedicated files for each member. Join the initialization scripts in a single file. Change-Id: I45e9dc64809a6f52c4592e3e0eef5529394887c6 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/227 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-11-21TCL/SPEAr: move device generic codeAntonio Borneo2-2/+3
The initialization of RAS enable and clock is required by all SPEAr3xx devices Change-Id: Iea4cd0902e4da219475d7f35b4c25fc87ec6b902 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/226 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-11-21TCL/SPEAr: move device specific codeAntonio Borneo2-2/+2
The initialization of memory port 1 is required by SPEAr310 only Change-Id: I9d655da1026795f02ff2f82aed36441068cf266d Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/225 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-11-21TCL/SPEAr: Add reference to ST Application NoteAntonio Borneo2-3/+3
ST-AN was mentioned but there was no reference Change-Id: Ie065f8faba94d63cf391a994ec895692d499394e Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/224 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-11-18scripts: use adapter_khz not deprecated jtag_khzSpencer Oliver9-11/+11
Change-Id: Ibaeebf564a95360dcf21a0921ec99f5263f11915 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/202 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2011-11-17configuration for Freescale TWRK60N512 boardTomas Frydrych2-0/+47
Based on the K40/Kwikstik config files Change-Id: Icb3adc7126bacea65209b712ebaa0eb3b894372e Signed-off-by: Tomas Frydrych <tomas@sleepfive.com> Reviewed-on: http://openocd.zylin.com/210 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-11-17config: do not use deprecated stm32.cfgFelix Ruess1-1/+1
Change-Id: Id72d2d7f874043331ecb5586a3797d017606129e Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Signed-off-by: Felix Ruess <felix.ruess@gmail.com> Reviewed-on: http://openocd.zylin.com/212 Tested-by: jenkins
2011-11-15Add Tincantools Flyswatter2 supportMarek Vasut1-0/+10
This is a successor to the Flyswatter cable and is very close to the original. The new revision is based on FT2232H. Change-Id: Icc6efcf0e4f9d8a10b65df8679b4973f6b375a9f Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: David Anders <danders@tincantools.com> Reviewed-on: http://openocd.zylin.com/193 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-11-08at91sam7: add a new target config file for at91sam7x512Aurelien Jacobs1-0/+51
The main difference with at91sam7x256 is the declaration of the second bank of flash. Change-Id: I87a20dcbb639b797799139ccf46cc73934fa3b9e Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Reviewed-on: http://openocd.zylin.com/173 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-11-07target config files: Fix whitespace issues.Uwe Hermann86-508/+503
Drop useless double-space occurences, drop trailing whitespace, and fix some other minor whitespace-related issues. Change-Id: I6b4c515492e2ee94dc25ef1fe4f51015a4bba8b5 Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/137 Tested-by: jenkins
2011-11-03interface configs: Add missing URLs and names.Uwe Hermann10-27/+55
Also, drop author name from interface/hilscher_* files, that info is in the git log, and none of the other files contain author names either. Change-Id: Idf0eb4279c4bff31d15c166619c0bf8b1c5bb877 Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Reviewed-on: http://openocd.zylin.com/138 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-11-02cfg: add Stellaris LM4F232 Evaluation Kit configSpencer Oliver1-0/+13
Change-Id: Ica754897bef6573a0738ed1afdfe1dfda07292fd Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/151 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2011-11-02cfg: add Blizzard class to stellaris.cfgSpencer Oliver1-3/+4
Change-Id: I2a1320c696b6d9b070e4a927c4cd4d68178af751 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/150 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2011-11-02tx27stk5: add board init support for KaRo TX27 CPU moduleMark Vels1-0/+64
This patch adds support for a KaRo TX27 CPU module on a StarterkitV base board. The register settings have been extracted from a RedBoot distribution that is distributed along with the hardware by KaRo. This setup has been tested with a JTAGKey. The testing has been focussed on loading a program into memory and start execution. Although the flash seems to be correctly detected, no effort has been put in testing the NAND programming yet. Change-Id: Ib17763f1e3ecacd0eb9b5fdc32f8cba7a5e59be5 Signed-off-by: Mark Vels <mark.vels@team-embedded.nl> Reviewed-on: http://openocd.zylin.com/158 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-10-30interface configs: Fix whitespace and other issues.Uwe Hermann6-14/+15
Change-Id: I98825c7fb9bdee75b69b06005ed12a3f64ec4db4 Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Reviewed-on: http://openocd.zylin.com/139 Tested-by: jenkins Reviewed-by: Peter Stuge <peter@stuge.se>
2011-10-30config files: Drop incorrect comments.Uwe Hermann18-19/+4
There are many "force an error till we get a good number" comments in target/board files. This refers to the use-case where a config script sets _CPUTAPID to 0xffffffff (which presumely gets overridden later): if { [info exists CPUTAPID ] } { set _CPUTAPID $CPUTAPID } else { # Force an error until we get a good number. set _CPUTAPID 0xffffffff } However, the same comment was also copy-pasted in many files which do _not_ set _CPUTAPID to 0xffffffff, where the comment doesn't make any sense at all. Drop those comments. Also, add one missing comment, and fix small whitespace and grammar issues. Change-Id: Ic4ba3b5ccba87ed40cea0d6a7d66609fbdfa3c71 Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Reviewed-on: http://openocd.zylin.com/136 Tested-by: jenkins Reviewed-by: Peter Stuge <peter@stuge.se>
2011-10-27Remove use of undefined variable.Jim Norris1-1/+1
Change-Id: Id8fd345438c360b2a42857525f05360ce2794d21 Signed-off-by: Jim Norris <u17263@att.net> Reviewed-on: http://openocd.zylin.com/127 Reviewed-by: Peter Stuge <peter@stuge.se> Tested-by: jenkins
2011-10-26Add configuration for ATMEL SAM3N-EK board.Jim Norris1-0/+12
Change-Id: I525f6c346cace4e54f47659c5a7aceb29ee4baf2 Signed-off-by: Jim Norris <u17263@att.net> Reviewed-on: http://openocd.zylin.com/125 Tested-by: jenkins Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
2011-10-26Add configuration for ATMEL SAM3N series.Jim Norris1-0/+24
Change-Id: Iac498ab37e59127b989f29a1c4167ab29d625b05 Signed-off-by: Jim Norris <u17263@att.net> Reviewed-on: http://openocd.zylin.com/124 Tested-by: jenkins Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
2011-10-25stm3220g_eval.cfg: fix CHIPNAME.Marti Bolivar1-2/+2
The STM3220G-EVAL board has an STM32F207IGH6. ("...H6", not "...T6"). Change-Id: Iaf3dae6830c5c0685a1dcd1588d391434bc51be7 Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> Reviewed-on: http://openocd.zylin.com/120 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-10-23cfg: Add interface config for Dangerous Prototypes BusBlasterRichard Barlow1-0/+14
The BusBlaster from Dangerous Prototypes is based on the FTDI FT2232H IC. It has a CPLD between the FT2232H and the JTAG header allowing it to emulate various debugger types. It comes configured as a JTAGkey compatible device. Change-Id: Iab56907bf67ded87001e628d93012f1e16287d90 Signed-off-by: Richard Barlow <richard@richardbarlow.co.uk> Reviewed-on: http://openocd.zylin.com/53 Tested-by: jenkins Reviewed-by: Peter Stuge <peter@stuge.se>
2011-10-23add Freescale Kinetis K40 devices and Kwikstik eval boardMathias K2-0/+54
Change-Id: I4817921d09ab915c50f42651bc073690033450fe Signed-off-by: Mathias K <kesmtp@freenet.de> Reviewed-on: http://openocd.zylin.com/51 Tested-by: jenkins Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
2011-10-19TMPA900/910 MCUs are always little endian.Uwe Hermann2-10/+4
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Change-Id: I8839f2cf0faf1b5ba9f99901c5ee028b199fabd2 Reviewed-on: http://openocd.zylin.com/35 Tested-by: jenkins Reviewed-by: Peter Stuge <peter@stuge.se>
2011-10-19Toshiba TMPA900 config: Fix incorrect working area.Uwe Hermann2-21/+10
The Toshiba TMPA900 series (TMPA900/901) only has internal RAM regions RAM-0 (16kB) and RAM-1 (8kB) which we can use as working area. This is probably a copy-paste error from tmpa910.cfg, which has the correct values and sizes for the TMPA910 series (TMPA910/911/912/913): there are RAM-0, RAM-1, and RAM-2 (each 16kB). Also, change "built-in RAM" to "internal RAM" to match what the datasheet uses. Change-Id: I993cd6b7fadc28cf34e5cc18426bb2bb42597670 Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Reviewed-on: http://openocd.zylin.com/34 Tested-by: jenkins Reviewed-by: Peter Stuge <peter@stuge.se>
2011-10-18luminary: add peripheral reset scriptSpencer Oliver3-3/+149
some luminary device classes require a reset script to emulate a hardware reset. Change-Id: Id505c92451244b48b0238c2130aebab2df8d208b Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/30 Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com> Tested-by: Øyvind Harboe <oyvindharboe@gmail.com>
2011-10-17AM/DM37x: Use ICEPick warm reset and include halt when gdb connects.Karl Kurbjun1-19/+28
Using the ICEPick reset seems to allow the processor to be halted sooner and the halt on gdb connection makes the connect process more robust. Change-Id: I0586f6e6becc60a729030509ef58907a19d545ec Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/23 Tested-by: Øyvind Harboe <oyvindharboe@gmail.com> Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
2011-10-17ICEPick-C: Add support for warm reset through JTAG controller and provide ↵Karl Kurbjun1-7/+101
finer detail functions. This sets up simple functions that can later be used to provide additional ICEPick Operations. Change-Id: I313b8679267696fad87d23f3692963e513f2fe21 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/22 Tested-by: Øyvind Harboe <oyvindharboe@gmail.com> Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
2011-10-13Add an interface file for DLP Design DLP-USB1232H.Uwe Hermann1-0/+14
The DLP Design DLP-USB1232H UART/SPI/JTAG module is based on an FTDI FT2232H chip. Among other things, it can used as JTAG programmer if connected to the JTAG target properly. I have successfully wired the module to an Olimex STM32-H103 eval board and flashed a firmware onto that using OpenOCD. The setup details and schematics are documented at: http://randomprojects.org/wiki/DLP-USB1232H_and_OpenOCD_based_JTAG_adapter Change-Id: I5eb9255a61eeece233009bee77d7dc3b5d1afb8b Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Reviewed-on: http://openocd.zylin.com/20 Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk> Tested-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-10-13Add a board file for the Glyn Tonga2.Uwe Hermann1-0/+170
This is a Toshiba TMPA900CMXBG (ARM9) based SO-DIMM CPU module with 64MB DDR SDRAM, 256MB NAND flash, and on-board Ethernet. The board file provides a tonga2_init function which sets up the PLL/clocks and memory (SDRAM and SRAM), which allows writing a boot-loader into RAM via JTAG. Change-Id: I60522b97997bdf50e1f25aebab910d93a98522fb Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Reviewed-on: http://openocd.zylin.com/19 Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk> Tested-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-10-03STM32L: Added flash driver and targetClément Burin des Roziers1-0/+81
Added the flash driver for the STM32L family, which highly differ from the STM32F family. Added the TCL target file for JTAG access.
2011-10-01Verdex: Add support for Gumstix Verdex boards.Ash Charles1-0/+17
Gumstix Verdex is a PXA270-based series of computer-on-modules. This configuration file is based off the voipac.cfg configuration with a different flash memory configuration. This has been tested flyswatter adapter to reflash a Gumstix Verdex XL6P board.
2011-09-30u8500 : config for L2 cacheMichel Jaouen1-0/+6
2011-09-30AM/DM37x: add ES1.2 silicon type into accountVladimir Zapolskiy1-1/+1
The missing value for ES1.2 silicon revision is mentioned in sprugn4m.pdf, and the recent TI Beagleboard XM is powered by it, so let support the revision.
2011-09-09Add definition for the STEVAL-PCC010 board with the STM32F207Uwe Bonnes1-0/+9
2011-08-30dsp568013 disable polling by defaultRodrigo L. Rosa1-1/+5
2011-08-25Add Valuline HD to config fileJonathan Dumaresq1-1/+7
This will add the BSTAP for the medium and high density devices