<?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 Re: JN5168 PDM on external flash memory in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959284#M7765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vesa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our examples provide the PDM to use the internal flash. ZB3, ZHA, ZLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you could look at the&amp;nbsp;JN516x ZigBee Smart Energy SDK (JN-SW-4064) that handles the storage of stack context and application data in Flash memory which is external to the JN516x device.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: the Zigbee Smart Energy is not supported, so look at the SDK and take as reference the implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Persistent Data Manager (PDM) for Flash Memory&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/user-guide/JN-UG-3075.pdf" title="https://www.nxp.com/docs/en/user-guide/JN-UG-3075.pdf"&gt;https://www.nxp.com/docs/en/user-guide/JN-UG-3075.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Nov 2019 15:45:10 GMT</pubDate>
    <dc:creator>mario_castaneda</dc:creator>
    <dc:date>2019-11-18T15:45:10Z</dc:date>
    <item>
      <title>JN5168 PDM on external flash memory</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959279#M7760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I try to compile ZigbeeNodeControlBridge with :&lt;/P&gt;&lt;P&gt;PDM_BUILD_TYPE&amp;nbsp; ?= _EXTERNAL_FLASH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have an error :&lt;/P&gt;&lt;P&gt;cannot find -lPDM_EXTERNAL_FLASH_NO_RTOS_JN516x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed, in JN-SW-4170 stack, there is only libPDM_EEPROM_NO_RTOS_JN516x.a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where is my mistake ? How can I obtain libPDM_EXTERNAL_FLASH_NO_RTOS_JN516x.a ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Can someone give me a tip please?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 16:02:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959279#M7760</guid>
      <dc:creator>akila123456</dc:creator>
      <dc:date>2019-10-23T16:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168 PDM on external flash memory</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959280#M7761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fred,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look at the&amp;nbsp;3. Persistent Data Manager (PDM) for Flash Memory&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/user-guide/JN-UG-3075.pdf" title="https://www.nxp.com/docs/en/user-guide/JN-UG-3075.pdf"&gt;https://www.nxp.com/docs/en/user-guide/JN-UG-3075.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can take as reference the PDM implementation on the Zigbee Smart Energy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2019 22:18:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959280#M7761</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-10-24T22:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168 PDM on external flash memory</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959281#M7762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am battling with same problem and I have read through that document, but couldn't find anything helpful for building binaries. If I understood correctly JN-AN-1135 (the Zigbee Smart Energy) does not use JN-SW-4170 stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aren't we supposed to use _EXTERNAL_FLASH? Do you have any external flash examples for JN-SW-4170 stack?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2019 08:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959281#M7762</guid>
      <dc:creator>the_banda</dc:creator>
      <dc:date>2019-11-15T08:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168 PDM on external flash memory</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959282#M7763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vesa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look at the JN-AN-1218. We provide OTA Cluster that supports an internal or external flash, depending on the define.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2019 04:00:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959282#M7763</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-11-18T04:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168 PDM on external flash memory</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959283#M7764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I already knew that JN-AN-1218 has example for that. Since I am not interested using external flash for OTA that example doesn't help me forward. After your reply I went through documentation and code from JN-AN-1218 again and it doesn't help with problem that I and original poster are having. We would like to use external flash for PDM instead of using EEPROM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that using build flag PDM_BUILD_TYPE&amp;nbsp; ?= _EXTERNAL_FLASH would change how JN5168 handles PDM. I know that I would still need to tell it what kind of flash chip I have. If using custom flash chip it is also required to configure it using PDM_vSPIFlashConfig(), but if chip is already supported by stack then I can just call PDM_vInit(). This information is from JN-UG-3075 chapter 3. Persistent Data Manager (PDM) for Flash Memory. More information about those functions can be found from same documents chapter 9. PDM API for Flash Memory. Does this sound correct or am I completely wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have example for this? Or is it even possible to use external flash for pdm? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2019 08:14:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959283#M7764</guid>
      <dc:creator>the_banda</dc:creator>
      <dc:date>2019-11-18T08:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168 PDM on external flash memory</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959284#M7765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vesa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our examples provide the PDM to use the internal flash. ZB3, ZHA, ZLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you could look at the&amp;nbsp;JN516x ZigBee Smart Energy SDK (JN-SW-4064) that handles the storage of stack context and application data in Flash memory which is external to the JN516x device.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: the Zigbee Smart Energy is not supported, so look at the SDK and take as reference the implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Persistent Data Manager (PDM) for Flash Memory&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/user-guide/JN-UG-3075.pdf" title="https://www.nxp.com/docs/en/user-guide/JN-UG-3075.pdf"&gt;https://www.nxp.com/docs/en/user-guide/JN-UG-3075.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2019 15:45:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959284#M7765</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-11-18T15:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168 PDM on external flash memory</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959285#M7766</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 main problem for me that there are no library with external flash management&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use libPDM_EXTERNAL_FLASH_JN516x.a from JN-SW-4064 sdk with JN-SW-4170 sdk, the reference is not good :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;ccRf2G2B.ltrans13.o:(.text+0x119): undefined reference to `PDM_vInit'&lt;BR /&gt;ccRf2G2B.ltrans13.o:(.text+0x119): relocation truncated to fit: R_BA_18_PCREL against undefined symbol `PDM_vInit'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't understand if it's possible to generate a library which contain the right address to the function or if this must be generate and distribute by NXP...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched but I don't see the PDM_vInit source function too ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain how to obtain the right library with right function for external flash management ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2019 17:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959285#M7766</guid>
      <dc:creator>akila123456</dc:creator>
      <dc:date>2019-11-18T17:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168 PDM on external flash memory</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959286#M7767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fred,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This lib is for the SE that is no longer supported, you could look at for your reference, but the PDM implementation in an external memory should be by your side.&lt;/P&gt;&lt;P&gt;You could follow the PDM process that we shoe in figure 5.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Initializing the PDM function.&amp;nbsp;3.2 Initialising the PDM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 16:29:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-PDM-on-external-flash-memory/m-p/959286#M7767</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-11-25T16:29:11Z</dc:date>
    </item>
  </channel>
</rss>

