<?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>Controller hangs when I am trying to connect with Security feature</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123639/controller-hangs-when-i-am-trying-to-connect-with-security-feature</link><description>Hello, 
 
 I am adding security feature for BLE in nrf52810 custom board. I am using v2.9.1 toolchain and 2.9.1 sdk files 
 PFA BLE related file as well as .conf file as well. 
 I am not sure what is wrong that I am doing. Its going in hard fault. 
 Can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Aug 2025 07:44:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123639/controller-hangs-when-i-am-trying-to-connect-with-security-feature" /><item><title>RE: Controller hangs when I am trying to connect with Security feature</title><link>https://devzone.nordicsemi.com/thread/545872?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 07:44:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f38a469-e7d2-4022-a428-03f4f2f06db5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Chinmay,&lt;/p&gt;
&lt;p&gt;That sounds good. An alternative approach is to see what happens, startign in fault.c. It is not unlikely that tthe issue is caused by a stack overflow, and if so perhaps start in &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/1612683d4010b571be79f21d86edf683aac37679/arch/arm/core/cortex_m/fault.c#L177"&gt;mem_manage_fault()&lt;/a&gt;. An alterntative is to experimentally incrase stack sized, but I see there is very little RAM available so that has to be done carefully (you may need to optimize and cut back on stack and other buffer sizes elsewhere as much as possible).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controller hangs when I am trying to connect with Security feature</title><link>https://devzone.nordicsemi.com/thread/545842?ContentTypeID=1</link><pubDate>Sun, 17 Aug 2025 13:30:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ce90175-d7ac-4320-b111-0f38bd58adac</guid><dc:creator>ChinmayDixit97</dc:creator><description>&lt;p&gt;Hello Einar,&lt;/p&gt;
&lt;p&gt;This is happening when I am trying to connect the BLE on mobile app (nrf connect app), and expecting to enter the passkey on client what server has set. In my case, I have set it as 123456. The moment I try to connect, it hangs and got this call stack as mentioned in previous conversations.&amp;nbsp;When I enable Security feature, then only its happening.&lt;/p&gt;
&lt;p&gt;I will see what else I can get in core dump feature. I will let you know.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Chinmay&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controller hangs when I am trying to connect with Security feature</title><link>https://devzone.nordicsemi.com/thread/545692?ContentTypeID=1</link><pubDate>Thu, 14 Aug 2025 14:22:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93317792-f816-4fda-ad3c-7608514fcec8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Chinmay,&lt;/p&gt;
&lt;p&gt;I see. Without loggign we need to debug this differently to see what triggered the fault. First of all, can you say more about the circumstances when this happens? What happens before this? At what point during connection/pairing do this happen?&lt;/p&gt;
&lt;p&gt;To understand more about the issues iself without logging, an option could be to generate a core dump and analyze it as shown &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/topic/build-errors-and-fatal-errors/"&gt;here&lt;/a&gt; and &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/topic/exercise-2-11/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controller hangs when I am trying to connect with Security feature</title><link>https://devzone.nordicsemi.com/thread/545426?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 17:12:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ffc5891-854b-45c7-a624-caab8b7b6922</guid><dc:creator>ChinmayDixit97</dc:creator><description>&lt;p&gt;Hello Einar,&lt;/p&gt;
&lt;p&gt;PFA zephyr folder and build log&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0284.zephyr.zip"&gt;devzone.nordicsemi.com/.../0284.zephyr.zip&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3187.build_5F00_log.txt"&gt;devzone.nordicsemi.com/.../3187.build_5F00_log.txt&lt;/a&gt;&lt;br /&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/pastedimage1755018664556v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;I am using nrf52810 and due to lack of RAM, I am unable to turn on logs. But I have attached the image and in that, I am getting reason 35.&lt;br /&gt;Can you help me with that?&lt;br /&gt;Thanks for your support.&lt;br /&gt;Chinmay&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controller hangs when I am trying to connect with Security feature</title><link>https://devzone.nordicsemi.com/thread/545369?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 12:08:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e7b058d-0a73-4ca3-9faf-5700714b53e8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I do not see an obvious issue related to bonding here. Can you also upload the following?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;generated .config file from &amp;lt;build_folder&amp;gt;/&amp;lt;application_name&amp;gt;/zephyr/&lt;/li&gt;
&lt;li&gt;The full build log&lt;/li&gt;
&lt;li&gt;UART/RTT log showing the hard fault you describe (please share the full log)&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>