<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki3.micromint.com/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Using OpenOCD/3 - Revision history</title>
		<link>https://wiki3.micromint.com/index.php?title=Using_OpenOCD/3&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.3</generator>
		<lastBuildDate>Sun, 12 Apr 2026 08:10:04 GMT</lastBuildDate>
		<item>
			<title>Support at 17:34, 17 June 2010</title>
			<link>https://wiki3.micromint.com/index.php?title=Using_OpenOCD/3&amp;diff=574&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 17:34, 17 June 2010&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Setting_Breakpoints&lt;/del&gt;.png|center|frame|alt=Setting Breakpoints|Figure 3-5: Setting breakpoints and watching variables]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Insight_Setting_Breakpoints&lt;/ins&gt;.png|center|frame|alt=Setting Breakpoints|Figure 3-5: Setting breakpoints and watching variables]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The following list describes the use of the debugger buttons:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The following list describes the use of the debugger buttons:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-12 08:10:05 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 17 Jun 2010 17:34:49 GMT</pubDate>			<dc:creator>Support</dc:creator>			<comments>https://wiki3.micromint.com/index.php/Talk:Using_OpenOCD/3</comments>		</item>
		<item>
			<title>Support at 17:32, 17 June 2010</title>
			<link>https://wiki3.micromint.com/index.php?title=Using_OpenOCD/3&amp;diff=573&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 17:32, 17 June 2010&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Figure 3-1: Invoking Insight from the command line&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Figure 3-1: Invoking Insight from the command line&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Insight_window&lt;/del&gt;.png|center|frame|alt=Insight source window|Figure 3-2: Insight source window]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Insight_Window&lt;/ins&gt;.png|center|frame|alt=Insight source window|Figure 3-2: Insight source window]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Insight has several windows useful for debugging, including:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Insight has several windows useful for debugging, including:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-12 08:10:05 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 17 Jun 2010 17:32:23 GMT</pubDate>			<dc:creator>Support</dc:creator>			<comments>https://wiki3.micromint.com/index.php/Talk:Using_OpenOCD/3</comments>		</item>
		<item>
			<title>Support:&amp;#32;Created page with '=Debugging using Insight GUI= ==Insight – The GDB GUI== Insight is a graphical user interface to GDB written in Tcl/Tk. The main advantage of using the Insight GUI is that mult…'</title>
			<link>https://wiki3.micromint.com/index.php?title=Using_OpenOCD/3&amp;diff=570&amp;oldid=prev</link>
			<description>&lt;p&gt;Created page with &amp;#39;=Debugging using Insight GUI= ==Insight – The GDB GUI== Insight is a graphical user interface to GDB written in Tcl/Tk. The main advantage of using the Insight GUI is that mult…&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Debugging using Insight GUI=&lt;br /&gt;
==Insight – The GDB GUI==&lt;br /&gt;
Insight is a graphical user interface to GDB written in Tcl/Tk. The main advantage of using the Insight GUI is that multiple debugging windows are displayed simultaneously. You can have a console window to type commands, a source window with the source code being executed, a watch window with the current contents of variables (including structures, linked lists, etc.), a stack window with the program's call stack, and so on. All your display windows are updated automatically as you step through your program.&lt;br /&gt;
&lt;br /&gt;
Insight can be used with popular GNU ARM toolchains like devkitARM, Sourcery G++ Lite, WinARM and YAGARTO. Since it is not included with the toolchain distribution, you may need to install it separately. It is important to verify that the version of Insight in use supports the version of GDB in the toolchain.&lt;br /&gt;
==Introduction to Insight Functions==&lt;br /&gt;
The Insight console window allows access to the same GDB commands discussed in the previous chapter. Rules and procedures are the same, but Insight acts as a graphical interface  to GDB to simplify its operation. Insight can be invoked from the command line, usually from the directory containing the application binary to be debugged. The devkitARM project includes build of Insight compatible with their toolchain. It can be invoked with ’arm-eabi-insight project_name.out’.  Figure 3-1 shows a sample debugging session of blinky.out.  After Insight is loaded, a source window will be displayed similar to the one shown in Figure 3-2.&lt;br /&gt;
&lt;br /&gt;
 C:\Projects\ARM\blinky\gcc&amp;gt; arm-eabi-insight blinky.out&lt;br /&gt;
&lt;br /&gt;
Figure 3-1: Invoking Insight from the command line&lt;br /&gt;
 &lt;br /&gt;
[[Image:Insight_window.png|center|frame|alt=Insight source window|Figure 3-2: Insight source window]]&lt;br /&gt;
&lt;br /&gt;
Insight has several windows useful for debugging, including:&lt;br /&gt;
&lt;br /&gt;
* Console window&lt;br /&gt;
* Source window&lt;br /&gt;
* Register window&lt;br /&gt;
* Memory window&lt;br /&gt;
* Locals window&lt;br /&gt;
* Watch window&lt;br /&gt;
* Stack window&lt;br /&gt;
* Thread/process window&lt;br /&gt;
* Function browser window&lt;br /&gt;
* Debug window (for developers)&lt;br /&gt;
&lt;br /&gt;
Insight can connect to a remote target via OpenOCD by selecting ‘File’, ‘Target’ in the menu and specifying the remote target parameters as shown in Figure 3-3. The localhost:3333 in the example connects to the OpenOCD daemon running in port 3333 of the local machine. Once you have specified your target settings, you can click the Run button so Insight loads the application to your device. Another alternative is to enter the command’target remote localhost:3333’ in the command window as shown in Figure 3-4. If you specified your target using the console window, you will need to manually load your program to your device typing load in the command line. &lt;br /&gt;
&lt;br /&gt;
[[Image:Target_Settings.png|center|frame|alt=Target Settings|Figure 3-3: Target Settings window]]&lt;br /&gt;
 &lt;br /&gt;
[[Image:Console_Window.png|center|frame|alt=Console Window|Figure 3-4: Console Window]]&lt;br /&gt;
&lt;br /&gt;
To jump to the start of the application or to a specific location, you just need to invoke the jump command (j ''line'' or j *''address'') as in GDB using the Console Window.&lt;br /&gt;
&lt;br /&gt;
The GDB commands available from Insight are the same as with the command line example in the previous chapter. When placing breakpoints and watching variables you can do it using two methods: setting them manually using the console window as in GDB, or using Insight graphical interface. To set breakpoints in Insight graphical interface just click on left side of the line number where you want to stop the program. To add a variable to the watch window, right click on the variable and select add variable to watch. Figure 3-5 shows how to set breakpoints and watching variables. Conditional breakpoints are set as in GDB, using the console windows and entering the command: ''cond n [expr]''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
[[Image:Setting_Breakpoints.png|center|frame|alt=Setting Breakpoints|Figure 3-5: Setting breakpoints and watching variables]]&lt;br /&gt;
&lt;br /&gt;
The following list describes the use of the debugger buttons:&lt;br /&gt;
&lt;br /&gt;
[[Image:Insight_Run.png|alt=Run]] Run – Start the debugging process&lt;br /&gt;
&lt;br /&gt;
[[Image:Insight_Into.png|alt=Into]] Step – Step into function calls&lt;br /&gt;
&lt;br /&gt;
[[Image:Insight_Next.png|alt=Next]] Next – Step over function calls&lt;br /&gt;
&lt;br /&gt;
[[Image:Insight_Finish.png|alt=Finish]] Finish – Step out of function calls&lt;br /&gt;
&lt;br /&gt;
[[Image:Insight_Continue.png|alt=Continue]] Continue – Continue the debugging process&lt;br /&gt;
==Using Insight from the CodeBlocks IDE==&lt;br /&gt;
Insight can be invoked from the CodeBlocks IDE using the proper settings. The IDE acts as a launcher for Insight so all procedures discussed in the previous section also apply here.&lt;br /&gt;
&lt;br /&gt;
To set Insight as your debugger within Codeblocks, the procedure is very similar as the one used for GDB. On the ‘Compiler and debugger’ settings window, look for Global compiler settings and click on Toolchain executables. When using the devkitARM toolchain your Debugger should be set to arm-eabi-insight.exe. Figure 3-6 shows an example of the proper configuration of toolchain executables.&lt;br /&gt;
 &lt;br /&gt;
[[Image:Setting_Insight.png|center|frame|alt=Setting Insight in Codeblocks|Figure 3-6: Setting the Debugger to Insight on Codeblocks]]&lt;br /&gt;
&lt;br /&gt;
More information about Insight is available online from this reference:&lt;br /&gt;
&lt;br /&gt;
Insight Home Page&lt;br /&gt;
&lt;br /&gt;
http://sourceware.org/insight/&lt;/div&gt;</description>
			<pubDate>Thu, 17 Jun 2010 17:31:15 GMT</pubDate>			<dc:creator>Support</dc:creator>			<comments>https://wiki3.micromint.com/index.php/Talk:Using_OpenOCD/3</comments>		</item>
	</channel>
</rss>