<?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>CodeWarrior Development ToolsのトピックRe: P-flash protected but PE Multilink is still erasing it</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/P-flash-protected-but-PE-Multilink-is-still-erasing-it/m-p/337090#M1346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Suman,&lt;/P&gt;&lt;P&gt;how did you protect the Pflash?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;One solution in CW 10.1 would be to use Target Tasks to download the application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;To do that, from Target Tasks view, you need to:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;Import (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;) Flash_Programmer/ARM/K40DX256Z.xml. &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50811iA21126F1B6BFFA2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;2 . Double click on the “Erase” action to edit it&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;3. Uncheck “Mass erase all devices”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #1f497d; font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;4. Select&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt; only FTFL_PFlash256 from the left hand grid box and select the sectors you need to erase&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50812iE3F7CD9E37935F61/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled1.png" alt="Untitled1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click “Update Erase Action”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;7.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Save Flash Programmer task with CTRL-S and you may choose to save it to a file in the project folder&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;8.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open Debug Configurations/&amp;lt;Your Download configuration&amp;gt;, Click on Debugger tab, then on Download Tab&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;9.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Uncheck “Perform Standard Download”, and check “Execute Tasks”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;10.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add... the previously edited target task “K40DX256Z”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50813iC1A8B654DDE4B671/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled3.png" alt="Untitled3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;11. Click Apply&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;Now the download procedure will not affect the D-Flash anymore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&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>Thu, 26 Feb 2015 15:06:31 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2015-02-26T15:06:31Z</dc:date>
    <item>
      <title>P-flash protected but PE Multilink is still erasing it</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/P-flash-protected-but-PE-Multilink-is-still-erasing-it/m-p/337089#M1345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am using K20 series of micro controller. I intend to develop a bootloader code and application code. The bootloader code is downloaded using PE Micro Multilink USB Debugger. The p-flash region(0x0000 - 0x3FFF) has been set to protected region.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then downloaded the Application layer started from 0x4000 and intended to debug it using PE debugger. However, I have not noticed that while downloading, the bootloader code (0x0000 - 0x3FFF) has been erased. Why and how is PE debugger still able to erase the flash region.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using PE for generating my linker file(s).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Suman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 10:00:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/P-flash-protected-but-PE-Multilink-is-still-erasing-it/m-p/337089#M1345</guid>
      <dc:creator>sumanmotaparthy</dc:creator>
      <dc:date>2015-02-25T10:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: P-flash protected but PE Multilink is still erasing it</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/P-flash-protected-but-PE-Multilink-is-still-erasing-it/m-p/337090#M1346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Suman,&lt;/P&gt;&lt;P&gt;how did you protect the Pflash?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;One solution in CW 10.1 would be to use Target Tasks to download the application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;To do that, from Target Tasks view, you need to:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;Import (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;) Flash_Programmer/ARM/K40DX256Z.xml. &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50811iA21126F1B6BFFA2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;2 . Double click on the “Erase” action to edit it&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;3. Uncheck “Mass erase all devices”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #1f497d; font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;4. Select&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt; only FTFL_PFlash256 from the left hand grid box and select the sectors you need to erase&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50812iE3F7CD9E37935F61/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled1.png" alt="Untitled1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click “Update Erase Action”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;7.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Save Flash Programmer task with CTRL-S and you may choose to save it to a file in the project folder&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;8.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open Debug Configurations/&amp;lt;Your Download configuration&amp;gt;, Click on Debugger tab, then on Download Tab&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;9.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Uncheck “Perform Standard Download”, and check “Execute Tasks”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;10.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add... the previously edited target task “K40DX256Z”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50813iC1A8B654DDE4B671/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled3.png" alt="Untitled3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;11. Click Apply&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #1f497d;"&gt;Now the download procedure will not affect the D-Flash anymore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&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>Thu, 26 Feb 2015 15:06:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/P-flash-protected-but-PE-Multilink-is-still-erasing-it/m-p/337090#M1346</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-02-26T15:06:31Z</dc:date>
    </item>
  </channel>
</rss>

