<?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 MPC5643L DPM mode setting in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5643L-DPM-mode-setting/m-p/687513#M8418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;#Hi,&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am currently working with Development board&amp;nbsp;KT33908MB with&amp;nbsp;KTMPC5643DB (mother board and daughter board). I am trying to create a base code to switch on the led's on the mother board , operating the controller in LSM and DPM mode.&amp;nbsp;I used&amp;nbsp;"CW for MPC55xx and MPC56xx 2.10" to generate a&amp;nbsp;code for DPM and LSM separately. In the DPM project, i configured the ports and wrote a simple code to toggle the led.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Now when i established the connection to the daughter board (PE Multi-link Universal JTAG and icdppcnexeus) i could see the message, "Processor detected in lockstep mode". I followed all the steps mentioned in some of the related&amp;nbsp;posts to change&amp;nbsp;between LSM and DPM mode.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1. Used progppcnexus to upload the s-record file and modified the value at addr 0xFFFE10(modified.s19). Erased the module, programmed it with the new s19 file, verified and Powered down the board. (script - Freescale_MPC5643L_1x32x4k_Shadow_Blk_Freescale_C90FL_Driver_031.PCP)&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2. Now used&amp;nbsp;the icdppcnexus to connect to the board. Again got the same message, &lt;SPAN style="border: 0px; font-weight: inherit;"&gt;"Processor detected in lockstep mode"(pic 1). And when i loaded the object file of my DPM project (RAM.elf), and gave GO, i got the below response(pic 2) (script : mpc5643l_vle.mac)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 3. When i programmed&amp;nbsp;the&amp;nbsp;already&amp;nbsp;existing s19(attached here) and then flashed my&amp;nbsp;code, the code worked as expected. It checked for a switch press and toggled the pin on switch press.(pic 3)Once i power down the board and power up again, the board is in some unknown state and again i need to flash to get the output i mentioned.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Kindly help me in understand what am i missing here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;(Note:I have kept the daughter board boot selection to Single Chip mode FAB - Gnd, ABS0,2 -Gnd ).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;pic1:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="188303_188303.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123068i75C48B11F2E859C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="188303_188303.png" alt="188303_188303.png" /&gt;&lt;/span&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/24943iBBD65260DB454819/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 style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;pic 2:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="188304_188304.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123069i16CBC63736749191/image-size/large?v=v2&amp;amp;px=999" role="button" title="188304_188304.png" alt="188304_188304.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24944i241493E17365F429/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;pic 3:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="188305_188305.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123070i57A34EFA78EF9F27/image-size/large?v=v2&amp;amp;px=999" role="button" title="188305_188305.png" alt="188305_188305.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24945iACDE73AFA8F828C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338395"&gt;Existing.S19.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338395"&gt;modified.S19.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jul 2017 05:10:49 GMT</pubDate>
    <dc:creator>subashr</dc:creator>
    <dc:date>2017-07-07T05:10:49Z</dc:date>
    <item>
      <title>MPC5643L DPM mode setting</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5643L-DPM-mode-setting/m-p/687513#M8418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;#Hi,&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am currently working with Development board&amp;nbsp;KT33908MB with&amp;nbsp;KTMPC5643DB (mother board and daughter board). I am trying to create a base code to switch on the led's on the mother board , operating the controller in LSM and DPM mode.&amp;nbsp;I used&amp;nbsp;"CW for MPC55xx and MPC56xx 2.10" to generate a&amp;nbsp;code for DPM and LSM separately. In the DPM project, i configured the ports and wrote a simple code to toggle the led.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Now when i established the connection to the daughter board (PE Multi-link Universal JTAG and icdppcnexeus) i could see the message, "Processor detected in lockstep mode". I followed all the steps mentioned in some of the related&amp;nbsp;posts to change&amp;nbsp;between LSM and DPM mode.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1. Used progppcnexus to upload the s-record file and modified the value at addr 0xFFFE10(modified.s19). Erased the module, programmed it with the new s19 file, verified and Powered down the board. (script - Freescale_MPC5643L_1x32x4k_Shadow_Blk_Freescale_C90FL_Driver_031.PCP)&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2. Now used&amp;nbsp;the icdppcnexus to connect to the board. Again got the same message, &lt;SPAN style="border: 0px; font-weight: inherit;"&gt;"Processor detected in lockstep mode"(pic 1). And when i loaded the object file of my DPM project (RAM.elf), and gave GO, i got the below response(pic 2) (script : mpc5643l_vle.mac)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 3. When i programmed&amp;nbsp;the&amp;nbsp;already&amp;nbsp;existing s19(attached here) and then flashed my&amp;nbsp;code, the code worked as expected. It checked for a switch press and toggled the pin on switch press.(pic 3)Once i power down the board and power up again, the board is in some unknown state and again i need to flash to get the output i mentioned.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Kindly help me in understand what am i missing here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;(Note:I have kept the daughter board boot selection to Single Chip mode FAB - Gnd, ABS0,2 -Gnd ).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;pic1:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="188303_188303.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123068i75C48B11F2E859C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="188303_188303.png" alt="188303_188303.png" /&gt;&lt;/span&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/24943iBBD65260DB454819/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 style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;pic 2:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="188304_188304.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123069i16CBC63736749191/image-size/large?v=v2&amp;amp;px=999" role="button" title="188304_188304.png" alt="188304_188304.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24944i241493E17365F429/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;pic 3:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="188305_188305.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123070i57A34EFA78EF9F27/image-size/large?v=v2&amp;amp;px=999" role="button" title="188305_188305.png" alt="188305_188305.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24945iACDE73AFA8F828C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338395"&gt;Existing.S19.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338395"&gt;modified.S19.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 05:10:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5643L-DPM-mode-setting/m-p/687513#M8418</guid>
      <dc:creator>subashr</dc:creator>
      <dc:date>2017-07-07T05:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5643L DPM mode setting</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5643L-DPM-mode-setting/m-p/687514#M8419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, here you may find a description how to simply switch MCU between LSM and DPM modes with using of PeMicro debugger:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.pemicro.com/faqs/faq_view.cfm?id=227" title="https://www.pemicro.com/faqs/faq_view.cfm?id=227"&gt;PEmicro - P&amp;amp;E Microcomputer Systems: Over 30 years as an Industry leader in Embedded Systems Development Tools, debug pr…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you may find start-up codes for both options:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-101713"&gt;Example XPC5643LKIT PinToggleStationery LSM CW210&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-101955"&gt;Example XPC5643LKIT PinToggleStationery DPM CW210&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 12:04:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5643L-DPM-mode-setting/m-p/687514#M8419</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2017-07-07T12:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5643L DPM mode setting</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5643L-DPM-mode-setting/m-p/687515#M8420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/davidtosenovjan"&gt;davidtosenovjan&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my observation.&lt;/P&gt;&lt;P&gt;With the latest versions of ProgPPC and ICDPPC(ver 6.22.00.00) i could see the message "processor detected in dual-core mode". But with the same shadow flash data, ICDPPC(ver 1.34.00.01) gives the message&amp;nbsp;&lt;SPAN&gt;"processor detected in lockstep mode". Not sure Why.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I flashed my DPM project as well as the example DPM code you had mentioned. Once I flash the code, i see both the cores running. But once I reset the board, the software&amp;nbsp;doesn't&amp;nbsp;run. Again I have to flash the project to see the same output. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What is the startup sequence that i need to follow to have a proper boot and software run&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 09:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5643L-DPM-mode-setting/m-p/687515#M8420</guid>
      <dc:creator>subashr</dc:creator>
      <dc:date>2017-07-10T09:41:38Z</dc:date>
    </item>
  </channel>
</rss>

