<?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: Processor Expert generated code changes during debug session in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Processor-Expert-generated-code-changes-during-debug-session/m-p/438336#M3102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would disable them, if only for speeding up things.&lt;/P&gt;&lt;P&gt;Let me know if this solves your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Oct 2015 14:46:53 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2015-10-06T14:46:53Z</dc:date>
    <item>
      <title>Processor Expert generated code changes during debug session</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Processor-Expert-generated-code-changes-during-debug-session/m-p/438333#M3099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I started a Processor Expert project but I'm having some difficulties with it.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I generate the code and look at the sources everything seems to be generated as it is set up in the GUI.&lt;/P&gt;&lt;P&gt;When I build the project it still is.&lt;/P&gt;&lt;P&gt;When I start a debug session though I noticed the files get overwritten.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Namely (on a MC56F84789) I:&lt;/P&gt;&lt;P&gt; - changed the QSCI2 clock rate to the system clock&lt;/P&gt;&lt;P&gt; - added User code after PE initialization (in the build options tab)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both are generated in the code and are still there after building the project.&lt;/P&gt;&lt;P&gt;When starting a debug session, though&lt;/P&gt;&lt;P&gt; - QSCI2 clock rate is being set to 2x the system clock&lt;/P&gt;&lt;P&gt; - my initialization code is being removed&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The GUI still shows my settings though.&lt;/P&gt;&lt;P&gt;I only happened to notice this, because the file was still open in my editor and it informed me that the file has been changed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="212625" data-objecttype="3" href="https://community.nxp.com/people/johnlwinters"&gt;John Winters&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 13:46:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Processor-Expert-generated-code-changes-during-debug-session/m-p/438333#M3099</guid>
      <dc:creator>marcos1</dc:creator>
      <dc:date>2015-10-06T13:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert generated code changes during debug session</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Processor-Expert-generated-code-changes-during-debug-session/m-p/438334#M3100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you disabled code generation while build and the 'build before debug' setting?&lt;/P&gt;&lt;P&gt;See&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/10/30/speeding-up-the-debug-launch-in-codewarrior/" title="http://mcuoneclipse.com/2012/10/30/speeding-up-the-debug-launch-in-codewarrior/"&gt;Speeding up the Debug Launch in CodeWarrior | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 13:50:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Processor-Expert-generated-code-changes-during-debug-session/m-p/438334#M3100</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-10-06T13:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert generated code changes during debug session</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Processor-Expert-generated-code-changes-during-debug-session/m-p/438335#M3101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, both are enabled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 14:04:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Processor-Expert-generated-code-changes-during-debug-session/m-p/438335#M3101</guid>
      <dc:creator>marcos1</dc:creator>
      <dc:date>2015-10-06T14:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert generated code changes during debug session</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Processor-Expert-generated-code-changes-during-debug-session/m-p/438336#M3102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would disable them, if only for speeding up things.&lt;/P&gt;&lt;P&gt;Let me know if this solves your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 14:46:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Processor-Expert-generated-code-changes-during-debug-session/m-p/438336#M3102</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-10-06T14:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert generated code changes during debug session</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Processor-Expert-generated-code-changes-during-debug-session/m-p/438337#M3103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to figure out what went wrong.&lt;/P&gt;&lt;P&gt;When creating a debug configuration I accidentally selected the LDM version instead of the SDM version.&lt;/P&gt;&lt;P&gt;If I do this, the code is being changed reproducibly when starting a debug session.&lt;/P&gt;&lt;P&gt;If I use the SDM version everything works as expected and I can leave the 'build before debug' settings in their default state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't really know what is behind the SDM and LDM concept, but this is the reason my project got messed up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 18:22:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Processor-Expert-generated-code-changes-during-debug-session/m-p/438337#M3103</guid>
      <dc:creator>marcos1</dc:creator>
      <dc:date>2015-10-06T18:22:57Z</dc:date>
    </item>
  </channel>
</rss>

