<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Problem with BLE advertisement after migration to NCS v2.9.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120967/problem-with-ble-advertisement-after-migration-to-ncs-v2-9-0</link><description>Hello, I had working BLE application build on v2.6.2. After migration to SDK v2.9.0 BLE is not advertising anymore. I think it may be related to default controller that is used in newer version of SDK. Previous setup: Custom board NCS v2.6.2 Zephyr SDK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Apr 2025 11:59:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120967/problem-with-ble-advertisement-after-migration-to-ncs-v2-9-0" /><item><title>RE: Problem with BLE advertisement after migration to NCS v2.9.0</title><link>https://devzone.nordicsemi.com/thread/533383?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2025 11:59:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f7286f5-8950-4703-9176-22d145459f41</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;m still not able to reproduce the error here. I tried with the peripheral_lbs sample and created an overlay similar to yours to select the Zephyr controller:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1745927861832v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1745927905743v3.png" alt=" " /&gt;&lt;/p&gt;
[quote user="jkop_thaumatec"]Before I tried to build with the zpehyr BLE stack I also tried to run it with nordic stack. I can confirm that it&amp;#39;s starting but looks like it&amp;#39;s freezing it&amp;#39;s execution (?):[/quote]
&lt;p&gt;Please start a debug session via&amp;nbsp;our VS code extension, GDB, or Segger Ozone, and try to see where the program hangs.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with BLE advertisement after migration to NCS v2.9.0</title><link>https://devzone.nordicsemi.com/thread/533324?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2025 08:36:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09c6ffc4-a8cf-48f6-bdc9-51609702f8f1</guid><dc:creator>jkop_thaumatec</dc:creator><description>&lt;p&gt;I extracted some information from my_board.dts into app.overly and rebuilded on nrf52840 with: &lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;chosen {
		zephyr,bt_hci = &amp;amp;bt_hci_controller;
};

&amp;amp;bt_hci_sdc {
    status = &amp;quot;disabled&amp;quot;;
};

&amp;amp;bt_hci_controller {
    status = &amp;quot;okay&amp;quot;;
};&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Unfortunately problem persist:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;/workspaces/zephyr/modules/hal_nordic/nrfx/./nrfx_config_reserved_resources_ncs.h:42:10: fatal error: bt_ctlr_used_resources.h: No such file or directory
   42 | #include &amp;lt;bt_ctlr_used_resources.h&amp;gt;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m aware of hardware model change and applied those changes. &lt;br /&gt;&lt;br /&gt;Before I tried to build with the zpehyr BLE stack I also tried to run it with nordic stack. I can confirm that it&amp;#39;s starting but looks like it&amp;#39;s freezing it&amp;#39;s execution (?):&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;rtt:~$ [00:00:24.492,919] &amp;lt;inf&amp;gt; bt_sdc_hci_driver: SoftDevice Controller build revision: 
                                            2d 79 a1 c8 6a 40 b7 3c  f6 74 f9 0b 22 d3 c4 80 |-y..j@.&amp;lt; .t..&amp;quot;...
                                            74 72 82 ba                                      |tr..       &lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with BLE advertisement after migration to NCS v2.9.0</title><link>https://devzone.nordicsemi.com/thread/533086?ContentTypeID=1</link><pubDate>Sat, 26 Apr 2025 05:42:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10a411c6-fe02-4d80-b7d5-cfa253267b98</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;SDK v2.9.0 will default to using the Softdevice controller (SDC), same the older SDK versions. Have you tried to get logs or start a debug session from VS code to see if the program reaches the advertising start function?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The build error you get after selecting the Zephyr controller indicates a configuration issue, but it is difficult to pinpoint which without having your project setup in front of me. Maybe it could be related to the board definition. The way boards are defined was changed in SDK v2.7.0 with the introduction of &amp;#39;hardware model v2&amp;#39;. This means you&amp;nbsp;should update your existing board to match the new model when using v2.7.0 and later. If you have not updated your board yet, please follow the migration notes at&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.0-rc2/page/nrf/releases_and_maturity/migration/migration_hwmv2.html"&gt;https://docs.nordicsemi.com/bundle/ncs-3.0.0-rc2/page/nrf/releases_and_maturity/migration/migration_hwmv2.html&lt;/a&gt;.&amp;nbsp; If you are&amp;nbsp;you able to build your application for 52840dk/nrf52840 with overlays, you can use that to compare the .config files between the failing and working buildin (build/&amp;lt;app name&amp;gt;/zephyr/.config)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>