<?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: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1 in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661930#M2723</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;I debug mode everything is OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to build the app for Release &lt;/P&gt;&lt;P&gt;Project -&amp;gt; Edit Configurations -&amp;gt; Release&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and got some linker issues:&lt;/P&gt;&lt;P&gt;if I enable Automatic run time library selection&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Error[Li005]: no definition for "__VECTOR_RAM" [referenced from fsl_interrupt_manager.o(libksdk_platform.a)] &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Error[Li005]: no definition for "NV_STORAGE_END_ADDRESS" [referenced from D:\Work\2016\Beacon\LampsterV1\release\obj\ApplMain.o] &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Error[Li005]: no definition for "__VECTOR_TABLE" [referenced from D:\Work\2016\Beacon\LampsterV1\release\obj\startup.o] &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Error[Li005]: no definition for "__RAM_VECTOR_TABLE_SIZE" [referenced from D:\Work\2016\Beacon\LampsterV1\release\obj\startup.o]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;otherwise without automatic:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Error[Li005]: no definition for "__iar_program_start" [program entry]&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;setting this:&lt;/P&gt;&lt;P&gt;C:\Freescale\KW40Z_Connectivity_Software_1.0.1\ConnSw\bluetooth\host\lib\ble_host_peripheral_lib.a&lt;BR /&gt;C:\Freescale\KW40Z_Connectivity_Software_1.0.1\KSDK_1.3.0\lib\ksdk_platform_lib\iar\KW40Z4\release\libksdk_platform.a&lt;BR /&gt;C:\Freescale\KW40Z_Connectivity_Software_1.0.1\ConnSw\framework\SecLib\lib_crypto_IAR_M0.a&lt;BR /&gt;C:\Freescale\KW40Z_Connectivity_Software_1.0.1\ConnSw\bluetooth\controller\lib\ble_controller_lib.a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Added Configuration file symbol definitions:&lt;/P&gt;&lt;P&gt;gUseNVMLink_d=1&lt;BR /&gt;__ram_vector_table__=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some suggestions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Lucian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2016 14:43:55 GMT</pubDate>
    <dc:creator>lucianfiran</dc:creator>
    <dc:date>2016-11-30T14:43:55Z</dc:date>
    <item>
      <title>MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661915#M2708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a BLE project based on MKW30Z and KW40Z_Connectivity_Software_1.0.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best start-up demo project for the following application:&lt;BR /&gt;- OTAP Client for sw update&lt;BR /&gt;- Led RGB+White lamp control (server like)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.2 Peripheral Demo Applications &lt;BR /&gt;5.3 Central Demo Applications &lt;BR /&gt;5.4 GAP Dual Role Demo Applications &lt;BR /&gt;5.5 Over The Air Programming (OTAP) -&amp;gt; OTAP Client&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bluetooth® Low Energy (BLE) Demo Applications User’s Guide&lt;BR /&gt;BLEDAUG Rev. 1, 10/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess is to start with GAP Dual Role - add Lamp custom profile + &lt;BR /&gt;OTAP profile and remove what is not needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is it possible to connect like a Peripheral, &lt;BR /&gt;than start OTAP client from there if needed ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 12:36:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661915#M2708</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-11-15T12:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661916#M2709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your final application would be something like a BLE controlled lamp that can be firmware updated using OTAP, am I right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is the case, you will not need a Dual-Role application. See, the OTAP Client that receives the update actually is a GAP Peripheral. It includes the OTAP service and advertises it. It is then accessed by the OTAP Server (which is actually a GAP Central) that communicates with a PC to gather the binary file to be loaded to the OTAP Client.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My suggestion for you is to use the OTAP Client demo as basepoint. Then you can add on the top of it a custom service for the Lamp control. We have a demo application that includes several custom services and a LED control among them. You can find it in the following links.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Documentation: &lt;A class="link-titled" href="http://www.nxp.com/files/32bit/doc/user_guide/FRDMKW40ZDAUG.pdf?fasp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" title="http://www.nxp.com/files/32bit/doc/user_guide/FRDMKW40ZDAUG.pdf?fasp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;http://www.nxp.com/files/32bit/doc/user_guide/FRDMKW40ZDAUG.pdf?fasp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;W…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firmware: &lt;A class="link-titled" href="http://cache.nxp.com/files/32bit/doc/user_guide/FRDMKW40ZDAUGSW.zip" title="http://cache.nxp.com/files/32bit/doc/user_guide/FRDMKW40ZDAUGSW.zip"&gt;http://cache.nxp.com/files/32bit/doc/user_guide/FRDMKW40ZDAUGSW.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this information is useful for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Saludos&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Santiago Lopez – Systems Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 18:19:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661916#M2709</guid>
      <dc:creator>santiago_lopez</dc:creator>
      <dc:date>2016-11-15T18:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661917#M2710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Santiago,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you are right.&lt;/P&gt;&lt;P&gt;I understand now that the 'Client' from OTAP si referring to the otap app 'protocol' itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="left" height="17" style="border: 1px solid #000000;"&gt;&lt;/TD&gt;&lt;TD align="center" colspan="2" style="border: 1px solid #000000;" valign="middle"&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="17" style="border: 1px solid #000000;"&gt;&lt;STRONG&gt;Layer&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="left" style="border: 1px solid #000000;"&gt;&lt;STRONG&gt;Lamp&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="left" style="border: 1px solid #000000;"&gt;&lt;STRONG&gt;Smart phone&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="17" style="border: 1px solid #000000;"&gt;&lt;STRONG&gt;GAP&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="left" style="border: 1px solid #000000;"&gt;Peripheral&lt;/TD&gt;&lt;TD align="left" style="border: 1px solid #000000;"&gt;Central&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="17" style="border: 1px solid #000000;"&gt;&lt;STRONG&gt;GATT&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="left" style="border: 1px solid #000000;"&gt;Server&lt;/TD&gt;&lt;TD align="left" style="border: 1px solid #000000;"&gt;Client&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="17" style="border: 1px solid #000000;"&gt;&lt;STRONG&gt;OTAP&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="left" style="border: 1px solid #000000;"&gt;Client&lt;/TD&gt;&lt;TD align="left" style="border: 1px solid #000000;"&gt;Server&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use some cloned examples to start with like: bluetooth_blood_pressure_sensor&amp;nbsp; bluetooth_glucose_sensor&amp;nbsp; bluetooth_temperature_sensor also bluetooth_otap_client_att&lt;/P&gt;&lt;P&gt;but most of them advertise correctly on Kinetis BLE Toolbox, but they do not connect.&lt;/P&gt;&lt;P&gt;(no data on Android, didn't hit the connection break-point )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PCB with MKW30Z, DCDC bypass mode, 5 TPM led outpus, 1 gpio(tsi) input button, spi flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion on this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Lucian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 20:38:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661917#M2710</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-11-15T20:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661918#M2711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using custom hardware? Or you bought some third party hardware? Our first recommendation is to run the demos in FRDM-KW40Z or USB-KW40Z so we know the software is configured for the hardware being used (XTALS, GPIOS, …).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, some of our BLE demos have had problems connecting with a few smartphones running Android 7.0 (Nougat), specially Nexus 5X. You could try to connect with another smartphone (an iPhone for example) just to make sure this is not a smartphone problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, you mentioned that the connection break-point is not being reached. You can check if the software is not getting stuck in some task or hard faulting due some software issue like creating a task that has a bigger priority than the Host_Task or the L2CA_Task. If any of those get blocked, BLE will not work properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That’s all it comes to my mind right now. We would need to debug your particular software to find what can be preventing the application from connecting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Saludos&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Santiago Lopez – Systems Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 22:18:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661918#M2711</guid>
      <dc:creator>santiago_lopez</dc:creator>
      <dc:date>2016-11-15T22:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661919#M2712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes custom hardware (how can I attach a schematic pdf ?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PC SW IAR 7.50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bare_metal FSL default RTOS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phone testing with:&lt;BR /&gt;Samsung Galaxy Tab A SM-T555 Android 6.0.1&lt;BR /&gt;SW: nRF Connect, Kinetis BLE Toolbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iPhone 5C ME544LL/a iOS 10.1.1&lt;BR /&gt;SW: nRF Connect, custom software under development for this project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the set-up is the main issue here as it has many configuration files not so well documented:&lt;BR /&gt;board.c, board.h, app_config.h, app_preinclude.h, app.h&lt;BR /&gt;....&lt;BR /&gt;There is a list of switches for this files,&lt;BR /&gt;&amp;nbsp;I see a lot of variation across projects (documentation) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried some demo project porting from MKW40Z to MKW30Z.&lt;BR /&gt;&amp;nbsp;I once succeeded in communicating once based on &lt;BR /&gt;bluetooth_temperature_sensor, but I flush the code from mistake (attached pics).&lt;/P&gt;&lt;P&gt;&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/9868i6F20D44BB4A4FE85/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;&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/9921iCC39FD10407E843E/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;Best Regards,&lt;/P&gt;&lt;P&gt;Lucian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 06:49:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661919#M2712</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-11-16T06:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661920#M2713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put the code here &lt;A class="link-titled" href="https://github.com/firanl/BLE_Lamp" title="https://github.com/firanl/BLE_Lamp"&gt;GitHub - firanl/BLE_Lamp: MKW30Z BLE based lamp&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will go on bitbucket on a private repo as is stable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Lucian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 18:45:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661920#M2713</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-11-16T18:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661921#M2714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On github:&lt;/P&gt;&lt;P&gt;The leds will not flash and the button does not trigger.&lt;/P&gt;&lt;P&gt;Possible config issue (Clocks, Timers issues ) ?&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/8598iF0B690B3019E28B7/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;PCB:&lt;/P&gt;&lt;P&gt;&amp;nbsp;has 3.3 voltage regulator;&lt;/P&gt;&lt;P&gt;&amp;nbsp;5 led channels N mos on (with 100R series resistor and 10K pull dn on) RGB channels PTB18, PTC0, PTC1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; and 2 x white&amp;nbsp; PTA0, PTA1 used for SWD now.&lt;/P&gt;&lt;P&gt;1 PTC3 input with series resistor 47R, 1Meg pull-up.&lt;/P&gt;&lt;P&gt;NMI disabled from startup_MKW30Z4.s&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SECTION FlashConfig:CODE&lt;BR /&gt;__FlashConfig&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;DCD&amp;nbsp;&amp;nbsp; &amp;nbsp;0xFFFFFFFF&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;DCD&amp;nbsp;&amp;nbsp; &amp;nbsp;0xFFFFFFFF&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;DCD&amp;nbsp;&amp;nbsp; &amp;nbsp;0xFFFFFFFF&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;DCD&amp;nbsp;&amp;nbsp; &amp;nbsp;0xFFFF&lt;STRONG&gt;FB&lt;/STRONG&gt;FE&lt;BR /&gt;__FlashConfig_End&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPI flash AT45DB021E-SSHN-T&lt;/P&gt;&lt;P&gt;SO - PTC18; SI - PTC17; SCK - PTC16; CS - PTC19&lt;/P&gt;&lt;P&gt;BALUN &lt;SPAN class=""&gt;MURATA-LDB212G4005C-001&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt; Quatz &lt;SPAN class=""&gt;32MHz NXS3225SA-EXS00A-CS0236&lt;/SPAN&gt; + 2 x 13pF&lt;BR style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;RTC quartz + 12pF&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 21:17:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661921#M2714</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-11-16T21:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661922#M2715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if I add at the end of:&lt;/P&gt;&lt;P&gt;static void BleApp_Config()&lt;BR /&gt;{ &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;BleApp_Start();&lt;/STRONG&gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;The board start advertising but not connect.&lt;/P&gt;&lt;P&gt;Led full off not blinking, BTN not working.&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/8659i920A1916D4629974/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;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8702iB1BACA36B9C32DB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;nRFConnect log: Device disconnected Error 133 (0x85) GATT ERROR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I power off lamp, the board is dead, no leds, no BTN, no adv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 22:09:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661922#M2715</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-11-16T22:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661923#M2716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried with other sw on Samsung tab: &lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://play.google.com/store/apps/details?id=uk.co.alt236.btlescan" title="https://play.google.com/store/apps/details?id=uk.co.alt236.btlescan"&gt;Bluetooth LE Scanner - Android Apps on Google Play&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adv ok but no connection:&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/8761i6F6B9D144CB7E154/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;BTN not trigerrs, led not blink.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 07:14:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661923#M2716</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-11-17T07:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661924#M2717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I downloaded the code from your repository and was able to compile but J-Link launched errors at the moment of downloading the code (maybe problems with the flashloader). Anyway I created an example code for you to test your hardware and discard it as the issue. This code implements OTAP client + LED Controller. It uses the Kinetis BLE Toolbox smartphone application for testing. I tested this application on the FRDM-KW40Z and our KW30 Beacon reference design so it must work on your side if there are not issues with the custom hardware.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps to configure this application for your board&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Open app_preinclude.h and indicate the number of LEDs and Buttons in your board&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt;"&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/9999i6DE1453068FF22B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Open gpio_pins.h and create enums for all your LEDs and Buttons on the board. Route them to the proper GPIO port and pin.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/10087iFA81D007543C4CAD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;3.&lt;/SPAN&gt;Open gpio_pins.c and complete the initialization structure for all your LEDs and Buttons&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/10126i9643E064D900773B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4. &lt;SPAN style="font-size: 11.0pt;"&gt;Compile and download your application to the KW30&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;5. &lt;SPAN style="font-size: 11.0pt;"&gt;On your smartphone download the latest version of Kinetis BLE Toolbox&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;6. &lt;SPAN style="font-size: 11.0pt;"&gt;Press the push button you defined as SW1. Application must start advertising&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;7. &lt;SPAN style="font-size: 11.0pt;"&gt;Open Kinetis BLE Toolbox in your smartphone and tap on the FRDM-KW40Z Demo application&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&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/10173i2D78A7E30CC13F92/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&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;8. Wait for the devices to show. Tap on the device named OTAP_LED. Device must connect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&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/10088i39DAEF935D3E8F70/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;9. Tap on the LED application&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/10219i59BCDF6680CDE51F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;10. Move the LED switches. You should see the LEDs on your board turn on and off accordingly&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&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/10267i30A67E1BF4539857/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If everything is ok with the hardware, you can use this application as a basepoint for your development.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know how it went.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 23:23:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661924#M2717</guid>
      <dc:creator>santiago_lopez</dc:creator>
      <dc:date>2016-11-17T23:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661925#M2718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I get your example, can you please provide a link ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About Jlink warnings - I disabled NMI interrupts from flash config (FF -&amp;gt; FB) in &lt;STRONG&gt;startup_MKW30Z4.s&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SECTION FlashConfig:CODE&lt;BR /&gt;__FlashConfig&lt;BR /&gt;DCD 0xFFFFFFFF&lt;BR /&gt;DCD 0xFFFFFFFF&lt;BR /&gt;DCD 0xFFFFFFFF&lt;BR /&gt;DCD 0xFFFF&lt;STRONG&gt;FB&lt;/STRONG&gt;FE&lt;BR /&gt;__FlashConfig_End&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I &lt;STRONG&gt;unchecked&lt;/STRONG&gt; Project Options -&amp;gt; Debugger -&amp;gt; Download -&amp;gt; &lt;STRONG&gt;Use flash loader(s)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Lucian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 09:28:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661925#M2718</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-11-18T09:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661926#M2719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code is attached at the bottom of my previous comment.&lt;/P&gt;&lt;P&gt;&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/8789i3DFB56BA22931F6A/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;&lt;/P&gt;&lt;P&gt;I will copy your flashloader configuration and try to run your code again for debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 16:36:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661926#M2719</guid>
      <dc:creator>santiago_lopez</dc:creator>
      <dc:date>2016-11-18T16:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661927#M2720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot see the download attachement, tried Firefox 50.0 and IE&lt;/P&gt;&lt;P&gt;----------------&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/8881i377A6ABDFBC38037/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;-------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 16:55:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661927#M2720</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-11-18T16:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661928#M2721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is because you are in the Inbox preview. Try to enter to the actual post &lt;A href="https://community.nxp.com/thread/438906"&gt;https://community.nxp.com/thread/438906&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 18:16:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661928#M2721</guid>
      <dc:creator>santiago_lopez</dc:creator>
      <dc:date>2016-11-18T18:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661929#M2722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;It seems to work ok !&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Not tested OTAP download. Do you have an example file to use for OTAP ?&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/8570i4600058758460A33/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;&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/8623i88BD12A8CB6835AB/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;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8672i68A4A314D71C3056/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Nov 2016 08:46:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661929#M2722</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-11-19T08:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661930#M2723</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;I debug mode everything is OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to build the app for Release &lt;/P&gt;&lt;P&gt;Project -&amp;gt; Edit Configurations -&amp;gt; Release&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and got some linker issues:&lt;/P&gt;&lt;P&gt;if I enable Automatic run time library selection&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Error[Li005]: no definition for "__VECTOR_RAM" [referenced from fsl_interrupt_manager.o(libksdk_platform.a)] &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Error[Li005]: no definition for "NV_STORAGE_END_ADDRESS" [referenced from D:\Work\2016\Beacon\LampsterV1\release\obj\ApplMain.o] &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Error[Li005]: no definition for "__VECTOR_TABLE" [referenced from D:\Work\2016\Beacon\LampsterV1\release\obj\startup.o] &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Error[Li005]: no definition for "__RAM_VECTOR_TABLE_SIZE" [referenced from D:\Work\2016\Beacon\LampsterV1\release\obj\startup.o]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;otherwise without automatic:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Error[Li005]: no definition for "__iar_program_start" [program entry]&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;setting this:&lt;/P&gt;&lt;P&gt;C:\Freescale\KW40Z_Connectivity_Software_1.0.1\ConnSw\bluetooth\host\lib\ble_host_peripheral_lib.a&lt;BR /&gt;C:\Freescale\KW40Z_Connectivity_Software_1.0.1\KSDK_1.3.0\lib\ksdk_platform_lib\iar\KW40Z4\release\libksdk_platform.a&lt;BR /&gt;C:\Freescale\KW40Z_Connectivity_Software_1.0.1\ConnSw\framework\SecLib\lib_crypto_IAR_M0.a&lt;BR /&gt;C:\Freescale\KW40Z_Connectivity_Software_1.0.1\ConnSw\bluetooth\controller\lib\ble_controller_lib.a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Added Configuration file symbol definitions:&lt;/P&gt;&lt;P&gt;gUseNVMLink_d=1&lt;BR /&gt;__ram_vector_table__=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some suggestions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Lucian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 14:43:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661930#M2723</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-11-30T14:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661931#M2724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I forgot to update the configuration for the release project with the changes made. Please do the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Return to the debug configuration&lt;BR /&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/11518i3B67752EBFCCB5B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Right click in the project and select options&lt;BR /&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/11557iD607B3298CB5513F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Go to C/C++ Compiler and select the Preprocessor tab. Select and copy all the content of the "Additional directories" box.&lt;BR /&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11603i6A29D4C4D66F124A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Close the window and return to the Release configuration.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11687iC906CB7F43C46325/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Go again to the preprocessor tab in C/C++ Compiler. Select all the content of the Additional Directories box and replace it with the lines you previously copied from Debug.&lt;/LI&gt;&lt;LI&gt;Go to the Linker section. In the Override default box, in the icf file name replace MKW40Z with MKW30Z&lt;BR /&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/11519i39306352C2E9AEEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Recomplile. This time you shouldn´t find errors.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 15:41:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661931#M2724</guid>
      <dc:creator>santiago_lopez</dc:creator>
      <dc:date>2016-11-30T15:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661932#M2725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santiago,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added Linker/Input (Keep symbols, Raw binary image ...) like:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="11235" data-containertype="14" data-objectid="332325" data-objecttype="102" href="https://community.nxp.com/docs/DOC-332325"&gt;Create a binary file for OTAP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Debug&lt;/STRONG&gt; builds ok&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/9141i6513D2261FF90043/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;&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/9177i84A8570FDF8FD1B2/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;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/9353iE6BAF1D03C10E19A/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;and &lt;STRONG&gt;Release&lt;/STRONG&gt; builds ok :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9224i9AE03B97A6D25346/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9268i7282D14EE79FC541/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&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/9307i98A0C84B5E8D8D2F/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;but the program does not run correctly, it advertise but no connection to phone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lucian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 20:17:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661932#M2725</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-12-02T20:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30 GAP Dual Role Applications KW40Z_Connectivity_Software_1.0.1</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661933#M2726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue seems to be the config file symbols:&lt;/P&gt;&lt;P&gt;gUseBootloaderLink_d=1&lt;BR /&gt;gUseInternalStorageLink_d=0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 20:52:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30-GAP-Dual-Role-Applications-KW40Z-Connectivity-Software-1-0/m-p/661933#M2726</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-12-02T20:52:57Z</dc:date>
    </item>
  </channel>
</rss>

