<?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 SIM_COPC on KL16Z128 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-COPC-on-KL16Z128/m-p/681277#M41946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;BR /&gt;Why i cant change the value on the sim copc?.&lt;BR /&gt;I know this register is one write every reset. i try to modified this value in __init__ hardware and this value doesn't change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void __init_hardware()&lt;BR /&gt;{&lt;BR /&gt; SCB_VTOR = (uint32_t)__vector_table; /* Set the interrupt vector table position */&lt;BR /&gt; &lt;BR /&gt; // Disable the Watchdog because it may reset the core before entering main().&lt;BR /&gt; //SIM_COPC = KINETIS_WDOG_DISABLED_CTRL;&lt;BR /&gt; SIM_COPC = 0x0C;&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jun 2017 21:51:19 GMT</pubDate>
    <dc:creator>adrianhuerta</dc:creator>
    <dc:date>2017-06-08T21:51:19Z</dc:date>
    <item>
      <title>SIM_COPC on KL16Z128</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-COPC-on-KL16Z128/m-p/681277#M41946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;BR /&gt;Why i cant change the value on the sim copc?.&lt;BR /&gt;I know this register is one write every reset. i try to modified this value in __init__ hardware and this value doesn't change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void __init_hardware()&lt;BR /&gt;{&lt;BR /&gt; SCB_VTOR = (uint32_t)__vector_table; /* Set the interrupt vector table position */&lt;BR /&gt; &lt;BR /&gt; // Disable the Watchdog because it may reset the core before entering main().&lt;BR /&gt; //SIM_COPC = KINETIS_WDOG_DISABLED_CTRL;&lt;BR /&gt; SIM_COPC = 0x0C;&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 21:51:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-COPC-on-KL16Z128/m-p/681277#M41946</guid>
      <dc:creator>adrianhuerta</dc:creator>
      <dc:date>2017-06-08T21:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: SIM_COPC on KL16Z128</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-COPC-on-KL16Z128/m-p/681278#M41947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;not sure what drivers you use but anyway usually during the start-up (based on e.g. DISABLE_WDOG macro definition in KSDK) there is a small piece of code which already write into the SIM_COPC register to disable WDOG in default. I user want to have enabled WDOG it is required to define macro in order to step over that piece of code during start-up. So, I assume that in your code it is already be written into the SIM_COPC before you trying to do so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;R.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 06:17:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-COPC-on-KL16Z128/m-p/681278#M41947</guid>
      <dc:creator>rastislav_pavlanin</dc:creator>
      <dc:date>2017-06-09T06:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: SIM_COPC on KL16Z128</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-COPC-on-KL16Z128/m-p/681279#M41948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian,&lt;/P&gt;&lt;P&gt;I am not quite sure if you are using the code generated by Processor Expert.&lt;BR /&gt;Have you try to write your own code after select 'no' at 'Watchdog disable'? (For example: write your own code at line 301)&lt;BR /&gt;Or using the WatchDog_LDD component.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="WDOG.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20963i0FB8092BF38240C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="WDOG.png" alt="WDOG.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 08:53:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-COPC-on-KL16Z128/m-p/681279#M41948</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-06-09T08:53:28Z</dc:date>
    </item>
  </channel>
</rss>

