<?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>S12 / MagniV MicrocontrollersのトピックS12G128 bootloader</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12G128-bootloader/m-p/674843#M14166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" data-group="0-0" style="color: #2e3033; background-color: #eef0f2; font-size: 12px;"&gt;I use S12G128 for the BOOTloader update program, which is done in reference to the 4528 document.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-1" style="color: #2e3033; background-color: #eef0f2; font-size: 12px;"&gt;Currently, when you want to run the APP, you receive the update program command from the serial port, and it executes the bootloader code itself.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-2" style="color: #3385ff; background-color: #eeeeee; font-size: 12px;"&gt;The current situation is that during the implementation of the APP, we hope to update the program, open the watchdog immediately, and reset.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-3" style="color: #2e3033; background-color: #eef0f2; font-size: 12px;"&gt;The program doesn't know where to go.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-4" style="color: #2e3033; background-color: #eef0f2; font-size: 12px;"&gt;Any similar information.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-5" style="color: #2e3033; background-color: #eef0f2; font-size: 12px;"&gt;thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2017 06:23:35 GMT</pubDate>
    <dc:creator>407214944</dc:creator>
    <dc:date>2017-07-19T06:23:35Z</dc:date>
    <item>
      <title>S12G128 bootloader</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12G128-bootloader/m-p/674843#M14166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" data-group="0-0" style="color: #2e3033; background-color: #eef0f2; font-size: 12px;"&gt;I use S12G128 for the BOOTloader update program, which is done in reference to the 4528 document.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-1" style="color: #2e3033; background-color: #eef0f2; font-size: 12px;"&gt;Currently, when you want to run the APP, you receive the update program command from the serial port, and it executes the bootloader code itself.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-2" style="color: #3385ff; background-color: #eeeeee; font-size: 12px;"&gt;The current situation is that during the implementation of the APP, we hope to update the program, open the watchdog immediately, and reset.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-3" style="color: #2e3033; background-color: #eef0f2; font-size: 12px;"&gt;The program doesn't know where to go.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-4" style="color: #2e3033; background-color: #eef0f2; font-size: 12px;"&gt;Any similar information.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-5" style="color: #2e3033; background-color: #eef0f2; font-size: 12px;"&gt;thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 06:23:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12G128-bootloader/m-p/674843#M14166</guid>
      <dc:creator>407214944</dc:creator>
      <dc:date>2017-07-19T06:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: S12G128 bootloader</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12G128-bootloader/m-p/674844#M14167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if I understand you well you want to just see the text "downloaded succesfully" and the system automatically resets itself. In this case, go to main an adjust the code to this form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;case 'b':&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c = ProgramFlash();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (c != 0)&amp;nbsp;&amp;nbsp;&amp;nbsp; //go program the Flash&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OutStr(GetErrorString(c));&amp;nbsp;&amp;nbsp;&amp;nbsp; //and report an error if there was one&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OutStr("\r\nDownloaded successfully!\r\n");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;CPMUCOP = 0x47;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // enable COP &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CPMUARMCOP=0x00; // trigger COP reset&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // not necessary&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 12:18:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12G128-bootloader/m-p/674844#M14167</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2017-07-20T12:18:19Z</dc:date>
    </item>
  </channel>
</rss>

