<?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>MPU Fault in Bluetooth: HCI Power Control</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68783/mpu-fault-in-bluetooth-hci-power-control</link><description>OS:Ubuntu 
 Board: nrf52840DK 
 SDK: NRF Connect SDK (master branch) 
 After building provided example: Bluetooth: HCI Power Control and flashing the board, in serial monitor I get the following errors: 
 
 Commands used to build and flash: 
 
 When I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Dec 2024 22:02:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68783/mpu-fault-in-bluetooth-hci-power-control" /><item><title>RE: MPU Fault in Bluetooth: HCI Power Control</title><link>https://devzone.nordicsemi.com/thread/514818?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2024 22:02:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b3abc69-e903-4b0f-ad3c-ee224c966f50</guid><dc:creator>AMarch01</dc:creator><description>&lt;p&gt;I know this is old, but in case someone runs across this while looking for a problem in hci_pwr_ctrl application. &lt;br /&gt;I wanted to add that this code has given me an issue in nrfConnect 2.7.0. The target was an nrf52840. The program would seem to operate correctly but would memfault if I hit &amp;quot;connect&amp;quot; in the nrf Connect phone application.&lt;br /&gt;&lt;br /&gt;This problem was resolved when I added:&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_LL_SW_SPLIT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;to the prj.conf file.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPU Fault in Bluetooth: HCI Power Control</title><link>https://devzone.nordicsemi.com/thread/283718?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 08:46:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6256d8e9-911f-4aeb-bafc-b1530dd98e2d</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Sorry, 640 was wrong, I actually changed it to 1024. The actual needed size might be something between 800-1024 and you can fine-tune this value later after some tests.&lt;/p&gt;
&lt;p&gt;I am pretty sure that CONFIG_MAIN_STACK_SIZE should be an available and configurable value in the zephyr latest master.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPU Fault in Bluetooth: HCI Power Control</title><link>https://devzone.nordicsemi.com/thread/283381?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2020 17:32:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08c3ead3-0a4a-43be-8eae-a48bea9885f5</guid><dc:creator>vasilje</dc:creator><description>&lt;p&gt;Hey, I am not sure why, but it didnt work. Maybe you are in another commit, because I couldnt find CONFIG_MAIN_STACK_SIZE set for &lt;strong&gt;nrf52840dk_nrf52840&lt;/strong&gt;, as well as for the &lt;strong&gt;hci_pwr_ctrl &lt;/strong&gt;project. I tried setting it up to 640 in &lt;strong&gt;hci_pwr_ctrl &lt;/strong&gt;project in &lt;strong&gt;prj.conf&lt;/strong&gt;, as well as in &lt;strong&gt;nrf52840dk_nrf52840_defconfig. &lt;/strong&gt;Still getting the same error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPU Fault in Bluetooth: HCI Power Control</title><link>https://devzone.nordicsemi.com/thread/283353?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2020 14:46:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5a9fb0d-fa9f-4a17-abcf-34eaeb9cd585</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Vasilije,&lt;/p&gt;
&lt;p&gt;Not sure why I did not reproduce this in the first test.&lt;/p&gt;
&lt;p&gt;But there seems to be an issue with the main stack size.&lt;/p&gt;
&lt;p&gt;Increasing the&amp;nbsp;CONFIG_MAIN_STACK_SIZE from 320 to 640 seems to fix this issue.&lt;/p&gt;
&lt;p&gt;I created an internal ticket to follow this up for the next release. Thanks for letting us know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPU Fault in Bluetooth: HCI Power Control</title><link>https://devzone.nordicsemi.com/thread/283122?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2020 14:08:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20a8af02-6900-4967-af87-a300af8a9fa7</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Vasilije,&lt;/p&gt;
&lt;p&gt;I have reproduced it, and the memfault seems to happen quite early in the boot up process. I have looking in it for more explanation, and i will come back to you when i have some more info on this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPU Fault in Bluetooth: HCI Power Control</title><link>https://devzone.nordicsemi.com/thread/282901?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 14:01:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c64e59a-65ac-4a32-ab5a-b9ba9bbdf39b</guid><dc:creator>vasilje</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is the last commit from the zephyr tree in the ncs workspace:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;commit 746d14a3380fb6807afed61c4c024485ae8212f9 (HEAD, manifest-rev)
Author: Joakim Andersson &amp;lt;joakim.andersson@nordicsemi.no&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Keep in mind that this mistake happens when trying to build this project when building from the `ncs/zephyr` directory&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPU Fault in Bluetooth: HCI Power Control</title><link>https://devzone.nordicsemi.com/thread/282586?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 07:37:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a37147b-3c18-4abc-95ec-6a438fcc1c9e</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Sorry for the late reply.&lt;/p&gt;
&lt;p&gt;I just tried to run this on latest master compiling on windows. but did not see this error.&lt;/p&gt;
&lt;p&gt;Could you please give me the commit number and your compiler versions so that i can tune into them.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will first try those exact versions on windows and on Ubuntu virtual machine later&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>