<?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 Development ToolsのトピックHow to modify the generated code?</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-modify-the-generated-code/m-p/950405#M7843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to output a PWM signal from&amp;nbsp;&lt;SPAN style="color: #1d2228; background-color: #ffffff;"&gt;S9KEAZN8AMFK chip and I use Processor Expert to generate the code I want.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I set the initial conditions in the component properties tab below (which results in a 50% ratio PWM). Open the generated PWM1.c and&amp;nbsp;attempt to modify the ratio. But&amp;nbsp;even if&amp;nbsp;I change the&amp;nbsp;RatioStore value in the PWM1.c file to 0x0000U, the&amp;nbsp;chip still outputs a 50% ratio PWM signal. The only way I can change it is by&amp;nbsp;editing the component properties down below. Am I doing it wrong? Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1d2228; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92945i1444B18CAF8865E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Oct 2019 18:15:25 GMT</pubDate>
    <dc:creator>zhmwu</dc:creator>
    <dc:date>2019-10-21T18:15:25Z</dc:date>
    <item>
      <title>How to modify the generated code?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-modify-the-generated-code/m-p/950405#M7843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to output a PWM signal from&amp;nbsp;&lt;SPAN style="color: #1d2228; background-color: #ffffff;"&gt;S9KEAZN8AMFK chip and I use Processor Expert to generate the code I want.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I set the initial conditions in the component properties tab below (which results in a 50% ratio PWM). Open the generated PWM1.c and&amp;nbsp;attempt to modify the ratio. But&amp;nbsp;even if&amp;nbsp;I change the&amp;nbsp;RatioStore value in the PWM1.c file to 0x0000U, the&amp;nbsp;chip still outputs a 50% ratio PWM signal. The only way I can change it is by&amp;nbsp;editing the component properties down below. Am I doing it wrong? Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1d2228; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92945i1444B18CAF8865E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2019 18:15:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-modify-the-generated-code/m-p/950405#M7843</guid>
      <dc:creator>zhmwu</dc:creator>
      <dc:date>2019-10-21T18:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify the generated code?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-modify-the-generated-code/m-p/950406#M7844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="349553" data-username="zhmwu@caas-usa.com" href="https://community.nxp.com/people/zhmwu@caas-usa.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Zhouming Wu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;If you just want to modify code in PWM.C file, after modify, you need enable " Don't Write Generated Component Modules" as blow, or the generate code will replace your own code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92922i1F9164AD5071B14F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2019 03:26:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-modify-the-generated-code/m-p/950406#M7844</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-10-22T03:26:15Z</dc:date>
    </item>
  </channel>
</rss>

