riscv-openocd/tcl/target
Tim Newsome 9e097d0fc4
From upstream (#684)
* flash/nor/atsame5: add LAN9255 devices

Support Microchip LAN9255 devices with embedded SAME53J MCU.

Signed-off-by: Hans-Erik Floryd <hans-erik.floryd@rt-labs.com>
Change-Id: Ia811c593bf7cf73e588d32873c68eb67c6fafad7
Reviewed-on: https://review.openocd.org/c/openocd/+/6811
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>

* tcl/board: Add EVB-LAN9255 config

Config for EVB-LAN9255, tested using Atmel-ICE debugger on J10
connector.

Signed-off-by: Hans-Erik Floryd <hans-erik.floryd@rt-labs.com>
Change-Id: I8bcf779e9363499a98aa0b7d10819c53da6a19e7
Reviewed-on: https://review.openocd.org/c/openocd/+/6812
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* aarch64: support for aarch32 ARM_MODE_UND

Fix:
unrecognized psr mode: 0x1b
cannot read system control register in this mode: (UNRECOGNIZED : 0x1b)

Change-Id: I4dc3e72f90d57e52c0fe63cb59a7529a398757b3

Signed-off-by: Julien Massot <julien.massot@iot.bzh>
Change-Id: Ifa5d21ae97492fde9e8c79ee7d99d8a2a871b1b5
Reviewed-on: https://review.openocd.org/c/openocd/+/6808
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* Combine register lists of smp targets.

This is helpful when you want to pretend to gdb that your heterogeneous
multicore system is homogeneous, because gdb cannot handle heterogeneous
systems. This won't always works, but works fine if e.g. one of the
cores has an FPU while the other does not. (Specifically, HiFive
Unleashed has 1 core with no FPU, plus 4 cores with an FPU.)

Signed-off-by: Tim Newsome <tim@sifive.com>
Change-Id: I05ff4c28646778fbc00327bc510be064bfe6c9f0
Reviewed-on: https://review.openocd.org/c/openocd/+/6362
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* semihosting: use open mode flags from GDB, not from sys/stat.h

Values defined in sys/stat.h are not guaranteed to match
the constants defined by the GDB remote protocol, which are defined in
https://sourceware.org/gdb/onlinedocs/gdb/Open-Flags.html#Open-Flags.
On my local system (Manjaro 21.2.1 x86_64), for example, O_TRUNC is
defined as 0x40, whereas GDB requires it to be 0x400,
causing all "w" file open modes to misbehave.

This patch has been tested with STM32F446.

Change-Id: Ifb2c740fd689e71d6f1a4bde1edaecd76fdca910
Signed-off-by: Pavel Kirienko <pavel.kirienko@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6804
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* semihosting: User defined operation, Tcl command exec on host

Enabling a portion (0x100 - 0x107) of the user defined semihosting
operation number range (0x100 - 0x1FF) to be processed with the help of
the existing target event mechanism, to implement a general-purpose Tcl
interface for the target available on the host, via semihosting
interface.

Example usage:
- The user configures a Tcl command as a callback for one of the newly
	defined events (semihosting-user-cmd-0x10X) in the configuration
	file.
- The target can make a semihosting call with <opnum>, passing optional
	parameters for the call.

If there is no callback registered to the user defined operation number,
nothing happens.

Example usage: Configure RTT automatically with the exact, linked
control block location from target.

Signed-off-by: Zoltán Dudás <zedudi@gmail.com>
Change-Id: I10e1784b1fecd4e630d78df81cb44bf1aa2fc247
Reviewed-on: https://review.openocd.org/c/openocd/+/6748
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* target/smp: use a struct list_head to hold the smp targets

Instead of reinventing a simply linked list, reuse the list helper
for the list of targets in a smp cluster.
Using the existing helper, that implements a double linked list,
makes trivial going through the list in reverse order.

Change-Id: Ib36ad2955f15cd2a601b0b9e36ca6d948b12d00f
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6783
Tested-by: jenkins

* helper/list: add list_for_each_entry_direction()

Use a bool flag to specify if the list should be forward or
backward iterated.

Change-Id: Ied19d049f46cdcb7f50137d459cc7c02014526bc
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6784
Tested-by: jenkins

* target/riscv: revive 'riscv resume_order'

This functionality was lost in [1], which was merged as commit
615709d140 ("Upstream a whole host of RISC-V changes.").
Now it works as expected again.

Add convenience macro foreach_smp_target_direction().

Link: [1] https://github.com/riscv/riscv-openocd/pull/567
Change-Id: I1545fa6b45b8a07e27c8ff9dcdcfa2fc4f950cd1
Signed-off-by: Tim Newsome <tim@sifive.com>
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6785
Tested-by: jenkins

* doxygen: fix some function prototype description

Change-Id: I49311a643ea73143839d2f6bde976cfd76f8c67f
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6830
Tested-by: jenkins

* Cadence virtual debug interface (vdebug) integration

Change-Id: I1bc105b3addc3f34161c2356c482ff3011e3f2cc
Signed-off-by: Jacek Wuwer <jacekmw8@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6097
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Reviewed-by: zapb <dev@zapb.de>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* gdb_server: Include thread name as XML attribute

Explicitly providing a thread name in the "thread" element produces
better thread visualizations in downstream tools like IDEs.

Signed-off-by: Ben McMorran <bemcmorr@microsoft.com>
Change-Id: I102c14ddb8b87757fa474de8e3a3f6a1cfe10d98
Reviewed-on: https://review.openocd.org/c/openocd/+/6828
Tested-by: jenkins
Reviewed-by: zapb <dev@zapb.de>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* Fix small memory leak.

See https://github.com/riscv/riscv-openocd/pull/672

Change-Id: Ia11ab9bcf860f770ea64ad867102c74b898f6b66
Signed-off-by: Tim Newsome <tim@sifive.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6831
Tested-by: jenkins
Reviewed-by: zapb <dev@zapb.de>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* server: remove remaining crust from dropped eCos code

Commit 39650e2273 ("ecosboard: delete bit-rotted eCos code") has
removed eCos code but has left some empty function that was used
during non-eCos build to replace eCos mutex.

Drop the functions and the file that contain them.

Change-Id: I31bc0237ea699c11bd70921660f960ee406ffa80
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6835
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>

* rtos: threadx: Add hla_target support for ThreadX

Tested with an AZ3166 dev board (which uses the STM32F412ZGT6) running
the Azure RTOS ThreadX demonstration system.

Signed-off-by: Ben McMorran <bemcmorr@microsoft.com>
Change-Id: I44c8f7701d9f1aaa872274166321cd7d34fb1855
Reviewed-on: https://review.openocd.org/c/openocd/+/6829
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* .gitmodules: switch away from repo.or.cz

The host repo.or.cz is often offline, creating issues for cloning
and building OpenOCD from scratch.
Already 'jimtcl' developer has dropped repo.or.cz, triggering the
OpenOCD commit 861e75f54e ("jimtcl: switch to github").

Change also the link of the remaining submodules 'git2cl' and
'libjaylink' to their respective main repository.

Change-Id: Ib513237427635359ce36a480a8f2060e2fb12ba4
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6834
Tested-by: jenkins
Reviewed-by: zapb <dev@zapb.de>

* flash/nor/stm32f2x: Fix erase of bank 2 sectors

This commit corrects the erase function for stm32f2x when dealing with
sectors in bank 2, for STM32F42x/43x devices with 1MB flash.

On STM32F42x/43x with 1MB flash in dual bank configuration, the sector
numbering is not consecutive. The last sector in bank 1 is number 7, and
the first sector in bank 2 is number 12.
The sector indices used by openocd, however, _are_ consecutive (0 to 15
in this case). The arguments "first" and "last" to stm32x_erase() are of
this type, and so the logic surrounding sector numbers needed to be
corrected.
Since the two banks in dual bank mode have the same number of sectors, a
sector index in bank 2 is larger than or equal to half the total number
of sectors.

Change-Id: I15260f8a86d9002769a1ae1c40ebdf62142dae18
Signed-off-by: Simon Johansson <ampleyfly@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6810
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>

* target/cortex_m: fix target_to_cm() helper

The third parameter of container_of() should point to the same member
as target->arch_info points to, struct arm.

It worked just because struct arm is the first member in
struct armv7m_common.
If you move arm member from the first place, OpenOCD fails heavily.

Change-Id: I0c0a5221490945563e17a0a34d99a603f1d6c2ff
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/6749
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* target/armv7m,cortex_m: introduce checked arch_info cast routines

target_to_armv7m() and target_to_cm() do not match the magic number
so they are not suitable for use outside of target driver code.

Add checked versions of pointer getters. Match the magic number
to ensure the returned value points to struct of the correct type.

Change-Id: If90ef7e969ef04f0f2103e0da29dcbe8e1ac1c0d
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/6750
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* target/cortex_m: add Cortex-M part number getter

The getter checks the magic numbers in arch_info to detect eventual
type mismatch.

Change-Id: I61134b05310a97ae9831517d0516c7b4240d35a5
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/6751
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>

* flash/nor/stm32xx: fix segfault accessing Cortex-M part number

Some of STM32 flash drivers read Cortex-M part number from
cortex_m->core_info.
In corner cases the core_info pointer was observed uninitialised
even if target_was_examined() returned true. See also [1]

Use the new and safe helper to get Cortex-M part number.

While on it switch also target_to_cm()/target_to_armv7m() to the safe
versions. This prevents a crash when the flash bank is misconfigured
with non-Cortex-M target.

Add missing checks for target_was_examined() to flash probes.

[1] 6545: fix crash in case cortex_m->core_info is not set
    https://review.openocd.org/c/openocd/+/6545

Change-Id: If2471af74ebfe22f14442f48ae109b2e1bb5fa3b
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Fixes: f5898bd93f (flash/stm32fxx.c: do not read CPUID as this info is stored in cortex_m_common)
Reviewed-on: https://review.openocd.org/c/openocd/+/6752
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>

* cpld: altera-epm240: Add additional IDCODEs

This adds some additional IDCODEs from the datasheet. It also adds
support for customizing the tap name.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Change-Id: I7cda10b92c229b61836c12cd9ca410de358ede2e
Reviewed-on: https://review.openocd.org/c/openocd/+/6846
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* cpld: altera-epm240: Increase adapter speed

According to the datasheet, the minimum clock period with Vccio1 = 1.5V
(the lowest voltage supported) is 143ns, or around 6MHz. Set the default
adapter speed to 5 MHz.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Change-Id: I21cad33fa7f1e25e81f43b5d2214d1fa4ec924de
Reviewed-on: https://review.openocd.org/c/openocd/+/6847
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* target: Add support for ls1088a

The LS1088A is an octo-core aarch64 processor from NXP in the layerscape
family. The JTAG is undocumented, but I was able to figure things out
from the output of `dap info`. This is the first in-tree example of
using the hwthread rtos (as far as I know), so hopefully it can serve as
an example to other developers. There are some ETMs, but I was unable to
try them out because I got 'invalid command name "etm"' when trying to
test things out.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Change-Id: I9b0791d27d8c41170a413a8d86431107a85feba2
Reviewed-on: https://review.openocd.org/c/openocd/+/6848
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* target: ls1088a: Add service processor

Normally the service processor is not necessary for debugging. However,
if you are using the hard-coded RCW or your boot source is otherwise
corrupt, then the general purpose processors will never be released from
hold-off. This will cause GDB to become confused if it tries to attach,
since they will appear to be running arm32 processors. To deal with
this, we can release the CPUs manually with the BRRL register. This
register cannot be written to from the axi target, so we need to do it
from the service processor target. This involves halting the service
processor, modifying the register, and then resuming it again. We try
and determine what state the service processor was in to avoid resuming
it if it was already halted.

The reset vector for the general purpose processors is determined by the
boot logation pointer registers in the device configuration unit.
Normally these are set using pre-boot initialization commands, but if
they are not set then they default to 0. This will cause the CPU to
almost immediately hit an illegal instruction. This is fine because we
will almost certainly want to attach to the processor and load a program
anyway.

I considered adding this as an event handler for either gdb-attach or
reset-init. However, this command shouldn't be necessary most of the
time, and so I don't think we should run it automatically.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Change-Id: I1b725292d8a11274d03af5313dc83678e10e944c
Reviewed-on: https://review.openocd.org/c/openocd/+/6850
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* board: Add NXP LS1088ARDB

This adds a board file for the NXP LS1088ARDB. This only covers the
"primary" JTAG header J55, and not the PCIe header (J91). The only
oddity is that the LS1088A and CPLD are muxed by adding/removing a
jumper from J48. Unfortunately, it doesn't look like OpenOCD supports
this CPLD beyond determining the irlen, so it's not very useful. Those
who are interested in experimenting can define CWTAP to access the CPLD,
but the default is to access the CPU.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Change-Id: Ia07436a534f86bd907aa5fe2a78a326a27855a24
Reviewed-on: https://review.openocd.org/c/openocd/+/6849
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* gdb_server: fix double free

Commit 6541233aa7 ("Combine register lists of smp targets.")
unconditionally assigns the output pointers of the function
smp_reg_list_noread(), even if the function fails and returns
error.
This causes a double free from the caller, that has assigned NULL
to the pointers to simplify the error handling.

Use local variables in smp_reg_list_noread() and assign the output
pointers only on success.

Change-Id: Ic0fd2f26520566cf322f0190780e15637c01cfae
Fixes: 6541233aa7 ("Combine register lists of smp targets.")
Reported-by: Michele Bisogno <michele.bisogno.ct@renesas.com>
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6852
Tested-by: jenkins
Reviewed-by: Michele Bisogno <michele.bisogno.ct@renesas.com>
Reviewed-by: Tim Newsome <tim@sifive.com>

* gdb_server: check target examined while combining reg list

Commit 6541233aa7 ("Combine register lists of smp targets.")
assumes that all the targets in the SMP cluster are already
examined and unconditionally call target_get_gdb_reg_list_noread()
that will in turn return error if the target is not examined yet.

Skip targets not examined yet.
Add an additional check in case the register list cannot be built,
e.g. because no target in the SMP cluster is examined. This should
never happen, but it's better to play safe.

Change-Id: I8609815c3d5144790fb05a870cb0c931540aef8a
Fixes: 6541233aa7 ("Combine register lists of smp targets.")
Reported-by: Michele Bisogno <michele.bisogno.ct@renesas.com>
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6853
Tested-by: jenkins
Reviewed-by: Michele Bisogno <michele.bisogno.ct@renesas.com>
Reviewed-by: Tim Newsome <tim@sifive.com>

* flash/stm32l4x: fix maybe-uninitialized compiler error

using gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 we get:
error: ‘retval’ may be used uninitialized in this function

fixes: 13cd75b6ec (flash/nor/stm32xx: fix segfault accessing Cortex-M part number)
Change-Id: I897c40c5d2233f50a5385d251ebfa536023e5cf7
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6861
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

* Fix build.

Change-Id: Ia60246246dd859d75659a43d1c59588dbb274d46
Signed-off-by: Tim Newsome <tim@sifive.com>

Co-authored-by: Hans-Erik Floryd <hans-erik.floryd@rt-labs.com>
Co-authored-by: Julien Massot <julien.massot@iot.bzh>
Co-authored-by: Pavel Kirienko <pavel.kirienko@gmail.com>
Co-authored-by: Zoltán Dudás <zedudi@gmail.com>
Co-authored-by: Antonio Borneo <borneo.antonio@gmail.com>
Co-authored-by: Jacek Wuwer <jacekmw8@gmail.com>
Co-authored-by: Ben McMorran <bemcmorr@microsoft.com>
Co-authored-by: Simon Johansson <ampleyfly@gmail.com>
Co-authored-by: Tomas Vanek <vanekt@fbl.cz>
Co-authored-by: Sean Anderson <sean.anderson@seco.com>
Co-authored-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
2022-03-03 10:03:55 -08:00
..
infineon tcl: fix remaining scripts after rework adapter commands 2020-02-06 21:15:55 +00:00
marvell tcl: replace '-ctibase' with '-baseaddr' 2020-11-04 17:37:36 +00:00
1986Be1T.cfg Merge branch 'master' into from_upstream 2020-06-23 13:05:43 -07:00
K1879x61R.cfg Merge branch 'master' into from_upstream 2020-06-23 13:05:43 -07:00
adsp-sc58x.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
aduc702x.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
aducm360.cfg tcl: fix typo and spelling 2020-05-09 14:37:35 +01:00
allwinner_v3s.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
alphascale_asm9260t.cfg tcl/target|board: add configs for Alphascale asm9260t 2015-02-22 17:57:02 +00:00
altera_fpgasoc.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
altera_fpgasoc_arria10.cfg From upstream (#286) 2018-08-20 14:55:30 -07:00
am335x.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
am437x.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
amdm37x.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
ampere_emag.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
ar71xx.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
arm_corelink_sse200.cfg Configs for ARM corelink SSE-200 target and Musca A board 2019-06-19 09:36:02 +01:00
armada370.cfg tcl/target/armada370: remove useless 'init' command 2020-08-02 10:49:09 +01:00
at32ap7000.cfg at32ap7000 config file 2010-08-15 21:54:01 +02:00
at91r40008.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
at91rm9200.cfg tcl: fix typo and spelling 2020-05-09 14:37:35 +01:00
at91sam3XXX.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
at91sam3ax_4x.cfg Added tcl config scripts for SAM3A/X targets and devboard 2012-03-30 15:56:19 +00:00
at91sam3ax_8x.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
at91sam3ax_xx.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
at91sam3nXX.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
at91sam3sXX.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
at91sam3u1c.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
at91sam3u1e.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
at91sam3u2c.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
at91sam3u2e.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
at91sam3u4c.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
at91sam3u4e.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
at91sam3uxx.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
at91sam4XXX.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
at91sam4c32x.cfg at91sam4: Add flash description and chipid for SAM4Cxx variants. 2016-12-08 12:31:14 +00:00
at91sam4cXXX.cfg at91sam4: Add flash description and chipid for SAM4Cxx variants. 2016-12-08 12:31:14 +00:00
at91sam4lXX.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
at91sam4sXX.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
at91sam4sd32x.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
at91sam7a2.cfg target & board: AT91SAM7A2 and Olimex SAM7-LA2 2015-03-09 06:25:03 +00:00
at91sam7se512.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
at91sam7sx.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
at91sam7x256.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
at91sam7x512.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
at91sam9.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
at91sam9g10.cfg at91: add at91sam9g10 support 2011-03-03 22:49:47 +01:00
at91sam9g20.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
at91sam9g45.cfg at91: add at91sam9g45 support 2011-03-03 22:49:47 +01:00
at91sam9rl.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
at91sam9260.cfg at91sam9260: update sram information 2011-03-03 22:49:47 +01:00
at91sam9260_ext_RAM_ext_flash.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
at91sam9261.cfg at91: add at91sam9261 support 2011-03-03 22:49:46 +01:00
at91sam9263.cfg at91: add at91sam9263 support 2011-03-03 22:49:47 +01:00
at91sama5d2.cfg add config for Microchip SAMA5D27 SOM1 Kit1 2021-08-14 08:04:38 +01:00
at91samdXX.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
at91samg5x.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
atheros_ar2313.cfg tcl/target|board: add config Atheros ar2313 2015-11-03 22:18:27 +00:00
atheros_ar2315.cfg tcl/target|board: add config Atheros ar2315 2015-11-03 22:18:30 +00:00
atheros_ar9331.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
atheros_ar9344.cfg target: atheros_ar9344: add simple uart0 test 2017-10-03 11:24:46 +01:00
atmega128.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
atmega128rfa1.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
atsame5x.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
atsaml1x.cfg tcl/target: Add initial Microchip SAML1x support 2019-06-19 10:17:57 +01:00
atsamv.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
avr32.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
bcm47xx.cfg tcl: add bcm47xx config and Asus RT-N16 board using it 2014-01-08 22:18:18 +00:00
bcm281xx.cfg tcl/target, board: remove useless gdb-attach event definitions 2018-11-26 09:31:09 +00:00
bcm2711.cfg tcl/target: add BCM2711 configuration file 2021-03-10 21:36:59 +00:00
bcm2835.cfg tcl/target: add BCM2835 configuration file 2021-03-10 21:36:45 +00:00
bcm2836.cfg tcl/target: add BCM2836 configuration file 2021-03-10 21:36:50 +00:00
bcm2837.cfg tcl/target: add BCM2837 configuration file 2021-03-10 21:36:54 +00:00
bcm4706.cfg tcl: add ASUS RT-N66U config 2014-06-01 18:27:09 +00:00
bcm4718.cfg tcl: add bcm47xx config and Asus RT-N16 board using it 2014-01-08 22:18:18 +00:00
bcm5352e.cfg tcl/board: add Linksys WRT54GL v1.1 board config 2014-01-08 22:18:25 +00:00
bcm6348.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
bluefield.cfg tcl: replace '-ctibase' with '-baseaddr' 2020-11-04 17:37:36 +00:00
bluenrg-x.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
c100.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
c100config.tcl From upstream (#620) 2021-06-11 13:01:55 -07:00
c100helper.tcl From upstream (#620) 2021-06-11 13:01:55 -07:00
c100regs.tcl From upstream (#620) 2021-06-11 13:01:55 -07:00
cc2538.cfg tcl: Remove executable bit 2020-02-08 23:27:18 +00:00
cs351x.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
davinci.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
dragonite.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
dsp56321.cfg tcl: remove trailing whitespace 2020-05-09 14:38:40 +01:00
dsp568013.cfg tcl: remove trailing whitespace 2020-05-09 14:38:40 +01:00
dsp568037.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
efm32.cfg flash/nor/efr32: fixed lockbits and user data 2022-01-05 17:57:08 +00:00
em357.cfg tcl/target: use command 'jtag newtap' to add a boundary scan TAP 2020-09-05 17:10:14 +01:00
em358.cfg em357: Corrected EM357 support including errata details 2015-04-14 11:48:50 +01:00
eos_s3.cfg tcl/target/eos_s3: fix variable's expansion typo 2021-03-04 14:59:32 +00:00
epc9301.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
esi32xx.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
exynos5250.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
faux.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
feroceon.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
fm3.cfg tcl: remove trailing whitespace 2020-05-09 14:38:40 +01:00
fm4.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
fm4_mb9bf.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
fm4_s6e2cc.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
gd32e23x.cfg flash/nor/stm32f1x: Add support for GD32E23x 2021-11-15 15:35:50 +00:00
gd32vf103.cfg Update gd32vf103.cfg (#640) 2021-08-26 10:09:04 -07:00
gp326xxxa.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
hi3798.cfg tcl: replace '-ctibase' with '-baseaddr' 2020-11-04 17:37:36 +00:00
hi6220.cfg tcl: replace '-ctibase' with '-baseaddr' 2020-11-04 17:37:36 +00:00
hilscher_netx10.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
hilscher_netx50.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
hilscher_netx500.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
icepick.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
imx.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
imx6.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
imx6sx.cfg target/imx6sx: Initial support 2019-04-24 14:11:22 +01:00
imx6ul.cfg target/imx6ul: Initial support 2019-04-24 14:11:33 +01:00
imx7.cfg target/imx7: Add ahb mem_ap 2019-04-10 10:16:19 +01:00
imx7ulp.cfg target/imx7ulp: Initial support 2019-04-24 14:11:07 +01:00
imx8m.cfg tcl: replace '-ctibase' with '-baseaddr' 2020-11-04 17:37:36 +00:00
imx8qm.cfg target/imx8qm: Initial support 2021-04-24 05:53:57 +01:00
imx21.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
imx25.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
imx27.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
imx28.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
imx31.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
imx35.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
imx51.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
imx53.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
is5114.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
ixp42x.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
k40.cfg tcl/target: consolidate Kinetis configs 2015-01-26 20:57:41 +00:00
k60.cfg tcl/target: consolidate Kinetis configs 2015-01-26 20:57:41 +00:00
k1921vk01t.cfg tcl: Remove executable bit 2020-02-08 23:27:18 +00:00
ke0x.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
ke1xf.cfg flash Kinetis: implement automatic bank creation based on device probe 2017-06-17 12:01:45 +01:00
ke1xz.cfg flash Kinetis: implement automatic bank creation based on device probe 2017-06-17 12:01:45 +01:00
kl25.cfg tcl/target: consolidate Kinetis configs 2015-01-26 20:57:41 +00:00
kl46.cfg tcl/target: consolidate Kinetis configs 2015-01-26 20:57:41 +00:00
klx.cfg target: add examine-fail event 2020-03-12 09:43:55 +00:00
ks869x.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
kx.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
lpc1xxx.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
lpc2xxx.cfg tcl: remove trailing whitespace 2020-05-09 14:38:40 +01:00
lpc8nxx.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
lpc8xx.cfg lpc8xx: Allow CHIPNAME override 2015-11-03 21:45:28 +00:00
lpc11xx.cfg cfg: refactor lpc1xxx targets onto one base config 2014-09-08 23:05:08 +00:00
lpc12xx.cfg cfg: refactor lpc1xxx targets onto one base config 2014-09-08 23:05:08 +00:00
lpc13xx.cfg cfg: refactor lpc1xxx targets onto one base config 2014-09-08 23:05:08 +00:00
lpc17xx.cfg cfg: refactor lpc1xxx targets onto one base config 2014-09-08 23:05:08 +00:00
lpc40xx.cfg lpc2000: Add LPC407x/8x flash size auto detection 2015-03-09 06:26:06 +00:00
lpc84x.cfg NOR: lpc2000 Add support for LPC84x devices 2019-01-02 21:54:03 +00:00
lpc1850.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
lpc2103.cfg tcl: remove trailing whitespace 2020-05-09 14:38:40 +01:00
lpc2124.cfg tcl: remove trailing whitespace 2020-05-09 14:38:40 +01:00
lpc2129.cfg tcl: remove trailing whitespace 2020-05-09 14:38:40 +01:00
lpc2148.cfg tcl: remove trailing whitespace 2020-05-09 14:38:40 +01:00
lpc2294.cfg tcl: remove trailing whitespace 2020-05-09 14:38:40 +01:00
lpc2378.cfg tcl: remove trailing whitespace 2020-05-09 14:38:40 +01:00
lpc2460.cfg tcl: remove trailing whitespace 2020-05-09 14:38:40 +01:00
lpc2478.cfg tcl: remove trailing whitespace 2020-05-09 14:38:40 +01:00
lpc2900.cfg tcl: fix typo and spelling 2020-05-09 14:37:35 +01:00
lpc3131.cfg tcl: remove trailing whitespace 2020-05-09 14:38:40 +01:00
lpc3250.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
lpc4350.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
lpc4357.cfg tcl/target: Add LPC4357 config 2015-10-30 13:14:12 +00:00
lpc4370.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
ls1012a.cfg tcl: replace '-ctibase' with '-baseaddr' 2020-11-04 17:37:36 +00:00
ls1088a.cfg From upstream (#684) 2022-03-03 10:03:55 -08:00
max3263x.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
max32620.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
max32625.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
mc13224v.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
mdr32f9q2i.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
nds32v2.cfg nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 2013-06-05 19:27:35 +00:00
nds32v3.cfg nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 2013-06-05 19:27:35 +00:00
nds32v3m.cfg nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 2013-06-05 19:27:35 +00:00
nds32v5.cfg tcl: Add support for NDS V5 target and xc7/Corvette-F1 2020-08-16 11:48:53 +01:00
nhs31xx.cfg Add LPC8Nxx and NHS3xx support. 2018-12-23 15:08:36 +00:00
npcx.cfg flash/nor: add support for Nuvoton NPCX series flash 2021-09-02 06:42:54 +00:00
nrf51.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
nrf52.cfg tcl/target/nrf52: fix nrf52_recover 2020-10-22 21:19:59 +01:00
nuc910.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
numicro.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
omap2420.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
omap3530.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
omap4430.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
omap4460.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
omap5912.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
omapl138.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
or1k.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
pic32mx.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
psoc4.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
psoc5lp.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
psoc6.cfg tcl/target: use command 'jtag newtap' to add a boundary scan TAP 2020-09-05 17:10:14 +01:00
pxa3xx.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
pxa255.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
pxa270.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
qualcomm_qca4531.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
quark_d20xx.cfg tcl/target, board: remove useless gdb-attach event definitions 2018-11-26 09:31:09 +00:00
quark_x10xx.cfg quark_x10xx: add new target quark_x10xx 2014-02-11 13:07:29 +00:00
readme.txt coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
renesas_r7s72100.cfg tcl/target: Fix naming of RZ/A1 SoC 2020-03-14 20:39:47 +00:00
renesas_rcar_gen2.cfg tcl/target: Select default boot core on Renesas R-Car Gen2/Gen3 2021-06-26 14:39:22 +01:00
renesas_rcar_gen3.cfg tcl/target: Add support for Renesas R8A779A0 V3U SoC 2021-06-26 14:39:30 +01:00
renesas_rcar_reset_common.cfg tcl/target: Unify Renesas R-Car JTAG reset config 2020-03-09 05:59:39 +00:00
renesas_rz_g2.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
renesas_s7g2.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
rk3308.cfg tcl/target/rk3308.cfg: add defer-examine 2020-12-26 15:47:52 +00:00
rk3399.cfg tcl/target: add Rockchip RK3399 target 2021-03-10 21:29:26 +00:00
rp2040-core0.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
samsung_s3c2410.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
samsung_s3c2440.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
samsung_s3c2450.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
samsung_s3c4510.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
samsung_s3c6410.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
sharp_lh79532.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
sim3x.cfg tcl: Remove executable bit 2020-02-08 23:27:18 +00:00
smp8634.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
snps_em_sk_fpga.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
snps_hsdk.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
spear3xx.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
stellaris.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
stm8l.cfg stm8 target: make adapter speed settings work 2020-05-24 21:34:48 +01:00
stm8l152.cfg Added config files for stm8l152 stm8s003 and stm8s105 2018-01-12 20:22:46 +00:00
stm8s.cfg stm8 target: make adapter speed settings work 2020-05-24 21:34:48 +01:00
stm8s003.cfg Added config files for stm8l152 stm8s003 and stm8s105 2018-01-12 20:22:46 +00:00
stm8s103.cfg Add target config for STM8S103 chip... 2020-03-12 09:41:41 +00:00
stm8s105.cfg Added config files for stm8l152 stm8s003 and stm8s105 2018-01-12 20:22:46 +00:00
stm32f0x.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
stm32f1x.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
stm32f2x.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
stm32f3x.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
stm32f4x.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
stm32f7x.cfg tcl/target/stm32(f7/h7)x: do not assume presence of the reset 2021-09-17 12:57:57 +00:00
stm32g0x.cfg stm32l4x: add OTP support for STM32 G0/G4/L4/L4+/L5/WB/WL devices 2021-03-24 17:15:38 +00:00
stm32g4x.cfg stm32l4x: add OTP support for STM32 G0/G4/L4/L4+/L5/WB/WL devices 2021-03-24 17:15:38 +00:00
stm32h7x.cfg tcl/target/stm32(f7/h7)x: do not assume presence of the reset 2021-09-17 12:57:57 +00:00
stm32h7x_dual_bank.cfg target/stm32h7x: add support of dual core variant of STM32H7 2019-12-07 13:07:00 +00:00
stm32l0.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
stm32l0_dual_bank.cfg tcl STM32L0xx - add support for dual banked targets and for Nucleo-64 STM32L073 2017-04-24 21:57:57 +01:00
stm32l1.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
stm32l1x_dual_bank.cfg flash/nor/stm32lx: use 0 base to autodetect second bank location 2015-02-04 22:02:45 +00:00
stm32l4x.cfg stm32l4x: add OTP support for STM32 G0/G4/L4/L4+/L5/WB/WL devices 2021-03-24 17:15:38 +00:00
stm32l5x.cfg flash/stm32l4x: STM32L5 support programming when TZEN=1 and RDP=0x55 2021-08-26 06:21:38 +00:00
stm32mp13x.cfg tcl: stm32mp13x: add target and board config files 2021-12-03 21:50:59 +00:00
stm32mp15x.cfg tcl/stm32mp15x: freeze watchdog, recover SWD after power cycle 2021-10-25 16:11:22 +00:00
stm32u5x.cfg flash/stm32l4x: add support of STM32U57x/U58x 2021-08-30 07:51:52 +00:00
stm32w108xx.cfg tcl/target: use command 'jtag newtap' to add a boundary scan TAP 2020-09-05 17:10:14 +01:00
stm32wbx.cfg stm32l4x: add OTP support for STM32 G0/G4/L4/L4+/L5/WB/WL devices 2021-03-24 17:15:38 +00:00
stm32wlx.cfg tcl/stm32wlx.cfg: comply with new jimtcl expr syntax 2021-09-25 13:37:28 +00:00
stm32xl.cfg cfg: update scripts to use new stm32 driver names 2011-07-28 11:45:09 +01:00
str710.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
str730.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
str750.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
str912.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
swj-dp.tcl hla_transport: split command registration per transport 2020-09-05 17:10:38 +01:00
swm050.cfg tcl: fix remaining scripts after rework adapter commands 2020-02-06 21:15:55 +00:00
test_reset_syntax_error.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
test_syntax_error.cfg Remove annoying end-of-line whitespace from tcl/* files 2009-09-21 18:48:22 +00:00
ti-ar7.cfg cfg: add Netgear DG834v3 configuration 2013-03-06 21:57:29 +00:00
ti-cjtag.cfg tcl: Remove executable bit 2020-02-08 23:27:18 +00:00
ti_calypso.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
ti_cc13x0.cfg From upstream (#286) 2018-08-20 14:55:30 -07:00
ti_cc13x2.cfg From upstream (#286) 2018-08-20 14:55:30 -07:00
ti_cc26x0.cfg tcl/target: Use vectreset for CC13xx/CC26xx targets. 2020-04-05 14:27:07 +01:00
ti_cc26x2.cfg From upstream (#286) 2018-08-20 14:55:30 -07:00
ti_cc32xx.cfg tcl/target: Enable using vectreset for CC3320SF targets 2020-03-24 17:18:31 +00:00
ti_cc3220sf.cfg tcl: fix typo and spelling 2020-05-09 14:37:35 +01:00
ti_dm355.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
ti_dm365.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
ti_dm6446.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
ti_k3.cfg tcl/target: Add K3 basic support 2021-03-10 21:23:53 +00:00
ti_msp432.cfg tcl/target: Use sysresetreq for MSP432 targets 2020-03-24 17:17:22 +00:00
ti_rm4x.cfg target/ti_tms570.cfg: added several JTAG IDs for TMS570LS family 2015-04-24 14:55:30 +01:00
ti_tms570.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
ti_tms570ls20xxx.cfg TI TMS570 USB Kit board config 2015-04-24 14:55:16 +01:00
ti_tms570ls3137.cfg TI TMS570 USB Kit board config 2015-04-24 14:55:16 +01:00
tmpa900.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
tmpa910.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
tnetc4401.cfg Update FTDI C232HM cfg, and add two new cfgs from cable modem research 2019-10-15 09:01:14 +01:00
u8500.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
vd_aarch64.cfg From upstream (#684) 2022-03-03 10:03:55 -08:00
vd_cortex_m.cfg From upstream (#684) 2022-03-03 10:03:55 -08:00
vd_riscv.cfg From upstream (#684) 2022-03-03 10:03:55 -08:00
vybrid_vf6xx.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
xilinx_zynqmp.cfg From upstream (#620) 2021-06-11 13:01:55 -07:00
xmc1xxx.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
xmc4xxx.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00
xmos_xs1-xau8a-10_arm.cfg tcl/target: Add config for XMOS XS1-XAU8A-10's ARM core 2015-10-30 12:39:42 +00:00
zynq_7000.cfg tcl: replace the deprecated commands with "adapter ..." 2020-01-29 06:34:43 +00:00

readme.txt

Prerequisites:
The users of OpenOCD as well as computer programs interacting with OpenOCD are expecting that certain commands
do the same thing across all the targets.

Rules to follow when writing scripts:

1. The configuration script should be defined such as , for example, the following sequences are working:
	reset
	flash info <bank>
and
	reset
	flash erase_address <start> <len>
and
	reset init
	load

In most cases this can be accomplished by specifying the default startup mode as reset_init (target command
in the configuration file).

2. If the target is correctly configured, flash must be writable without any other helper commands. It is
assumed that all write-protect mechanisms should be disabled.

3. The configuration scripts should be defined such as the binary that was written to flash verifies
(turn off remapping, checksums, etc...)

flash write_image [file] <parameters>
verify_image [file] <parameters>

4. adapter speed sets the maximum speed (or alternatively RCLK). If invoked
multiple times only the last setting is used.

interface/xxx.cfg files are always executed *before* target/xxx.cfg
files, so any adapter speed in interface/xxx.cfg will be overridden by
target/xxx.cfg. adapter speed in interface/xxx.cfg would then, effectively,
set the default JTAG speed.

Note that a target/xxx.cfg file can invoke another target/yyy.cfg file,
so one can create target subtype configurations where e.g. only
amount of DRAM, oscillator speeds differ and having a single
config file for the default/common settings.