<?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>Wireless MCU中的主题 Re: Share firmware between JN5168 and JN5169</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Share-firmware-between-JN5168-and-JN5169/m-p/822649#M5416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Mario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response!&lt;BR /&gt;I actually need a single compiled code that runs on both JN5168 and JN5169, because on my mixed network one device can update the other's firmware.&lt;/P&gt;&lt;P&gt;The path I'm trying to do at the moment is to rename the libraries symbols (HardwareApi, MMAC, and JPT) and adding "_JN5168" and "_JN5169" in each function to compile them both in my code. When&amp;nbsp;it boots the code it checks the model of the chip and then it choose to run the functions with "_JN5168" or "_JN5169",&amp;nbsp;but this solution has very low reliability.&lt;/P&gt;&lt;P&gt;I ask if there is a way to compile the code using the JN-AN-4163 libraries so that it works on both chip models or if I can access the source code of the libraries then I can create a hybrid version by myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2018 19:52:06 GMT</pubDate>
    <dc:creator>felipedelvan</dc:creator>
    <dc:date>2018-07-19T19:52:06Z</dc:date>
    <item>
      <title>Share firmware between JN5168 and JN5169</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Share-firmware-between-JN5168-and-JN5169/m-p/822647#M5414</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;I'm working on a project using JN5168 and now I upgraded to JN5169 looking for more power on the radio. The firmware I developed updates other nodes on the network through OTA by cloning its own firmware. When a JN5168 node updates a JN5169 node, all peripherals seem to work fine (UART, Timer, etc.), the firmware (compiled for JN5168 in Beyond Studio) can receive packets through 802.15.4, but can not transmit any packets. When I change the makefile to JN5169, so does JN5168 (everything works fine, it can receive packets but can not stream).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to compile a firmware that works for both JN5168 and JN5169, so they can update each other?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The devices work in a mixed network (JN5168 and JN5169) and the OTA feature is essential. I have my own stack using MicroMac&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 22:01:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Share-firmware-between-JN5168-and-JN5169/m-p/822647#M5414</guid>
      <dc:creator>felipedelvan</dc:creator>
      <dc:date>2018-07-17T22:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Share firmware between JN5168 and JN5169</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Share-firmware-between-JN5168-and-JN5169/m-p/822648#M5415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felipe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to create a new build configuration.&lt;/P&gt;&lt;P&gt;1.Select the project that you want to create a bin file for the JN5168&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/65925i0ED8D9A05197EC94/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;2. Create New Configuration, copy the settings form the example that you want. In this case, I select the router example.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/65926i72ED7AEBFA16062A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Select the properties for the example that you are working on. Then, be sure that you select the manage configuration the new set up that you want. Change the build command for the JN5168, in this case.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/65927i838565AB054D2BD7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4. Compile the project and you will see the bin file for the JN5168.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_9.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/65928i2B167A4E183C8D9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_9.png" alt="pastedImage_9.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Console&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_10.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/65929i90341064CEAE655C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_10.png" alt="pastedImage_10.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: The&amp;nbsp;JN516x supports different Stacks, please look at the&amp;nbsp;Supported Protocols for your specific device.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/65930iC2105982255DD305/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 19:31:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Share-firmware-between-JN5168-and-JN5169/m-p/822648#M5415</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2018-07-19T19:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Share firmware between JN5168 and JN5169</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Share-firmware-between-JN5168-and-JN5169/m-p/822649#M5416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Mario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response!&lt;BR /&gt;I actually need a single compiled code that runs on both JN5168 and JN5169, because on my mixed network one device can update the other's firmware.&lt;/P&gt;&lt;P&gt;The path I'm trying to do at the moment is to rename the libraries symbols (HardwareApi, MMAC, and JPT) and adding "_JN5168" and "_JN5169" in each function to compile them both in my code. When&amp;nbsp;it boots the code it checks the model of the chip and then it choose to run the functions with "_JN5168" or "_JN5169",&amp;nbsp;but this solution has very low reliability.&lt;/P&gt;&lt;P&gt;I ask if there is a way to compile the code using the JN-AN-4163 libraries so that it works on both chip models or if I can access the source code of the libraries then I can create a hybrid version by myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 19:52:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Share-firmware-between-JN5168-and-JN5169/m-p/822649#M5416</guid>
      <dc:creator>felipedelvan</dc:creator>
      <dc:date>2018-07-19T19:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Share firmware between JN5168 and JN5169</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Share-firmware-between-JN5168-and-JN5169/m-p/822650#M5417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felipe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I actually need a single compiled code that runs on both JN5168 and JN5169, because on my mixed network one device can update the other's firmware.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;As you know, the JN5168 and JN5169 devices are not completely equal. Maybe the code will run with any problem, but it is not recommended.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;You can create different bin files and update the firmware requesting the device type at the beginning.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Mario&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 20:03:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Share-firmware-between-JN5168-and-JN5169/m-p/822650#M5417</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2018-07-19T20:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Share firmware between JN5168 and JN5169</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Share-firmware-between-JN5168-and-JN5169/m-p/822651#M5418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Is it possible to share the libraries source code with me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 20:36:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Share-firmware-between-JN5168-and-JN5169/m-p/822651#M5418</guid>
      <dc:creator>felipedelvan</dc:creator>
      <dc:date>2018-07-19T20:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Share firmware between JN5168 and JN5169</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Share-firmware-between-JN5168-and-JN5169/m-p/822652#M5419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felipe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The source code of the libraries are precompiled and we do not provide the source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for any inconvenience.&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>Fri, 20 Jul 2018 00:51:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Share-firmware-between-JN5168-and-JN5169/m-p/822652#M5419</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2018-07-20T00:51:50Z</dc:date>
    </item>
  </channel>
</rss>

