<?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 MC56F844x dflash programming in Digital Signal Controllers</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F844x-dflash-programming/m-p/901454#M1630</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;using MC56F844789.&amp;nbsp;This device has&amp;nbsp;Primary program/data flash memory, mapped into 0x00 0000 - 0x01 ffff &amp;amp;&amp;nbsp;0x02 0000 - 0x03 ffff, and also&amp;nbsp;Secondary (boot) program/data flash memory, mapped&amp;nbsp;&lt;SPAN&gt;into&amp;nbsp;0x06 8000 - 0x06 bfff &amp;amp;&amp;nbsp;0x00 8000 - 0x00 bfff.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can program&amp;nbsp;Primary program/data flash memory, when only providing flash command an address within program space range (0x00 0000 - 0x01 ffff) - programing / erasing doesn't work when providing address from aliased data space.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, I cannot program&amp;nbsp;Secondary (boot) program/data flash memory regardless if&amp;nbsp;flash command is given an address from program or data space. Software has been uploaded with checkbox "always mass erase on download" and therefore&amp;nbsp;data flash shall default to 32 Kbytes of data flash, No EEPROM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you please advise how to program&amp;nbsp;Secondary (boot) program/data flash memory from within user application?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jolanta.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 May 2019 10:42:01 GMT</pubDate>
    <dc:creator>jolantamienkino</dc:creator>
    <dc:date>2019-05-05T10:42:01Z</dc:date>
    <item>
      <title>MC56F844x dflash programming</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F844x-dflash-programming/m-p/901454#M1630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;using MC56F844789.&amp;nbsp;This device has&amp;nbsp;Primary program/data flash memory, mapped into 0x00 0000 - 0x01 ffff &amp;amp;&amp;nbsp;0x02 0000 - 0x03 ffff, and also&amp;nbsp;Secondary (boot) program/data flash memory, mapped&amp;nbsp;&lt;SPAN&gt;into&amp;nbsp;0x06 8000 - 0x06 bfff &amp;amp;&amp;nbsp;0x00 8000 - 0x00 bfff.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can program&amp;nbsp;Primary program/data flash memory, when only providing flash command an address within program space range (0x00 0000 - 0x01 ffff) - programing / erasing doesn't work when providing address from aliased data space.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, I cannot program&amp;nbsp;Secondary (boot) program/data flash memory regardless if&amp;nbsp;flash command is given an address from program or data space. Software has been uploaded with checkbox "always mass erase on download" and therefore&amp;nbsp;data flash shall default to 32 Kbytes of data flash, No EEPROM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you please advise how to program&amp;nbsp;Secondary (boot) program/data flash memory from within user application?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jolanta.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 May 2019 10:42:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F844x-dflash-programming/m-p/901454#M1630</guid>
      <dc:creator>jolantamienkino</dc:creator>
      <dc:date>2019-05-05T10:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F844x dflash programming</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F844x-dflash-programming/m-p/901455#M1631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Jolanta,&lt;/P&gt;&lt;P&gt;Regarding your question, we have the processor Expert(PE), the PE has intFLASH bean, with which you can erase both Program/data Flash, program Program/Data Flash.&lt;/P&gt;&lt;P&gt;This is the bean:&lt;/P&gt;&lt;P&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/70030iDE77A85B5FA7D3A6/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&gt;In the IntFLASH bean, you can select data Flash as Following:&lt;/P&gt;&lt;P&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/70072iD6F7ADABE549D129/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&gt;I attach an example for MC56F84789&amp;nbsp; which is based on CodeWarrior for mcu ver11 tools can erase/program program flash, it tell you how to call the erasing function and program function. You can select the data flash and program it based on the erase/program function with different address and size.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 05:34:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F844x-dflash-programming/m-p/901455#M1631</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-05-07T05:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F844x dflash programming</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F844x-dflash-programming/m-p/901456#M1632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;SPAN class=""&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="" data-avatarid="-1" data-content-finding="Community" data-userid="319799" data-username="jolantamienkinova" href="https://community.nxp.com/people/jolantamienkinova"&gt;Jolanta Mienkinova&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I forgot to attach the example, here, I attach it.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 05:41:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F844x-dflash-programming/m-p/901456#M1632</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-05-07T05:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F844x dflash programming</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F844x-dflash-programming/m-p/901457#M1633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rong,&lt;/P&gt;&lt;P&gt;thanks for example.&amp;nbsp;It works after address of data flash to be programmed /erased is pre-processed:&lt;/P&gt;&lt;P&gt;*((dword *)(void *)&amp;amp;FTFL_FCCOB3) = (dword)(((Address &lt;SPAN style="color: #ff6600;"&gt;- DATA_FLASH_START&lt;/SPAN&gt;) &amp;lt;&amp;lt; 1) &lt;SPAN style="color: #ff6600;"&gt;| (1UL &amp;lt;&amp;lt; 23)&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't find this key information about address pre-processing in device reference manual. If there is such a section, and I just didn't notice it, please provide reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jolanta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 10:49:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F844x-dflash-programming/m-p/901457#M1633</guid>
      <dc:creator>jolantamienkino</dc:creator>
      <dc:date>2019-05-07T10:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F844x dflash programming</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F844x-dflash-programming/m-p/901458#M1634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Jolanta,&lt;/P&gt;&lt;P&gt;Regarding the address generation, as you know that the Flash of MC56F84xxx/MC56F82xxx use the flash IP which is the same as Kinetis, the flash IP use Byte(8 bits) accessing mode, the MC56F84xxx/82xxx use half word address mode(16 bits), so the address is left shifted by ONE bit. There are program Flash and Data Flash for DSC, they are in different domain, so we use bit23 to identify the program/data flash type. But all the information are not documented in DSC reference manual.&amp;nbsp; I am sorry for the inconvenience.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2019 02:51:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F844x-dflash-programming/m-p/901458#M1634</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-05-08T02:51:16Z</dc:date>
    </item>
  </channel>
</rss>

