<?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 Error message: flash programming error when programming MPC560xBK (TRK-MPC5606B) in CodeWarrior for MCU v10.5 in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-message-flash-programming-error-when-programming-MPC560xBK/m-p/242414#M9399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Courier New'; font-size: 11.0pt;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="font-size: 12pt;"&gt;Problem&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Consolas; font-size: 10.5pt;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;When I try to program CW10.5 wizard generated bareboard project (based on MPC560xB) into TRK-5606B EVB RevD, I get an error message: flash programming error. &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; font-size: 11pt; font-family: 'courier new', courier;"&gt;MCU may look like censored.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: Consolas; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Courier New'; font-size: 11.0pt;"&gt;&lt;SPAN style="color: #575757; font-size: 12pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Description&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Courier New'; font-size: 11.0pt;"&gt;The CodeWarrior project wizard does not distinguish between MPC560xB and MPC560xBK but each uses a different flash programming algorithm. &lt;SPAN style="font-size: 11pt; line-height: 1.5em;"&gt;The result is the CodeWarrior bare-board project for MPC5606B cannot be loaded into MPC5606BK board (e.g. TRK-5606B rev.D).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: 'Courier New'; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Courier New'; font-size: 11.0pt;"&gt;&lt;SPAN style="font-size: 12pt; text-decoration: underline;"&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Courier New'; font-size: 11.0pt;"&gt;The workaround is to manually configure your project to use the attached flash programming algorithms instead of the default one for MPC560xBK MCUs.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: 'Courier New'; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Courier New'; font-size: 11.0pt;"&gt;&lt;STRONG style=": ; font-size: 12pt; text-decoration: underline;"&gt;Instructions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; Download attached flash programming algorithms (.pcp files) and copy them on your computer(e.g. directly into CodeWarrior directory where all .pcp files are stored: "&amp;lt;CW MCU v10.5&amp;gt;\MCU\bin\plugins\support\EPPC\gdi\P&amp;amp;E"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; Create a new bare-board project for MPC560xB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9143_9143.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119702iECE77D0EFB526397/image-size/large?v=v2&amp;amp;px=999" role="button" title="9143_9143.png" alt="9143_9143.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Create_MPC5606B_project.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/42438iE061A8170AD39660/image-size/large?v=v2&amp;amp;px=999" role="button" title="Create_MPC5606B_project.png" alt="Create_MPC5606B_project.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 11pt; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt; Enter into the "&lt;STRONG&gt;Debug Configurations&lt;/STRONG&gt;" and edit the FLASH Connection configuration&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; line-height: 1.5em;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9144_9144.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119703i780F396F64DFE926/image-size/large?v=v2&amp;amp;px=999" role="button" title="9144_9144.png" alt="9144_9144.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Debug_configuration_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41130i0033DF70C99153A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Debug_configuration_1.png" alt="Debug_configuration_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;4.&lt;/STRONG&gt; Click on "&lt;STRONG&gt;Advanced Programming Options&lt;/STRONG&gt;", enable "&lt;STRONG&gt;Use Alternative Algorithm&lt;/STRONG&gt;" and select the pcp file using "&lt;STRONG&gt;Choose Alternative Algorithm&lt;/STRONG&gt;". Use the pcp file you downloaded in step one (CFLASH since it covers the code flash).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9145_9145.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119704iF741E52CAA52B2A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="9145_9145.png" alt="9145_9145.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Advanced_Options.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/42355i0566303C963B163F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Advanced_Options.png" alt="Advanced_Options.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;5.&lt;/STRONG&gt; Confirm the selected file by clicking on "&lt;STRONG&gt;Done&lt;/STRONG&gt;" button and confirm also Connection settings dialog &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9147_9147.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119705i05EF1BA6F3D18804/image-size/large?v=v2&amp;amp;px=999" role="button" title="9147_9147.png" alt="9147_9147.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Advanced_Options_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41278i0C3D78FC477875C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Advanced_Options_2.png" alt="Advanced_Options_2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; line-height: 1.5em; font-family: 'courier new', courier;"&gt;Now you should be able to start debugging/flash programming into MPC560xBK parts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;Hope it helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;Stan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jan 2014 16:39:06 GMT</pubDate>
    <dc:creator>stanish</dc:creator>
    <dc:date>2014-01-17T16:39:06Z</dc:date>
    <item>
      <title>Error message: flash programming error when programming MPC560xBK (TRK-MPC5606B) in CodeWarrior for MCU v10.5</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-message-flash-programming-error-when-programming-MPC560xBK/m-p/242414#M9399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Courier New'; font-size: 11.0pt;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="font-size: 12pt;"&gt;Problem&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Consolas; font-size: 10.5pt;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;When I try to program CW10.5 wizard generated bareboard project (based on MPC560xB) into TRK-5606B EVB RevD, I get an error message: flash programming error. &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; font-size: 11pt; font-family: 'courier new', courier;"&gt;MCU may look like censored.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: Consolas; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Courier New'; font-size: 11.0pt;"&gt;&lt;SPAN style="color: #575757; font-size: 12pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Description&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Courier New'; font-size: 11.0pt;"&gt;The CodeWarrior project wizard does not distinguish between MPC560xB and MPC560xBK but each uses a different flash programming algorithm. &lt;SPAN style="font-size: 11pt; line-height: 1.5em;"&gt;The result is the CodeWarrior bare-board project for MPC5606B cannot be loaded into MPC5606BK board (e.g. TRK-5606B rev.D).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: 'Courier New'; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Courier New'; font-size: 11.0pt;"&gt;&lt;SPAN style="font-size: 12pt; text-decoration: underline;"&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Courier New'; font-size: 11.0pt;"&gt;The workaround is to manually configure your project to use the attached flash programming algorithms instead of the default one for MPC560xBK MCUs.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: 'Courier New'; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Courier New'; font-size: 11.0pt;"&gt;&lt;STRONG style=": ; font-size: 12pt; text-decoration: underline;"&gt;Instructions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; Download attached flash programming algorithms (.pcp files) and copy them on your computer(e.g. directly into CodeWarrior directory where all .pcp files are stored: "&amp;lt;CW MCU v10.5&amp;gt;\MCU\bin\plugins\support\EPPC\gdi\P&amp;amp;E"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; Create a new bare-board project for MPC560xB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9143_9143.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119702iECE77D0EFB526397/image-size/large?v=v2&amp;amp;px=999" role="button" title="9143_9143.png" alt="9143_9143.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Create_MPC5606B_project.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/42438iE061A8170AD39660/image-size/large?v=v2&amp;amp;px=999" role="button" title="Create_MPC5606B_project.png" alt="Create_MPC5606B_project.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 11pt; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt; Enter into the "&lt;STRONG&gt;Debug Configurations&lt;/STRONG&gt;" and edit the FLASH Connection configuration&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; line-height: 1.5em;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9144_9144.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119703i780F396F64DFE926/image-size/large?v=v2&amp;amp;px=999" role="button" title="9144_9144.png" alt="9144_9144.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Debug_configuration_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41130i0033DF70C99153A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Debug_configuration_1.png" alt="Debug_configuration_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;4.&lt;/STRONG&gt; Click on "&lt;STRONG&gt;Advanced Programming Options&lt;/STRONG&gt;", enable "&lt;STRONG&gt;Use Alternative Algorithm&lt;/STRONG&gt;" and select the pcp file using "&lt;STRONG&gt;Choose Alternative Algorithm&lt;/STRONG&gt;". Use the pcp file you downloaded in step one (CFLASH since it covers the code flash).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9145_9145.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119704iF741E52CAA52B2A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="9145_9145.png" alt="9145_9145.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Advanced_Options.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/42355i0566303C963B163F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Advanced_Options.png" alt="Advanced_Options.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;5.&lt;/STRONG&gt; Confirm the selected file by clicking on "&lt;STRONG&gt;Done&lt;/STRONG&gt;" button and confirm also Connection settings dialog &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9147_9147.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119705i05EF1BA6F3D18804/image-size/large?v=v2&amp;amp;px=999" role="button" title="9147_9147.png" alt="9147_9147.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Advanced_Options_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41278i0C3D78FC477875C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Advanced_Options_2.png" alt="Advanced_Options_2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; line-height: 1.5em; font-family: 'courier new', courier;"&gt;Now you should be able to start debugging/flash programming into MPC560xBK parts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;Hope it helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'courier new', courier;"&gt;Stan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 16:39:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-message-flash-programming-error-when-programming-MPC560xBK/m-p/242414#M9399</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2014-01-17T16:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error message: flash programming error when programming MPC560xBK (TRK-MPC5606B) in CodeWarrior for MCU v10.5</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-message-flash-programming-error-when-programming-MPC560xBK/m-p/242415#M9400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The MPC5606BK .pcp files attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 09:34:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-message-flash-programming-error-when-programming-MPC560xBK/m-p/242415#M9400</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2014-01-20T09:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error message: flash programming error when programming MPC560xBK (TRK-MPC5606B) in CodeWarrior for MCU v10.5</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-message-flash-programming-error-when-programming-MPC560xBK/m-p/242416#M9401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My team thank you very much for this topic. We are working for the freescale Cup and we lost our MPC5604B the day before the race (dead :smileysad:). We got a MPC5606B for replacement but we were stuck to this problem of flash programming and with you, we found the solution.&lt;/P&gt;&lt;P&gt;We all bless you for this, which doesn't mean we believe in god. Amen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 23:04:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-message-flash-programming-error-when-programming-MPC560xBK/m-p/242416#M9401</guid>
      <dc:creator>thibaultferrant</dc:creator>
      <dc:date>2014-01-27T23:04:46Z</dc:date>
    </item>
  </channel>
</rss>

