<?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: is init_kinetis.tcl called every time when running debugger in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/is-init-kinetis-tcl-called-every-time-when-running-debugger/m-p/224870#M8879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;Yes each time you are using the debugger it will run the init script.&amp;nbsp; To look at which init script is being used follow the below steps.&amp;nbsp; Assumption is you have a project open and compiled.&lt;/P&gt;&lt;P&gt;Run-&amp;gt;Debug Configurations...&lt;/P&gt;&lt;P&gt;Open the "CodeWarrior" folder and select the target you want to flash and debug.&amp;nbsp; For me it is mfs_nandflash_twrk60d100m_Int_Flash_Debug.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ScreenHunter_34 Oct. 22 16.52.gif"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40784i23089A6F202766EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="ScreenHunter_34 Oct. 22 16.52.gif" alt="ScreenHunter_34 Oct. 22 16.52.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then click the "Edit..." button under Target settings to see the below picture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ScreenHunter_35 Oct. 22 16.55.gif"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40825iC29A12595DE41CD5/image-size/large?v=v2&amp;amp;px=999" role="button" title="ScreenHunter_35 Oct. 22 16.55.gif" alt="ScreenHunter_35 Oct. 22 16.55.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Click the "Edit..." button next to the Target to see the following window to point to the init script and tab over to the .mem file selection too:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ScreenHunter_36 Oct. 22 16.56.gif"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41022iF63C43C252CD1E66/image-size/large?v=v2&amp;amp;px=999" role="button" title="ScreenHunter_36 Oct. 22 16.56.gif" alt="ScreenHunter_36 Oct. 22 16.56.gif" /&gt;&lt;/span&gt;&lt;BR /&gt;The file name is hidden but I've copied it here for one and all to see:&lt;/P&gt;&lt;P&gt;${ProjDirPath}/Debugger/init_kinetis.tcl&lt;/P&gt;&lt;P&gt;And .mem file:&lt;/P&gt;&lt;P&gt;${ProjDirPath}/Debugger/MK60FN1M0.mem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Oct 2013 22:02:03 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2013-10-22T22:02:03Z</dc:date>
    <item>
      <title>is init_kinetis.tcl called every time when running debugger</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/is-init-kinetis-tcl-called-every-time-when-running-debugger/m-p/224869#M8878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to make sure init_kinetis.tcl gets called every time programming a new image through debugger - since it contains code to disable hardware watchdog which requires a GPIO to be INPUT.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I feel this TCL script is not called every time - is this true? if yes, then how to configure it to be called in CW?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 21:42:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/is-init-kinetis-tcl-called-every-time-when-running-debugger/m-p/224869#M8878</guid>
      <dc:creator>David_Wu</dc:creator>
      <dc:date>2013-10-22T21:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: is init_kinetis.tcl called every time when running debugger</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/is-init-kinetis-tcl-called-every-time-when-running-debugger/m-p/224870#M8879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;Yes each time you are using the debugger it will run the init script.&amp;nbsp; To look at which init script is being used follow the below steps.&amp;nbsp; Assumption is you have a project open and compiled.&lt;/P&gt;&lt;P&gt;Run-&amp;gt;Debug Configurations...&lt;/P&gt;&lt;P&gt;Open the "CodeWarrior" folder and select the target you want to flash and debug.&amp;nbsp; For me it is mfs_nandflash_twrk60d100m_Int_Flash_Debug.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ScreenHunter_34 Oct. 22 16.52.gif"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40784i23089A6F202766EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="ScreenHunter_34 Oct. 22 16.52.gif" alt="ScreenHunter_34 Oct. 22 16.52.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then click the "Edit..." button under Target settings to see the below picture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ScreenHunter_35 Oct. 22 16.55.gif"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40825iC29A12595DE41CD5/image-size/large?v=v2&amp;amp;px=999" role="button" title="ScreenHunter_35 Oct. 22 16.55.gif" alt="ScreenHunter_35 Oct. 22 16.55.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Click the "Edit..." button next to the Target to see the following window to point to the init script and tab over to the .mem file selection too:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ScreenHunter_36 Oct. 22 16.56.gif"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41022iF63C43C252CD1E66/image-size/large?v=v2&amp;amp;px=999" role="button" title="ScreenHunter_36 Oct. 22 16.56.gif" alt="ScreenHunter_36 Oct. 22 16.56.gif" /&gt;&lt;/span&gt;&lt;BR /&gt;The file name is hidden but I've copied it here for one and all to see:&lt;/P&gt;&lt;P&gt;${ProjDirPath}/Debugger/init_kinetis.tcl&lt;/P&gt;&lt;P&gt;And .mem file:&lt;/P&gt;&lt;P&gt;${ProjDirPath}/Debugger/MK60FN1M0.mem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 22:02:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/is-init-kinetis-tcl-called-every-time-when-running-debugger/m-p/224870#M8879</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2013-10-22T22:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: is init_kinetis.tcl called every time when running debugger</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/is-init-kinetis-tcl-called-every-time-when-running-debugger/m-p/224871#M8880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Yes it runs&amp;nbsp; init_kinetis.tcl . &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; It is the first stage to invoke the processor with a configured register settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Then a purpose "debugging" comes we talk about.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; And you need to run the .tcl every time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sarath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 05:26:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/is-init-kinetis-tcl-called-every-time-when-running-debugger/m-p/224871#M8880</guid>
      <dc:creator>sarathchandra</dc:creator>
      <dc:date>2013-10-23T05:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: is init_kinetis.tcl called every time when running debugger</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/is-init-kinetis-tcl-called-every-time-when-running-debugger/m-p/224872#M8881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks David and Sarath. I figured it out by checking "Display Selected Console" in "Console" window - and choose the Int_Flash_Debug-PnE U-MultiLink then I can see the script is executed each time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 20:23:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/is-init-kinetis-tcl-called-every-time-when-running-debugger/m-p/224872#M8881</guid>
      <dc:creator>David_Wu</dc:creator>
      <dc:date>2013-10-23T20:23:27Z</dc:date>
    </item>
  </channel>
</rss>

