<?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のトピックCodeWarrior - debugger shell automation script</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-debugger-shell-automation-script/m-p/487884#M12565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need your help for my problem.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Information about my project:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Location of my actual workspace: D:/PROJECTS/CODEWARRIOR/CODEWARRIOR_WORKSPACE&lt;/P&gt;&lt;P&gt;Location of my actual project into this workspace: D:/PROJECTS/CODEWARRIOR/SimpleTest&lt;/P&gt;&lt;P&gt;In this folder (SimpleTest) is stored many version of this project (SimpleTest0.elf; SimpleTest1.elf...).&lt;/P&gt;&lt;P&gt;Location of my script file: D:/PROJECTS/CODEWARRIOR&lt;/P&gt;&lt;P&gt;My target is a MPC5604B. CW version 10.6&lt;/P&gt;&lt;P&gt;I create a new debugger configuration to flash the target, name MPC5604B_PROGRAMMER&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Undo Windows shell I open my workspace and execute a tcl script as&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;C:\Users&amp;gt; "C:\Freescale\CW MCU v10.6\eclipse\cwide.exe" -vmargsplus -data D:\PROJECTS\CODEWARRIOR\CODEWARRIOR_WORKSPACE -Dcw.script=D:\PROJECTS\CODEWARRIOR\scriptSimpleTest.tcl&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then CodeWarrior is opening with this workspace and executes my script.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What shall I write in this script file to:&lt;/P&gt;&lt;P&gt;0- (if necessary open the SimpleTest project to have configuration)&lt;/P&gt;&lt;P&gt;1- erase previous program into my target&lt;/P&gt;&lt;P&gt;2- flash in debug mode (I want to play with breakpoint, read and write in memory from this script) a specifically SimpleTestx.elf file.&lt;/P&gt;&lt;P&gt;For steps 1 &amp;amp; 2 I need to use MPC5604B_PROGRAMMER for manipulating the target.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Romain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Apr 2016 09:48:25 GMT</pubDate>
    <dc:creator>romainbenet</dc:creator>
    <dc:date>2016-04-07T09:48:25Z</dc:date>
    <item>
      <title>CodeWarrior - debugger shell automation script</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-debugger-shell-automation-script/m-p/487884#M12565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need your help for my problem.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Information about my project:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Location of my actual workspace: D:/PROJECTS/CODEWARRIOR/CODEWARRIOR_WORKSPACE&lt;/P&gt;&lt;P&gt;Location of my actual project into this workspace: D:/PROJECTS/CODEWARRIOR/SimpleTest&lt;/P&gt;&lt;P&gt;In this folder (SimpleTest) is stored many version of this project (SimpleTest0.elf; SimpleTest1.elf...).&lt;/P&gt;&lt;P&gt;Location of my script file: D:/PROJECTS/CODEWARRIOR&lt;/P&gt;&lt;P&gt;My target is a MPC5604B. CW version 10.6&lt;/P&gt;&lt;P&gt;I create a new debugger configuration to flash the target, name MPC5604B_PROGRAMMER&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Undo Windows shell I open my workspace and execute a tcl script as&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;C:\Users&amp;gt; "C:\Freescale\CW MCU v10.6\eclipse\cwide.exe" -vmargsplus -data D:\PROJECTS\CODEWARRIOR\CODEWARRIOR_WORKSPACE -Dcw.script=D:\PROJECTS\CODEWARRIOR\scriptSimpleTest.tcl&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then CodeWarrior is opening with this workspace and executes my script.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What shall I write in this script file to:&lt;/P&gt;&lt;P&gt;0- (if necessary open the SimpleTest project to have configuration)&lt;/P&gt;&lt;P&gt;1- erase previous program into my target&lt;/P&gt;&lt;P&gt;2- flash in debug mode (I want to play with breakpoint, read and write in memory from this script) a specifically SimpleTestx.elf file.&lt;/P&gt;&lt;P&gt;For steps 1 &amp;amp; 2 I need to use MPC5604B_PROGRAMMER for manipulating the target.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Romain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 09:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-debugger-shell-automation-script/m-p/487884#M12565</guid>
      <dc:creator>romainbenet</dc:creator>
      <dc:date>2016-04-07T09:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior - debugger shell automation script</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-debugger-shell-automation-script/m-p/487885#M12566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Romain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;look at these two URLs.&lt;/P&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;&lt;/P&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Segoe UI',sans-serif;"&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=http%3A%2F%2Fwww.tcl.tk%2F" rel="nofollow" target="_blank"&gt;http://www.tcl.tk/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Segoe UI',sans-serif;"&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=http%3A%2F%2Ftmml.sourceforge.net%2Fdoc%2Ftcl%2F" rel="nofollow" target="_blank"&gt;http://tmml.sourceforge.net/doc/tcl/&lt;/A&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;&lt;/P&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;Also look at the document in the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 11:23:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-debugger-shell-automation-script/m-p/487885#M12566</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-04-08T11:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior - debugger shell automation script</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-debugger-shell-automation-script/m-p/487886#M12567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. But I need still your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With your attached file Targeting_Microcontrollers.pdf part 4.3.3 - Debug an Externally Built Microcontrollers Executable File I have create a specific workspace and project as:&lt;/P&gt;&lt;P&gt;Workspace at D:/CODEWARRIOR_WORKSPACE&lt;/P&gt;&lt;P&gt;Project entitled Debugger_MPC5604B in this workspace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how resolve following step with command into the debugger shell (as if I don't have mouse to click on any button)&lt;/P&gt;&lt;P&gt;1- open the project Debugger_MPC5604B if it is closing at the startup of CodeWarrior&lt;/P&gt;&lt;P&gt;2- add others *.elf files to the project for the same target&lt;/P&gt;&lt;P&gt;3- debug only one wanted *.elf file to the MPC5604B microcontroller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Romain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 12:24:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-debugger-shell-automation-script/m-p/487886#M12567</guid>
      <dc:creator>romainbenet</dc:creator>
      <dc:date>2016-04-08T12:24:52Z</dc:date>
    </item>
  </channel>
</rss>

