@@ -43,7 +43,7 @@ with a script language:
4343What follows hopefully shows how the plans to solve these problems
4444materialized and help to explain the grand roadmap plan.
4545
46- @subsection serverdocsjim Why JimTCL ? The Internal Script Language
46+ @subsection serverdocsjim Why Jim Tcl ? The Internal Script Language
4747
4848At the time, the existing "command context schema" was proving itself
4949insufficient. However, the problem was also considered from another
@@ -57,14 +57,14 @@ OpenOCD. Yuck. OpenOCD already has a complex enough build system, why
5757make it worse?
5858
5959The goal was to add a simple language that would be moderately easy to
60- work with and be self-contained. JimTCL is a single C and single H
60+ work with and be self-contained. Jim Tcl is a single C and single H
6161file, allowing OpenOCD to avoid the spider web of dependent packages.
6262
63- @section serverdocstcl TCL Server Port
63+ @section serverdocstcl Tcl Server Port
6464
65- The TCL Server port was added in mid-2008. With embedded TCL , we can
65+ The Tcl Server port was added in mid-2008. With embedded Tcl , we can
6666write scripts internally to help things, or we can write "C" code that
67- interfaces well with TCL .
67+ interfaces well with Tcl .
6868
6969From there, the developers wanted to create an external front-end that
7070would be @a very usable and that @a any language could utilize,
@@ -78,7 +78,7 @@ also support a high degree of interoperability with multiple systems.
7878They are not human-centric protocols; more correctly, they are rigid,
7979terse, simple ASCII protocols that are easily parsable by a script.
8080
81- Thus, the TCL server -- a 'machine' type socket interface -- was added
81+ Thus, the Tcl server -- a 'machine' type socket interface -- was added
8282with the hope was it would output simple "name-value" pair type
8383data. At the time, simple name/value pairs seemed reasonably easier to
8484do at the time, though Maybe it should output JSON;
@@ -107,7 +107,7 @@ What works easier and is less work is what is already present in every
107107platform? The answer: A web browser. In other words, OpenOCD could
108108serve out embedded web pages via "localhost" to your browser.
109109
110- Long before OpenOCD had a TCL command line, Zylin AS built their ZY1000
110+ Long before OpenOCD had a Tcl command line, Zylin AS built their ZY1000
111111device with a built-in HTTP server. Later, they were willing to both
112112contribute and integrate most of that work into the main tree.
113113
@@ -128,8 +128,8 @@ every language has it's own set of wack-ness, parameter marshaling is
128128painful.
129129
130130What about "callbacks" and structures, and other mess. Imagine
131- debugging that system. When JimTCL was introduced Spencer Oliver had
132- quite a few well-put concerns (Summer 2008) about the idea of "TCL "
131+ debugging that system. When Jim Tcl was introduced Spencer Oliver had
132+ quite a few well-put concerns (Summer 2008) about the idea of "Tcl "
133133taking over OpenOCD. His concern is and was: how do you debug
134134something written in 2 different languages? A "SWIG" front-end is
135135unlikely to help that situation.
@@ -143,7 +143,7 @@ to Localhost or remote host, however one might want to make it work.
143143
144144A socket interface is very simple. One could write a Java application
145145and serve it out via the embedded web server, could it - or something
146- like it talk to the built in TCL server? Yes, absolutely! We are on to
146+ like it talk to the built in Tcl server? Yes, absolutely! We are on to
147147something here.
148148
149149@subsection serverdocplatforms Platform Permutations
@@ -167,9 +167,9 @@ the Socket Approach is used.
167167
168168@subsection serverdocfuture Development Scale Out
169169
170- During 2008, Duane Ellis created some TCL scripts to display peripheral
171- register contents. For example, look at the sam7 TCL scripts, and the
172- stm32 TCL scripts. The hope was others would create more.
170+ During 2008, Duane Ellis created some Tcl scripts to display peripheral
171+ register contents. For example, look at the sam7 Tcl scripts, and the
172+ stm32 Tcl scripts. The hope was others would create more.
173173
174174
175175A good example of this is display/view the peripheral registers on
@@ -208,7 +208,7 @@ upon it, sometimes that is the only scheme available.
208208As a small group of developers, supporting all the platforms and
209209targets in the debugger will be difficult, as there are enough problem
210210with the plethora of Adapters, Chips, and different target boards.
211- Yes, the TCL interface might be suitable, but it has not received much
211+ Yes, the Tcl interface might be suitable, but it has not received much
212212love or attention. Perhaps it will after you read and understand this.
213213
214214One reason might be, this adds one more host side requirement to make
@@ -247,8 +247,8 @@ Altogether, it provides a universally accessible GUI for OpenOCD.
247247
248248@section serverdocshtml Simple HTML Pages
249249
250- There is (or could be) a simple "Jim TCL " function to read a memory
251- location. If that can be tied into a TCL script that can modify the
250+ There is (or could be) a simple "Jim Tcl " function to read a memory
251+ location. If that can be tied into a Tcl script that can modify the
252252HTTP text, then we have a simple script-based web server with a JTAG
253253engine under the hood.
254254
@@ -275,7 +275,7 @@ bit-banging JTAG Adapter serving web pages.
275275
276276@subsection serverdocshtmladv Advanced HTML Pages
277277
278- Java or JavaScript could be used to talk back to the TCL port. One
278+ Java or JavaScript could be used to talk back to the Tcl port. One
279279could write a Java, AJAX, FLASH, or some other developer friendly
280280toolbox and get a real cross-platform GUI interface. Sure, the interface
281281is not native - but it is 100% cross-platform!
0 commit comments