<?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>topic Re: How can i load an external .eld file using the debugger shell? in CodeWarrior for StarCore</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/How-can-i-load-an-external-eld-file-using-the-debugger-shell/m-p/325433#M457</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mihai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation seems to contains an issue/bug in respect with this use case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to load an ELD with CW Debugger Shell via TCL script, there is a dedicated command called: &lt;STRONG&gt;debug&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;%&amp;gt;help debug&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;COMMAND&amp;nbsp;&amp;nbsp;&amp;nbsp; debug - launch a debug session&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SHORTCUT&amp;nbsp; de&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SYNTAX&amp;nbsp;&amp;nbsp;&amp;nbsp; debug [[-index] &amp;lt;index&amp;gt; | [-name] &amp;lt;debug-config-name&amp;gt;]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;EXAMPLES&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start debugging using the default launch configuration, which is&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the last debugged configuration if one exists and index 0 otherwise.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug -index 3 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start debugging using the launch configuration at index 3.&amp;nbsp; Type &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'launch' for the current set of launch configurations.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug -name 3 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start debugging using the launch configuration named '3'.&amp;nbsp; Type &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'launch' for the current set of launch configurations.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug 3 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start debugging using the launch configuration named '3'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If '3' does not exist then launch configuration with index 3 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; will be launched.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type 'launch' for the current set of launch configurations.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug {My Launch Config} &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start debugging using the launch configuration named 'My Launch&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Config'.&amp;nbsp; Type 'launch' for the current set of launch configurations.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestion for you, is tu use: debug {My Launch Config} where My Launch Config is the name of the Debug Configuration assigned to use the ELD you want to load.&lt;/P&gt;&lt;P&gt;If you wish to build the project, obtain the ELD and then load that into target via CW TCL script, then you might wish to use the ECD.exe ({CW install dir\eclipse}) utility that is provided via CW instal. Details are shown in CodeWarrior Common Feature Guide.pdf under $ Tcl Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need such example in TCL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2014 08:47:04 GMT</pubDate>
    <dc:creator>Daniel_Popa</dc:creator>
    <dc:date>2014-07-07T08:47:04Z</dc:date>
    <item>
      <title>How can i load an external .eld file using the debugger shell?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/How-can-i-load-an-external-eld-file-using-the-debugger-shell/m-p/325432#M456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i load an external .eld file in CW 10.2.9 using the debugger shell or tcl script?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something similar to TI's .memory.loadProgram &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked out &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;StarCore DSP Architectures &lt;/SPAN&gt;Targeting Manual&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you pass the command-line debugger a load command that&lt;/P&gt;&lt;P&gt;includes a filename containing the suffix .eld or .mcp, the&lt;/P&gt;&lt;P&gt;debugger loads the project. Otherwise, the debugger invokes&lt;/P&gt;&lt;P&gt;the Tcl load command.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However cw doesn't know the load command and instead suggests me to check the TCL documentation despite using it with a *.eld file &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 12:30:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/How-can-i-load-an-external-eld-file-using-the-debugger-shell/m-p/325432#M456</guid>
      <dc:creator>mihaiciric</dc:creator>
      <dc:date>2014-06-27T12:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can i load an external .eld file using the debugger shell?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/How-can-i-load-an-external-eld-file-using-the-debugger-shell/m-p/325433#M457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mihai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation seems to contains an issue/bug in respect with this use case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to load an ELD with CW Debugger Shell via TCL script, there is a dedicated command called: &lt;STRONG&gt;debug&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;%&amp;gt;help debug&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;COMMAND&amp;nbsp;&amp;nbsp;&amp;nbsp; debug - launch a debug session&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SHORTCUT&amp;nbsp; de&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SYNTAX&amp;nbsp;&amp;nbsp;&amp;nbsp; debug [[-index] &amp;lt;index&amp;gt; | [-name] &amp;lt;debug-config-name&amp;gt;]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;EXAMPLES&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start debugging using the default launch configuration, which is&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the last debugged configuration if one exists and index 0 otherwise.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug -index 3 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start debugging using the launch configuration at index 3.&amp;nbsp; Type &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'launch' for the current set of launch configurations.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug -name 3 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start debugging using the launch configuration named '3'.&amp;nbsp; Type &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'launch' for the current set of launch configurations.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug 3 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start debugging using the launch configuration named '3'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If '3' does not exist then launch configuration with index 3 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; will be launched.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type 'launch' for the current set of launch configurations.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug {My Launch Config} &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start debugging using the launch configuration named 'My Launch&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Config'.&amp;nbsp; Type 'launch' for the current set of launch configurations.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestion for you, is tu use: debug {My Launch Config} where My Launch Config is the name of the Debug Configuration assigned to use the ELD you want to load.&lt;/P&gt;&lt;P&gt;If you wish to build the project, obtain the ELD and then load that into target via CW TCL script, then you might wish to use the ECD.exe ({CW install dir\eclipse}) utility that is provided via CW instal. Details are shown in CodeWarrior Common Feature Guide.pdf under $ Tcl Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need such example in TCL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 08:47:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/How-can-i-load-an-external-eld-file-using-the-debugger-shell/m-p/325433#M457</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2014-07-07T08:47:04Z</dc:date>
    </item>
  </channel>
</rss>

