]> git.sur5r.net Git - openocd/blob - src/scripting.txt
wip
[openocd] / src / scripting.txt
1 Plan for hosted scripting support in OpenOCD\r
2 ============================================\r
3 Jim Tcl support in OpenOCD currently exists as a patch.\r
4 \r
5 There has been some discussion on the list as to what\r
6 purpose scripting support might serve in OpenOCD.\r
7 \r
8 Also Lua was proposed as a scripting language, but \r
9 only Jim Tcl has been forwarded as a patch.\r
10 \r
11 Tcl is also backwards syntax compatible with OpenOCD \r
12 commands.\r
13 \r
14 Uses of scripting\r
15 =================\r
16 \r
17 Default implementation of procedures in tcl/procedures.tcl.\r
18 \r
19 - Polymorphic commands for target scripts.\r
20   - produce <file> <serialnumber>. Default implementation\r
21     is to ignore serial number and write a raw binary file\r
22     to beginning of first flash. \r
23   - reset handling. Precise control of how srst, trst & \r
24     tms is handled and when.\r
25