<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>CodeWarrior for MCUのトピックRe: Tcl-scripting the Debugger Shell</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Tcl-scripting-the-Debugger-Shell/m-p/169520#M5136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I just hadn't imagined that the commands both print and return a value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2012 22:24:09 GMT</pubDate>
    <dc:creator>konrada</dc:creator>
    <dc:date>2012-06-06T22:24:09Z</dc:date>
    <item>
      <title>Tcl-scripting the Debugger Shell</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Tcl-scripting-the-Debugger-Shell/m-p/169518#M5134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've read Erich Styger's article &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fblogs.freescale.com%2F2012%2F04%2F27%2Fscripting-welcome-to-the-debugger-shell%2F" rel="nofollow" target="_blank"&gt;http://blogs.freescale.com/2012/04/27/scripting-welcome-to-the-debugger-shell/&lt;/A&gt; on the Debugger Shell. Apparently, the Debugger Shell is based on Tcl.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to read registers and memory values into Tcl variables so that I can write a script which automatically parses Kinetis exception stack traces and tells me the last known PC (7th register in exception stack frame on either SP_MAIN or SP_PROCESS)? &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 15:52:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Tcl-scripting-the-Debugger-Shell/m-p/169518#M5134</guid>
      <dc:creator>konrada</dc:creator>
      <dc:date>2012-06-05T15:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Tcl-scripting the Debugger Shell</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Tcl-scripting-the-Debugger-Shell/m-p/169519#M5135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here I would use standard Evaluation &amp;amp; Substitutions feature from TCL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; For example to store the value of a register named d3, I would use following notation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set temp [reg d3]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Check following Tutorial for more information on standard TCL language.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.tcl.tk/man/tcl/tutorial/tcltutorial.html" rel="nofollow" target="_blank"&gt;http://www.tcl.tk/man/tcl/tutorial/tcltutorial.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CodeWarrior manual only list the CodeWarrior specific TCL commands. For information on standard TCL commands and features, please refer to &lt;A href="http://www.tcl.tk." rel="nofollow" target="_blank"&gt;www.tcl.tk.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a couple of other location on the web where you can find more info on TCL language.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 13:35:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Tcl-scripting-the-Debugger-Shell/m-p/169519#M5135</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2012-06-06T13:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Tcl-scripting the Debugger Shell</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Tcl-scripting-the-Debugger-Shell/m-p/169520#M5136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I just hadn't imagined that the commands both print and return a value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 22:24:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Tcl-scripting-the-Debugger-Shell/m-p/169520#M5136</guid>
      <dc:creator>konrada</dc:creator>
      <dc:date>2012-06-06T22:24:09Z</dc:date>
    </item>
  </channel>
</rss>

