This website works better with JavaScript.
Home
Help
Register
Sign In
jim
/
openocd
Watch
0
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
26
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4751
Commits
9
Branches
43 MiB
Tree:
6ebac1b829
cc2538-riot
jim
jim-debug
jim-nrf5-free
jim-nuttx
jim-openocd10
jim-rtt
master
rtt
v0.10.0
v0.10.0-rc2
v0.10.0-rc1
v0.9.0
v0.9.0-rc1
v0.8.0
v0.8.0-rc2
v0.8.0-rc1
v0.7.0
v0.7.0-rc2
v0.7.0-rc1
v0.6.1
v0.6.0
v0.6.0-rc2
v0.6.0-rc1
v0.5.0
v0.5.0-rc2
v0.5.0-rc1
v0.4.0
v0.4.0-rc2
v0.4.0-rc1
v0.3.1
v0.3.0
v0.3.0-rc0
v0.2.0
v0.1.0
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from '6ebac1b829'
${ noResults }
openocd
/
src
/
jtag
/
driver.h
driver.h
88 B
Raw
Normal View
History
split "interface" commands from "jtag" ones We'll need to be able to work with debug adapter interfaces (drivers) even when they're not used for JTAG ... for example, while there are multi-transport drivers which support JTAG *and* several other transports (or just one more, like SWD) there are also adapters with more limited goals (and no JTAG support at all). Start decoupling the two concepts ("debug adapter driver", "jtag") by having two command groups, which initialize separately. This will help us support OpenOCD sessions using only non-JTAG transports, in which JTAG commands should not be registered. Update docs to mention that the JTAG, SVF, and XSVF commands won't work without a JTAG transport. Note that at least commands working with SRST are still inappropriately coupled to JTAG ... inappropriate because (a) SRST is not part of the JTAG standard, for all that many platforms (like ARM) expect it; and also (b) because they're used with non-JTAG debug and programming interfaces, too. They should perhaps become generic "interface" operations at some point. (Similarly with the clock rate to be used by a given adapter.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years ago
1
2
3
4
struct command_context;
int interface_register_commands(struct command_context *ctx);