<?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>NRF5340-DK BLE examples fail to initialize</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89475/nrf5340-dk-ble-examples-fail-to-initialize</link><description>I am trying to use a 5340 BLE example project in VSC as a starting point. I have two NRF5340-DK boards, both 2.0.0. Whatever example I try, bt_enable always fails. For example, the peripheral_uart example fails with HCI driver open failed. I&amp;#39;ve tried</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Aug 2023 13:50:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89475/nrf5340-dk-ble-examples-fail-to-initialize" /><item><title>RE: NRF5340-DK BLE examples fail to initialize</title><link>https://devzone.nordicsemi.com/thread/442328?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 13:50:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d44977d-843d-41b8-85f9-ab10b6fada56</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;Sorry for the late return &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f609.svg" title="Wink"&gt;&amp;#x1f609;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;It seems the issue in my case was that I forgot to do a pristine build after adding CONFIG_BT_RPC_STACK=y to prj.conf,&amp;nbsp;which caused a conflict between the default hci_rpmsg child image and the rpc_host child image...&lt;/p&gt;
&lt;p&gt;Once I made sure to do a pristine build I had no issue running the sample with the configuration set in prj.conf.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340-DK BLE examples fail to initialize</title><link>https://devzone.nordicsemi.com/thread/427412?ContentTypeID=1</link><pubDate>Thu, 25 May 2023 08:16:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5fefb5c-818f-4a56-bb03-be60b1664115</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Patrice&lt;/p&gt;
&lt;p&gt;Good to hear you found a solution in the end, but if the documentation is incorrect it sounds like something we should look into.&lt;/p&gt;
&lt;p&gt;I also had some issues building the peripheral_uart sample when I added CONFIG_BT_RPC_STACK=y to prj.conf, but I got it to work when building from command line as described in the documentation. According to the developers it should work fine to add the configuration in prj.conf, so I need to spend some more time with this to figure out what is going on.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortunately I am quite busy this week, but I will set aside some time next week to investigate further.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340-DK BLE examples fail to initialize</title><link>https://devzone.nordicsemi.com/thread/426076?ContentTypeID=1</link><pubDate>Wed, 17 May 2023 14:46:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f50bf29f-c730-4600-90cf-69aaa6345470</guid><dc:creator>Patrice Rudaz</dc:creator><description>&lt;p&gt;Hi again,&lt;br /&gt;&lt;br /&gt;So, I make it run !&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve started again with original prj.conf files coming from acs v2.1.0, ignoring all instruction of the documentation:&lt;br /&gt;- not added&amp;nbsp;&lt;span&gt;CONFIG_BT_RPC_STACK&lt;/span&gt;&lt;br /&gt;- no check of &amp;quot;same configuration&amp;quot; between both project&lt;br /&gt;&lt;br /&gt;And it compiles and run !&lt;br /&gt;&lt;br /&gt;I&amp;#39;m sorry to have disturb you for that problem. Some times you have to read and follow recommendations and sometime not ;-)&lt;br /&gt;&lt;br /&gt;Kind regards&lt;br /&gt;Patrice&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340-DK BLE examples fail to initialize</title><link>https://devzone.nordicsemi.com/thread/426072?ContentTypeID=1</link><pubDate>Wed, 17 May 2023 13:19:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc48a370-90d1-4b74-9b0e-e8360d2c27a3</guid><dc:creator>Patrice Rudaz</dc:creator><description>&lt;p&gt;Hi Torbj&amp;oslash;rn,&lt;br /&gt;&lt;br /&gt;The doc of the &amp;quot;Host for nRF RPC Bluetooth Low Energy&amp;quot; says to enable &lt;code&gt;CONFIG_BT_RPC_STACK&lt;/code&gt; to build the example (Peripheral_UART, for me). It also says that the configurations of the application must be the same of those of the host_rpc one.&lt;br /&gt;&lt;br /&gt;So, I added the CONFIG_BT_* of the host_rpc project to the prj.conf of the UART example. I also added the&amp;nbsp;&lt;span&gt;CONFIG_BT_RPC_STACK=y in the&amp;nbsp;&lt;/span&gt;prj.conf, as it is said in the documentation. And the project won&amp;#39;t compile with this configuration. The output of the compiler is the following:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;/opt/nordic/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/entropy/libdrivers__entropy.a(entropy_bt_hci.c.obj): in function `entropy_bt_get_entropy&amp;#39;:&lt;/code&gt;&lt;br /&gt;&lt;code&gt;/opt/nordic/ncs/v2.3.0/zephyr/drivers/entropy/entropy_bt_hci.c:27: undefined reference to `bt_hci_le_rand&amp;#39;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;collect2: error: ld returned 1 exit status&lt;/code&gt;&lt;br /&gt;&lt;code&gt;ninja: build stopped: subcommand failed.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;FATAL ERROR: command exited with status 1: /opt/nordic/ncs/toolchains/v2.3.0/bin/cmake --build /opt/nordic/ncs/v2.3.0/nrf/samples/bluetooth/peripheral_uart/nrf5340_build&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My feeling is that the configuration of the two projects is not correct. I am attaching the two .conf files for your verification. (The configuration file for the host_rpc project is prj.conf and the one for UART example is &amp;nbsp;prj_ble_rpc.conf)&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7026.prj.conf"&gt;devzone.nordicsemi.com/.../7026.prj.conf&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/prj_5F00_ble_5F00_rpc.conf"&gt;devzone.nordicsemi.com/.../prj_5F00_ble_5F00_rpc.conf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Kind Regards&lt;br /&gt;Patrice&lt;/span&gt;&lt;/p&gt;
&lt;h1 id="mcetoc_1h0ktngkc0"&gt;&lt;/h1&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340-DK BLE examples fail to initialize</title><link>https://devzone.nordicsemi.com/thread/425898?ContentTypeID=1</link><pubDate>Tue, 16 May 2023 13:56:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cadbe3a-c67f-4b55-bcd6-1caef517c900</guid><dc:creator>Patrice Rudaz</dc:creator><description>&lt;p&gt;Hi Torbj&amp;oslash;rn,&lt;br /&gt;&lt;br /&gt;- I had to modify the prj.conf to let it compile for the nRF5340, as described in the documentation (&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/rpc_host/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/rpc_host/README.html&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;- I build the project for the nRF5340_nrf5340dk_cpuapp, the part for nrf5340_net core is done automatically&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/build_5F00_nRf5340.png" /&gt;&lt;/p&gt;
&lt;p&gt;- Here is the terminal log of VSCode:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Flashing build to 960157976&lt;/code&gt;&lt;br /&gt;&lt;code&gt;/bin/sh -c west flash -d /opt/nordic/ncs/v2.3.0/nrf/samples/bluetooth/peripheral_uart/build --skip-rebuild --dev-id 960157976&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;-- west flash: using runner nrfjprog&lt;/code&gt;&lt;br /&gt;&lt;code&gt;-- runners.nrfjprog: Flashing file: /opt/nordic/ncs/v2.3.0/nrf/samples/bluetooth/peripheral_uart/build/zephyr/merged_domains.hex&lt;/code&gt;&lt;br /&gt;&lt;code&gt;-- runners.nrfjprog: /opt/nordic/ncs/v2.3.0/nrf/samples/bluetooth/peripheral_uart/build/zephyr/merged_domains.hex targets both nRF53 coprocessors; splitting it into: /opt/nordic/ncs/v2.3.0/nrf/samples/bluetooth/peripheral_uart/build/zephyr/GENERATED_CP_NETWORK_merged_domains.hex and /opt/nordic/ncs/v2.3.0/nrf/samples/bluetooth/peripheral_uart/build/zephyr/GENERATED_CP_APPLICATION_merged_domains.hex&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[ #################### ] 12.526s | Erase file - Done erasing &lt;/code&gt;&lt;br /&gt;&lt;code&gt;[ #################### ] 1.460s | Program file - Done programming &lt;/code&gt;&lt;br /&gt;&lt;code&gt;[ #################### ] 1.484s | Verify file - Done verifying &lt;/code&gt;&lt;br /&gt;&lt;code&gt;[ #################### ] 6.858s | Erase file - Done erasing &lt;/code&gt;&lt;br /&gt;&lt;code&gt;[ #################### ] 1.672s | Program file - Done programming &lt;/code&gt;&lt;br /&gt;&lt;code&gt;[ #################### ] 1.692s | Verify file - Done verifying &lt;/code&gt;&lt;br /&gt;&lt;code&gt;Applying pin reset.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;-- runners.nrfjprog: Board with serial number 960157976 flashed successfully.&lt;/code&gt;&lt;br /&gt;&lt;code&gt; * Terminal will be reused by tasks, press any key to close it.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;- And the result of nrfjprog -v:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;patrice@rutMBProT peripheral_uart % nrfjprog -v&lt;/code&gt;&lt;br /&gt;&lt;code&gt;nrfjprog version: 10.21.0 external&lt;/code&gt;&lt;br /&gt;&lt;code&gt;JLinkARM.dll version: 7.80c&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards&lt;br /&gt;Patrice&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340-DK BLE examples fail to initialize</title><link>https://devzone.nordicsemi.com/thread/425773?ContentTypeID=1</link><pubDate>Tue, 16 May 2023 07:14:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39ddc8ce-d5f9-49d1-bdc3-a582edc0acde</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Patrice&lt;/p&gt;
[quote user="Patrice"]Sorry for the ticket... Do you want me to open a new ticket ?[/quote]
&lt;p&gt;No need, just a heads up for next time &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f609.svg" title="Wink"&gt;&amp;#x1f609;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;It seems somehow the network core is not properly programmed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You made no changes to the sample at all, simply built it for the nrf5340?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which board did you build for?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you able to show me the&amp;nbsp;terminal log you get when you flash the example from VSCode?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you run &lt;strong&gt;&lt;em&gt;nrfjprog -v&lt;/em&gt;&lt;/strong&gt; from the command line and let me know what you get?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340-DK BLE examples fail to initialize</title><link>https://devzone.nordicsemi.com/thread/425662?ContentTypeID=1</link><pubDate>Mon, 15 May 2023 13:55:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87754e3f-383e-4835-861b-1737f64af812</guid><dc:creator>Patrice Rudaz</dc:creator><description>&lt;p&gt;Hello Torbj&amp;oslash;rn,&lt;br /&gt;&lt;br /&gt;Sorry for the ticket... Do you want me to open a new ticket ?&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using a nRF5340-DK v2.0.0 with the latest nRF Connect SDK (v2.3.0) and I&amp;#39;m running the Peripheral UART example from &lt;code&gt;&amp;lt;ncs_path&amp;gt;/nrf/samples/bluetooth/peripheral_uart&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;... and no difference after a recover, still the same error:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[00:00:00.270,599] &amp;lt;inf&amp;gt; fs_nvs: 2 Sectors of 4096 bytes&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:00.270,629] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:00.270,629] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:01.270,935] &amp;lt;err&amp;gt; bt_hci_driver: Endpoint binding failed with -11&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:01.270,965] &amp;lt;err&amp;gt; bt_hci_core: HCI driver open failed (-11)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I investigate a bit more where the problem comes from... In my configuration, the line 311 of rpms.c returns error -11 !&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;err&lt;/span&gt;&lt;span&gt; = &lt;/span&gt;&lt;span&gt;k_sem_take&lt;/span&gt;&lt;span&gt;(&amp;amp;&lt;/span&gt;&lt;span&gt;ipc_bound_sem&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;IPC_BOUND_TIMEOUT_IN_MS&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/rpmsg_5F00_error.png" /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;Kind Regards&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Patrice&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340-DK BLE examples fail to initialize</title><link>https://devzone.nordicsemi.com/thread/425304?ContentTypeID=1</link><pubDate>Fri, 12 May 2023 11:34:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa88389d-72ba-4737-9284-6a4de965c885</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Patrice&lt;/p&gt;
&lt;p&gt;Next time please open a new ticket, and add a link to the old one, so we can keep the different cases separate.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What version of the nRF5340DK do you have?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which example are you trying to run?&lt;/p&gt;
&lt;p&gt;Could you try to do a recover of the board and flash it again to see if it makes a difference?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The quickest way to do a recover is to run &lt;strong&gt;&lt;em&gt;nrfjprog --recover&lt;/em&gt;&lt;/strong&gt; from the command line.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340-DK BLE examples fail to initialize</title><link>https://devzone.nordicsemi.com/thread/425154?ContentTypeID=1</link><pubDate>Thu, 11 May 2023 14:31:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e54b116b-e00e-47fb-8cef-dae592f8c659</guid><dc:creator>Patrice Rudaz</dc:creator><description>&lt;p&gt;Hi Torbj&amp;oslash;rn,&lt;br /&gt;&lt;br /&gt;I have the same issue !&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve just reinstall the latest nRF Connect SDK (v2.3.0) and still have the issue. I&amp;#39;ve set the HEAP, WORKQUEUE_STACK and RPC_THREAD_STACK sizes to 8192. The project builds successfully, but still the same error at runtime :&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;[00:00:01.457,550] &amp;lt;err&amp;gt; bt_hci_driver: Endpoint binding failed with -11&lt;br /&gt;[00:00:01.457,580] &amp;lt;err&amp;gt; bt_hci_core: HCI driver open failed (-11)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;So for me the trick of deleting the ncs folder does not work...&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve tried to track the issue and the error appears at line 3731 of hci_core.c:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;err&lt;/span&gt;&lt;span&gt; = &lt;/span&gt;&lt;span&gt;bt_dev&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;drv&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;open&lt;/span&gt;&lt;span&gt;();&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;where the open() method returns the value -11 (No more contexts ?)&lt;br /&gt;&lt;br /&gt;I also have checked that both core are flashed using nRF Connect Desktop. It seems to be OK (see image below)&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt="FLASH nRF5340" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nRF5340_5F00_flash.png" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;Have you any idea to solve this problem ?&lt;br /&gt;Kind Regards&lt;br /&gt;Patrice&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340-DK BLE examples fail to initialize</title><link>https://devzone.nordicsemi.com/thread/374894?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 11:56:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a73d5c66-e931-4fd0-b0d4-e380fea082a0</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Nick&lt;/p&gt;
&lt;p&gt;Thanks, I haven&amp;#39;t seen reports of this issue before. If it happens again please let us know ;)&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340-DK BLE examples fail to initialize</title><link>https://devzone.nordicsemi.com/thread/374800?ContentTypeID=1</link><pubDate>Wed, 29 Jun 2022 19:54:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d744830-896c-4a06-a997-d7151f5e2abb</guid><dc:creator>nick_haman</dc:creator><description>&lt;p&gt;Deleting the ncs folder and reinstalling solved this issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340-DK BLE examples fail to initialize</title><link>https://devzone.nordicsemi.com/thread/374799?ContentTypeID=1</link><pubDate>Wed, 29 Jun 2022 19:05:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3324c91-020b-4dc9-a9e0-76ba7d387ec1</guid><dc:creator>nick_haman</dc:creator><description>&lt;p&gt;I have traced the error to a memory allocation in virtqueue.h:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static inline struct virtqueue *virtqueue_allocate(unsigned int num_desc_extra)
{
	struct virtqueue *vqs;
	uint32_t vq_size = sizeof(struct virtqueue) +
		 num_desc_extra * sizeof(struct vq_desc_extra);

	vqs = (struct virtqueue *)metal_allocate_memory(vq_size);
	if (vqs) {
		memset(vqs, 0x00, vq_size);
	}

	return vqs;
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It is attemping to k_malloc a size of 2100 bytes.&amp;nbsp; The heap size has been set in prj.conf as 2048 bytes by default.&lt;/p&gt;
&lt;p&gt;Unfortunately, increasing the heap size to 4096 doesn&amp;#39;t work, because there are two allocations of 2100 bytes.&lt;/p&gt;
&lt;p&gt;Increasing the heap further to 8000 causes the system to crash to disassembly sometime after.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This now looks like some sort of configuration error.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>