<?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>Central PAST scan failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120352/central-past-scan-failed</link><description>Hello, 
 I&amp;#39;m using central_past sample on nrf5340 audio DK board, and select nrf5340dk_nrf5340_cpuapp_ns for Build Target. 
 I added the following config to enable RTT log in prj.conf, other than that I did not make any changes. 
 
 I have used nRF Connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Apr 2025 02:01:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120352/central-past-scan-failed" /><item><title>RE: Central PAST scan failed</title><link>https://devzone.nordicsemi.com/thread/531925?ContentTypeID=1</link><pubDate>Wed, 16 Apr 2025 02:01:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8945872-de16-43b8-b659-e009836a4ee0</guid><dc:creator>LandyWang</dc:creator><description>&lt;p&gt;Thank you, it works for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central PAST scan failed</title><link>https://devzone.nordicsemi.com/thread/531815?ContentTypeID=1</link><pubDate>Tue, 15 Apr 2025 09:42:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5871178-2d3f-4626-8bcd-ee0bb8fcf348</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Landy,&amp;nbsp;&lt;br /&gt;Seems that the central_past doesn&amp;#39;t support sysbuild by default.&amp;nbsp;&lt;br /&gt;Please copy the following files from the nrf5340_audio project to the central_past project:&amp;nbsp;&lt;br /&gt;Kconfig.sysbuild&lt;/p&gt;
&lt;p&gt;sysbuild\ipc_radio folder.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After that you should be able to see the netcore image being built.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I attached my project for your reference. A quick test here showed that the audio DK can do scanning.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/central_5F00_past.zip"&gt;devzone.nordicsemi.com/.../central_5F00_past.zip&lt;/a&gt;&lt;br /&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/pastedimage1744710139182v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central PAST scan failed</title><link>https://devzone.nordicsemi.com/thread/531768?ContentTypeID=1</link><pubDate>Tue, 15 Apr 2025 03:33:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1de2cf4c-c52b-4c06-acb5-c169cee52168</guid><dc:creator>LandyWang</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for your assistance. I tried using sysbuild in v2.7.0, but strangely, I only got merged.hex but not merged_CPUNET.hex.&lt;/p&gt;
&lt;p&gt;I burned this merged.hex into the nrf5340audio DK, and the program does not seem to be running.&lt;/p&gt;
&lt;p&gt;I burned this merged hex file together with merged_CPUNET.hex of audio sample into nrf5340audio DK, and still encountered the scan failed problem.&lt;/p&gt;
&lt;p&gt;In addition, I did another test, adding the central_past code to the nrf5340 audio sample code and found that it would not have the scan fail problem.&lt;/p&gt;
&lt;p&gt;This seems to be a scan fail caused by missing config. I will look into it further.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central PAST scan failed</title><link>https://devzone.nordicsemi.com/thread/531719?ContentTypeID=1</link><pubDate>Mon, 14 Apr 2025 13:38:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2a0f495-359c-4f35-bf55-6f7e60245a13</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Landy,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Håkon is away this week. I will try to help you in the mean time.&amp;nbsp;&lt;br /&gt;Could you try to use sysbuild&amp;nbsp; instead of the system default ?&amp;nbsp;&lt;br /&gt;I can find a ticket here with similar error and also on 2.7:&amp;nbsp;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/113803/nrf5340-audio-application-zephyr-fatal-error-in-ncs-v2-7-0/497924"&gt;RE: nRF5340 audio application ZEPHYR FATAL ERROR in NCS v2.7.0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you look at the last reply , using sysbuild solved the problem.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please try to do west flash or click the flash button instead of trying to manually flash merged_domains.hex.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central PAST scan failed</title><link>https://devzone.nordicsemi.com/thread/531105?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2025 01:58:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:435006db-ad49-4814-b528-f1e8718a953d</guid><dc:creator>LandyWang</dc:creator><description>&lt;p&gt;Yes, I am using nrf5340 audio DK, and the NCS version is 2.7.0.&lt;/p&gt;
&lt;p&gt;Here is my build configuration.&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/pastedimage1744163867678v1.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/pastedimage1744163883112v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I used the programmer to burn merged_domains.hex to the nrf5340 audio DK after building, and then encountered this problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central PAST scan failed</title><link>https://devzone.nordicsemi.com/thread/531056?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 14:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39f262a4-6425-49e9-9fd4-a2c341609345</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;You are using an Audio DK right? I tried&amp;nbsp;reproducing this now, and&amp;nbsp;I do not think I am seeing the same thing on my side here. Default sample, and eg. NCS 2.7?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central PAST scan failed</title><link>https://devzone.nordicsemi.com/thread/530735?ContentTypeID=1</link><pubDate>Mon, 07 Apr 2025 05:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8e6befb-ba88-4879-a8ec-d55d0b38891c</guid><dc:creator>LandyWang</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you for your reply.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is my prj.conf.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_EXT_ADV=y
CONFIG_BT_PER_ADV_SYNC=y
CONFIG_LOG=y
CONFIG_BT_DEVICE_NAME=&amp;quot;Test Central Periodic Advertising Sync Transfer&amp;quot;
CONFIG_BT_PER_ADV_SYNC_TRANSFER_SENDER=y

CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And here is my build configuration. I am using the parent/child image-build.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1744003150378v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central PAST scan failed</title><link>https://devzone.nordicsemi.com/thread/530291?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 14:31:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dda05a18-069b-4a82-921a-eda9102df7de</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I believe the issue here is that you&amp;#39;ll have to add a few configurations to the child image, eg.&amp;nbsp;&lt;span&gt;CONFIG_BT_EXT_ADV.&lt;/span&gt; &amp;nbsp;I bet these are already set in the netcore in more complex applications that already select a lot of features - like the audio application. Are you using sysbuild or the legacy parent/child image-build?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central PAST scan failed</title><link>https://devzone.nordicsemi.com/thread/530093?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 01:30:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79886eea-2b99-4266-8dca-97e4ecf55345</guid><dc:creator>LandyWang</dc:creator><description>&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;I use samples/bluetooth/central on nrf5340 audio DK and it works fine, and the scan starts successfully.&lt;/p&gt;
&lt;p&gt;In addition, I copied the code of central_past to nrf\applications\nrf5340_audio and used it, and the scan could also start successfully.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know why scan fail occurs when using samples\bluetooth\central_past alone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central PAST scan failed</title><link>https://devzone.nordicsemi.com/thread/530071?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 19:03:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e03bd65-f83f-40f9-acaf-1fab92fd0200</guid><dc:creator>Jakob Ruhe</dc:creator><description>&lt;p&gt;I see. I have never used a nrf5340 so I am really not sure. But I know that it has two MCU:s, one typically used by the application and the other is used for the controller. Although powerful, I guess it also makes things a bit more complicated. So sometimes you need to flash also the controller. Perhaps that is what you are doing already?&lt;/p&gt;
&lt;p&gt;Here someone&amp;nbsp;had a similar problem (quite some time ago though) :&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/94853/start-scanning-failed-err--5-ncs2-2-0"&gt;Start scanning...failed (err -5)    NCS2.2.0&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does, for example, the sample application `samples/bluetooth/central` work for you?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>