adapter driver
command tells OpenOCD what type of debug adapter you areusing. Depending on the type of adapter, you may need to use one ormore additional commands to further identify or configure the adapter.cmsis_dap_backend
is not specified.ftdi_set_signal
command. Special signal namesare reserved for nTRST, nSRST and LED (for blink) so that they, if defined,will be used for their customary purpose. Inputs can be read using theftdi_get_signal
command.ftdi_get_signal
.reset_config
must be specified assrst_open_drain, not srst_push_pull.kitprog_init_acquire_psoc
or kitprog acquire_psoc
to yourconfiguration script.kitprog_init_acquire_psoc
in order tocommunicate with PSoC 5LP devices. This is because, assuming debug is notdisabled on the PSoC, the PSoC 5LP needs its JTAG interface switched to SWDmode before communication can begin, but prior to firmware 2.14, 'JTAG to SWD'could only be sent with an acquisition sequence.adapter speed
configuration.When the optional nanoseconds parameter is given,that setting is changed before displaying the current value.runtest 1000
or something similar to generate alarge set of samples.Update the setting to match your measurement:adapter speed
command given in OpenOCD scripts and event handlers.adapter speed
command;be conservative.transport select
auto-selects the first transportsupported by the debug adapter.transport select
always returns the name of the session’s selectedtransport, if any.transport selectjtag
. Unless your adapter uses either the hla interfacedriver (in which case the command is transport select hla_jtag
)or the st-link interface driver (in which casethe command is transport select dapdirect_jtag
).transport selectswd
. Unless your adapter uses either the hla interfacedriver (in which case the command is transport select hla_swd
)or the st-link interface driver (in which casethe command is transport select dapdirect_swd
).transport select swim
.swim newtap basename tap_type
.The TAP definition must precede the target definition commandtarget create target_name stm8 -chain-position basename.tap_type
.reset-start
target event handler.It can then be reconfigured to a faster speed by areset-init
target event handler after it reprograms thoseCPU clocks, or manually (if something else, such as a boot loader,sets up those clocks).See Target Events.When the initial low JTAG speed is a chip characteristic, perhapsbecause of a required oscillator speed, provide such a handlerin the target config file.When that speed is a function of a board-specific characteristicsuch as which speed oscillator is used, it belongs in the boardconfig file instead.In both cases it’s safest to also set the initial JTAG clock rateto that same slow speed, so that OpenOCD never starts up using aclock speed that’s faster than the scan chain can support.jtag_rclk
instead of adapter speed
, but only for (ARM) cores and boardswhich support adaptive clocking.