<?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 SPC5634M CNA online debugging programming demo code or application programming method in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/SPC5634M-CNA-online-debugging-programming-demo-code-or/m-p/646669#M6591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" data-aligning="#src_0,#tran_0" style="color: #434343; background-color: rgba(255, 255, 255, 0.8); border: 0px; font-size: 12px;"&gt;We adopt proide MPC5634M chips and MPC5643L, before the upgrade way too trival, want to change for IAP upgrade through CAN bus.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #35a1d4; background-color: rgba(255, 255, 255, 0.8); border: 0px; font-size: 12px;"&gt;(In Application Programming)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #434343; background-color: rgba(255, 255, 255, 0.8); font-size: 12px;" /&gt;&lt;SPAN class="" data-aligning="#src_2,#tran_2" style="color: #434343; background-color: rgba(255, 255, 255, 0.8); border: 0px; font-size: 12px;"&gt;The current plan is: the underlying bootloader + upper user program + PC computer, electricity run bootloader that waiting for 500 ms, if not received&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #434343; background-color: rgba(255, 255, 255, 0.8); border: 0px; font-size: 12px;"&gt;&lt;SPAN class="" style="background-color: #eeeeee; border: 0px; font-size: 1em;"&gt;CAN upgrade message, then jump into the user program;To upgrade the CAN message if received, erasing the user program, and will receive the new program written to the user&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="" data-aligning="#src_4,#tran_4" style="border: 0px;"&gt;Application area, after the completion of the upgrade to jump to the new user and run the program.&lt;/SPAN&gt;&lt;SPAN class="" data-aligning="#src_5,#tran_5" style="border: 0px;"&gt;Bootloader via a serial port to the corresponding area in factory, the user can be in the factory or site&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN data-aligning="#src_6,#tran_6" style="border: 0px;"&gt;To upgrade online.&lt;/SPAN&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;SPAN class="" data-aligning="#src_7,#tran_7" style="border: 0px;"&gt;Because the two layers of structure need different interrupt to scale, we don't know how to define, so the program always crash when to jump.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="" data-aligning="#src_8,#tran_8" style="border: 0px;"&gt;Now hope to get your help, can offer some Suggestions in view of the present scheme, or to provide your company's reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN data-aligning="#src_9,#tran_9" style="border: 0px;"&gt;Thank you very much.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2016 02:56:02 GMT</pubDate>
    <dc:creator>jack_li</dc:creator>
    <dc:date>2016-12-05T02:56:02Z</dc:date>
    <item>
      <title>SPC5634M CNA online debugging programming demo code or application programming method</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SPC5634M-CNA-online-debugging-programming-demo-code-or/m-p/646669#M6591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" data-aligning="#src_0,#tran_0" style="color: #434343; background-color: rgba(255, 255, 255, 0.8); border: 0px; font-size: 12px;"&gt;We adopt proide MPC5634M chips and MPC5643L, before the upgrade way too trival, want to change for IAP upgrade through CAN bus.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #35a1d4; background-color: rgba(255, 255, 255, 0.8); border: 0px; font-size: 12px;"&gt;(In Application Programming)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #434343; background-color: rgba(255, 255, 255, 0.8); font-size: 12px;" /&gt;&lt;SPAN class="" data-aligning="#src_2,#tran_2" style="color: #434343; background-color: rgba(255, 255, 255, 0.8); border: 0px; font-size: 12px;"&gt;The current plan is: the underlying bootloader + upper user program + PC computer, electricity run bootloader that waiting for 500 ms, if not received&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #434343; background-color: rgba(255, 255, 255, 0.8); border: 0px; font-size: 12px;"&gt;&lt;SPAN class="" style="background-color: #eeeeee; border: 0px; font-size: 1em;"&gt;CAN upgrade message, then jump into the user program;To upgrade the CAN message if received, erasing the user program, and will receive the new program written to the user&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="" data-aligning="#src_4,#tran_4" style="border: 0px;"&gt;Application area, after the completion of the upgrade to jump to the new user and run the program.&lt;/SPAN&gt;&lt;SPAN class="" data-aligning="#src_5,#tran_5" style="border: 0px;"&gt;Bootloader via a serial port to the corresponding area in factory, the user can be in the factory or site&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN data-aligning="#src_6,#tran_6" style="border: 0px;"&gt;To upgrade online.&lt;/SPAN&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;SPAN class="" data-aligning="#src_7,#tran_7" style="border: 0px;"&gt;Because the two layers of structure need different interrupt to scale, we don't know how to define, so the program always crash when to jump.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="" data-aligning="#src_8,#tran_8" style="border: 0px;"&gt;Now hope to get your help, can offer some Suggestions in view of the present scheme, or to provide your company's reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN data-aligning="#src_9,#tran_9" style="border: 0px;"&gt;Thank you very much.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 02:56:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SPC5634M-CNA-online-debugging-programming-demo-code-or/m-p/646669#M6591</guid>
      <dc:creator>jack_li</dc:creator>
      <dc:date>2016-12-05T02:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: SPC5634M CNA online debugging programming demo code or application programming method</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SPC5634M-CNA-online-debugging-programming-demo-code-or/m-p/646670#M6592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can take a look at this draft of application note written for MPC5634M:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/servlet/JiveServlet/download/427962-1-279359/bootloader.zip"&gt;https://community.nxp.com/servlet/JiveServlet/download/427962-1-279359/bootloader.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It describes basic principles how to write bootloader and user application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is updated version for MPC5748G:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/microcontrollers/doc/app_note/AN5319.pdf"&gt;http://www.nxp.com/files/microcontrollers/doc/app_note/AN5319.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;A href="http://www.nxp.com/files/microcontrollers/doc/app_note/AN5319SW.zip"&gt;http://www.nxp.com/files/microcontrollers/doc/app_note/AN5319SW.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you jump from bootloader to user application and the interrupts are already initialized/enabled, it is important to disable them before jump. I have described it here:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/807376?commentID=807376#comment-807376" title="https://community.nxp.com/message/807376?commentID=807376#comment-807376"&gt;https://community.nxp.com/message/807376?commentID=807376#comment-807376&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or here:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/605376?commentID=605376#comment-605376" title="https://community.nxp.com/message/605376?commentID=605376#comment-605376"&gt;https://community.nxp.com/message/605376?commentID=605376#comment-605376&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 08:45:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SPC5634M-CNA-online-debugging-programming-demo-code-or/m-p/646670#M6592</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-12-05T08:45:05Z</dc:date>
    </item>
  </channel>
</rss>

