<?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 QN9080 - issue with CRP in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/QN9080-issue-with-CRP/m-p/747026#M4252</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 trying to enable CRP2 for the device based&amp;nbsp;on QN9080. According to the&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/nxp/user-guides/UM11023.pdf" rel="nofollow noopener noreferrer" title="https://www.nxp.com/docs/en/nxp/user-guides/UM11023.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/nxp/user-guides/UM11023.pdf&lt;/A&gt;&amp;nbsp;(page 73) CRP is controlled by 4 bytes at 0x20 offset in the vector table.&amp;nbsp; Here is the hex dump of&amp;nbsp;firmware vector table that I'm flashing&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #efefef; font-weight: bold;"&gt;&amp;gt;&amp;nbsp;hd&amp;nbsp;firmware.bin | head&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;00000000 f0 ff 01 04 f1 1b 00 00 59 1d 00 00 69 1d 00 00 |........Y...i...|
00000010 69 1d 00 00 69 1d 00 00 69 1d 00 00 00 00 00 00 |i...i...i.......|
00000020 fe 68 06 00 00 00 00 00 00 00 00 00 69 1d 00 00 |.h..........i...|
00000030 69 1d 00 00 69 1d 00 00 69 1d 00 00 69 1d 00 00 |i...i...i...i...|‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;There is 0x000668fe at 0x20 which is mentioned on page 84 as the default value for CRP2.&lt;/P&gt;&lt;P&gt;After flashing I've shorted the CHIP_MODE pin to the ground and connected the USB - new mass device appeared with the name "CRP DISABLD". I've also downloaded the firmware from the device using JLink. Here is the&amp;nbsp;&lt;SPAN&gt;hex dump&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="background-color: #efefef; font-weight: bold;"&gt;&amp;gt;&amp;nbsp;hd&amp;nbsp;downloaded.bin | head&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;00000000&amp;nbsp; f0 ff 01 04 f1 1b 00 00&amp;nbsp; 59 1d 00 00 69 1d 00 00&amp;nbsp; |........Y...i...|
00000010&amp;nbsp; 69 1d 00 00 69 1d 00 00&amp;nbsp; 69 1d 00 00 22 51 fd fb&amp;nbsp; |i...i...i..."Q..|
00000020&amp;nbsp; ff a8 0a 00 00 00 00 00&amp;nbsp; 00 00 00 00 69 1d 00 00&amp;nbsp; |............i...|
00000030&amp;nbsp; 69 1d 00 00 69 1d 00 00&amp;nbsp; 69 1d 00 00 69 1d 00 00&amp;nbsp; |i...i...i...i...|&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You can see that value at 0x20 changed to 0x000aa8ff which is the default value for no CRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas whats wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;SDK: SDK_2.2_QN908xCDK_Beta&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;IDE: mcuxpressoide-10.0.2_411&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;System : Ubuntu 16.04&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Max.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Feb 2018 16:02:47 GMT</pubDate>
    <dc:creator>maxasaulov</dc:creator>
    <dc:date>2018-02-14T16:02:47Z</dc:date>
    <item>
      <title>QN9080 - issue with CRP</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9080-issue-with-CRP/m-p/747026#M4252</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 trying to enable CRP2 for the device based&amp;nbsp;on QN9080. According to the&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/nxp/user-guides/UM11023.pdf" rel="nofollow noopener noreferrer" title="https://www.nxp.com/docs/en/nxp/user-guides/UM11023.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/nxp/user-guides/UM11023.pdf&lt;/A&gt;&amp;nbsp;(page 73) CRP is controlled by 4 bytes at 0x20 offset in the vector table.&amp;nbsp; Here is the hex dump of&amp;nbsp;firmware vector table that I'm flashing&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #efefef; font-weight: bold;"&gt;&amp;gt;&amp;nbsp;hd&amp;nbsp;firmware.bin | head&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;00000000 f0 ff 01 04 f1 1b 00 00 59 1d 00 00 69 1d 00 00 |........Y...i...|
00000010 69 1d 00 00 69 1d 00 00 69 1d 00 00 00 00 00 00 |i...i...i.......|
00000020 fe 68 06 00 00 00 00 00 00 00 00 00 69 1d 00 00 |.h..........i...|
00000030 69 1d 00 00 69 1d 00 00 69 1d 00 00 69 1d 00 00 |i...i...i...i...|‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;There is 0x000668fe at 0x20 which is mentioned on page 84 as the default value for CRP2.&lt;/P&gt;&lt;P&gt;After flashing I've shorted the CHIP_MODE pin to the ground and connected the USB - new mass device appeared with the name "CRP DISABLD". I've also downloaded the firmware from the device using JLink. Here is the&amp;nbsp;&lt;SPAN&gt;hex dump&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="background-color: #efefef; font-weight: bold;"&gt;&amp;gt;&amp;nbsp;hd&amp;nbsp;downloaded.bin | head&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;00000000&amp;nbsp; f0 ff 01 04 f1 1b 00 00&amp;nbsp; 59 1d 00 00 69 1d 00 00&amp;nbsp; |........Y...i...|
00000010&amp;nbsp; 69 1d 00 00 69 1d 00 00&amp;nbsp; 69 1d 00 00 22 51 fd fb&amp;nbsp; |i...i...i..."Q..|
00000020&amp;nbsp; ff a8 0a 00 00 00 00 00&amp;nbsp; 00 00 00 00 69 1d 00 00&amp;nbsp; |............i...|
00000030&amp;nbsp; 69 1d 00 00 69 1d 00 00&amp;nbsp; 69 1d 00 00 69 1d 00 00&amp;nbsp; |i...i...i...i...|&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You can see that value at 0x20 changed to 0x000aa8ff which is the default value for no CRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas whats wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;SDK: SDK_2.2_QN908xCDK_Beta&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;IDE: mcuxpressoide-10.0.2_411&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;System : Ubuntu 16.04&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Max.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2018 16:02:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9080-issue-with-CRP/m-p/747026#M4252</guid>
      <dc:creator>maxasaulov</dc:creator>
      <dc:date>2018-02-14T16:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: QN9080 - issue with CRP</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9080-issue-with-CRP/m-p/747027#M4253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using JLink debugging interface you need to change the Device to &lt;STRONG&gt;"&lt;EM&gt;QN9080C (allow CRP&lt;/EM&gt;)"&lt;/STRONG&gt; in the debug configuration so that it allows you to write the CRP register. You need to manually add the quotation marks "" around the device name, so that it is passed correctly as a parameter to the JLinkGDBServer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;Debug Configurations...&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/17259iA8D5770342231976/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;&lt;/P&gt;&lt;P&gt;With this change to the debug configuration I was able to change the CRP to&amp;nbsp;0x000668FE and the USB ISP bootloader enumerates as "CRP ENABLD".&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/17066i57923FCD93B77E71/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&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/17436iE3951FA5671835D4/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;&lt;/P&gt;&lt;P&gt;Additionally, the RFP (Ready for Production) build of the QN9080 SDK is now available from the&amp;nbsp;&lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuxpresso.nxp.com%2Fen%2Fselect"&gt;MCUXpresso SDK builder&lt;/A&gt;&amp;nbsp;and&amp;nbsp;some new tools are also available in the &lt;STRONG&gt;Lab and Test Software&amp;nbsp;&lt;/STRONG&gt;section of the &lt;EM&gt;SOFTWARE &amp;amp; TOOLS&lt;/EM&gt; tab in the &lt;A href="https://www.nxp.com/products/wireless-connectivity/bluetooth-low-energy-ble/qn908x-ultra-low-power-ble-system-on-chip-solution:QN9080?tab=Design_Tools_Tab"&gt;QN908x product page&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gerardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 18:56:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9080-issue-with-CRP/m-p/747027#M4253</guid>
      <dc:creator>gerardo_rodriguez</dc:creator>
      <dc:date>2018-02-16T18:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: QN9080 - issue with CRP</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9080-issue-with-CRP/m-p/747028#M4254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Gerardo Rodríguez,&lt;BR /&gt;&lt;BR /&gt;Yes, it works. Thanks.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Max.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 20:34:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9080-issue-with-CRP/m-p/747028#M4254</guid>
      <dc:creator>maxasaulov</dc:creator>
      <dc:date>2018-02-28T20:34:39Z</dc:date>
    </item>
  </channel>
</rss>

