<?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>Kinetis Microcontrollers中的主题 Flash driver C90TFS Partition MK10FX512VLQ12</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265846#M8577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the C90TFS version Beta035 with the keil IDE on the MK10FX512VLQ12 target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to init, erase block, erase sector,&amp;nbsp; verify block, verify section and FlashProgramPhrase. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm not allowed to partition the flexmem. When I debug I get error code 0x4 = FTFx_ERR_ACCERR. Sometimes the unit restarts or crash in the FlashCommandSequence called from the DEFlashPartition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't seem to be related to the EEEDataSizeCode or the DEPartitionCode. I'm not allowed to FlashEraseAllBlock blocks but I'm allowed to FlashEraseBlock so I loop through all blocks before doing the partition command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anny Ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Oct 2013 06:21:56 GMT</pubDate>
    <dc:creator>mrandreas</dc:creator>
    <dc:date>2013-10-07T06:21:56Z</dc:date>
    <item>
      <title>Flash driver C90TFS Partition MK10FX512VLQ12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265846#M8577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the C90TFS version Beta035 with the keil IDE on the MK10FX512VLQ12 target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to init, erase block, erase sector,&amp;nbsp; verify block, verify section and FlashProgramPhrase. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm not allowed to partition the flexmem. When I debug I get error code 0x4 = FTFx_ERR_ACCERR. Sometimes the unit restarts or crash in the FlashCommandSequence called from the DEFlashPartition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't seem to be related to the EEEDataSizeCode or the DEPartitionCode. I'm not allowed to FlashEraseAllBlock blocks but I'm allowed to FlashEraseBlock so I loop through all blocks before doing the partition command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anny Ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 06:21:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265846#M8577</guid>
      <dc:creator>mrandreas</dc:creator>
      <dc:date>2013-10-07T06:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Flash driver C90TFS Partition MK10FX512VLQ12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265847#M8578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello mrandreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at this Application note from Keil, and also at the Reference Manual of your device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.keil.com/appnotes/files/apnt220.pdf" title="http://www.keil.com/appnotes/files/apnt220.pdf"&gt;http://www.keil.com/appnotes/files/apnt220.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 11:20:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265847#M8578</guid>
      <dc:creator>santiago_gonzal</dc:creator>
      <dc:date>2013-10-07T11:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Flash driver C90TFS Partition MK10FX512VLQ12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265848#M8579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, check my answer to this threat in case that can also help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/354833#354833"&gt;https://community.freescale.com/message/354833#354833&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 12:37:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265848#M8579</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-10-09T12:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Flash driver C90TFS Partition MK10FX512VLQ12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265849#M8580</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;The following code is based on the asm from &lt;A _jive_internal="true" data-containerid="2019" data-containertype="14" data-objectid="354833" data-objecttype="2" href="https://community.nxp.com/message/354833#354833" style="font-size: 11.818181991577148px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6; color: #6a737b;"&gt;https://community.freescale.com/message/354833#354833&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nDATA0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EQU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x20&lt;/P&gt;&lt;P&gt;nDATA1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EQU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x06&lt;/P&gt;&lt;P&gt;DATA0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EQU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nDATA0:AND:0x3F&lt;/P&gt;&lt;P&gt;DATA1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EQU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nDATA1:AND:0x0F&lt;/P&gt;&lt;P&gt;; &amp;lt;/h&amp;gt;&lt;/P&gt;&lt;P&gt;&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; AREA&amp;nbsp;&amp;nbsp;&amp;nbsp; |.ARM.__AT_0x100003F8|, CODE, READONLY&lt;/P&gt;&lt;P&gt;&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; DCB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xFF,&amp;nbsp; 0xFF, 0xFF, 0xFF, DATA1, DATA0, 0xFF, 0xFF&lt;/P&gt;&lt;P&gt;&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; END&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0x06 ends up in 0x100003FC and 0x20 in 0x100003FD this should be correct according to chapter 30.3.3 Data flash IFR map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FlashInit command reads of FCCOBA register for EEEDataSetSize and FCCOBB register for DEPartitionCode. These registers are set to FF and not 0x06 and 0x20. This results in DFlash size 80000hx. Expected result is 40000 and 40000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 13:20:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265849#M8580</guid>
      <dc:creator>mrandreas</dc:creator>
      <dc:date>2013-10-14T13:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Flash driver C90TFS Partition MK10FX512VLQ12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265850#M8581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the scatter file used in the application to program K70F512 Data Flash IFR:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;; *************************************************************&lt;/P&gt;&lt;P&gt;; *** Scatter-Loading Description File generated by &lt;SPAN class="SpellE"&gt;uVision&lt;/SPAN&gt; ***&lt;/P&gt;&lt;P&gt;; *************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LR_IROM1 0x00000000 0x00080000&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; {&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; ; load region &lt;SPAN class="SpellE"&gt;size_region&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; ER_IROM1 0x00000000 0x00080000&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; {&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; ; load address = execution address&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; .ANY (+RO)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check also, that flash algorithm&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; is flashing the IFR area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 23:30:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265850#M8581</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-10-14T23:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Flash driver C90TFS Partition MK10FX512VLQ12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265851#M8582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Her is the scatter file for my project:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LR_IROM1 0x00000000 0x00080000&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp; ; load region size_region&lt;/P&gt;&lt;P&gt;&amp;nbsp; ER_IROM1 0x00000000 0x00080000&amp;nbsp; {&amp;nbsp; ; load address = execution address&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; *.o (RESET, +First)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; *(InRoot$$Sections)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; .ANY (+RO)&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; RW_IRAM1 0x1FFF0000 0x00010000&amp;nbsp; {&amp;nbsp; ; RW data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; .ANY (+RW +ZI)&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have understood "flashing the IFR area correct"; As mention in the previous post the asm code sets &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;0x06 in &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;0x100003FC &lt;/SPAN&gt; and 0x20 in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;0x100003FD. This is verified by running the asm from one project and reading the memory assignment from another. Is the IFR address correct (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;0x100003FC &lt;/SPAN&gt;&amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;0x100003FD)&lt;/SPAN&gt;? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 06:43:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265851#M8582</guid>
      <dc:creator>mrandreas</dc:creator>
      <dc:date>2013-10-15T06:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Flash driver C90TFS Partition MK10FX512VLQ12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265852#M8583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN class="SpellE"&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD"&gt;Hi&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As I told you, this is for K70FX512 and the code project was coming from &lt;SPAN class="SpellE"&gt;Keil&lt;/SPAN&gt; and verified at least, for a customer. You will have to review it in your own derivative. Or contact &lt;SPAN class="SpellE"&gt;Keil&lt;/SPAN&gt; to ask for the right &lt;SPAN class="SpellE"&gt;configturation&lt;/SPAN&gt; of your derivative. Using &lt;SPAN class="SpellE"&gt;Pemicro&lt;/SPAN&gt; you can flash the locations in the connection settings (also with &lt;SPAN class="SpellE"&gt;Keil&lt;/SPAN&gt;) , with &lt;SPAN class="SpellE"&gt;ulink&lt;/SPAN&gt; you need to go in this way, running the code to flash the locations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 07:27:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-driver-C90TFS-Partition-MK10FX512VLQ12/m-p/265852#M8583</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-10-15T07:27:14Z</dc:date>
    </item>
  </channel>
</rss>

