<?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 BT controller + host on NET, demo on APP with RPC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93174/nrf5340-bt-controller-host-on-net-demo-on-app-with-rpc</link><description>Hello! 
 Our plan is to have the whole Bluetooth stack (softdevice controller, HCI, host) on the NET core and make APP core call the functions by RPC. The board is an nRF5340DK. 
 This URL describes how to compile the whole stuff to NET core: https:/</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Nov 2022 13:05:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93174/nrf5340-bt-controller-host-on-net-demo-on-app-with-rpc" /><item><title>RE: nRF5340 BT controller + host on NET, demo on APP with RPC</title><link>https://devzone.nordicsemi.com/thread/394152?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2022 13:05:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72a63077-e62b-4c6b-a811-17df1236d6ae</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;For the network-core, you can build the rpc_host sample, without building the client. But for the application core, you need to set&amp;nbsp;CONFIG_BT_RPC_STACK, and it will &lt;span&gt;automatically build rpc_host as a child image.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.2/nrf/libraries/bluetooth_services/rpc.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.2/nrf/libraries/bluetooth_services/rpc.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.2/nrf/samples/bluetooth/rpc_host/README.html#ble-rpc-host"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.2/nrf/samples/bluetooth/rpc_host/README.html#ble-rpc-host&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 BT controller + host on NET, demo on APP with RPC</title><link>https://devzone.nordicsemi.com/thread/392165?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 12:48:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d084192e-5564-4523-83ae-d0aa1915e9e4</guid><dc:creator>Tamas Selmeci</dc:creator><description>&lt;p&gt;What you have done is reprogramming both the APP and NET cores with one command. west flash also falls back to nrfjprog.&lt;/p&gt;
&lt;p&gt;Please&amp;nbsp;tell me whether it&amp;#39;s possible to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;compile full BT stack + host to NET core only (no multi image!) with RPC enabled;
&lt;ul&gt;
&lt;li&gt;burn to NET core only;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;compile RPC client and beacon example to APP core only (no multi image!);
&lt;ul&gt;
&lt;li&gt;burn to APP core only;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Later we want to substitute the &amp;quot;beacon example&amp;quot; with out custom RPC solution, therefore we need a &amp;quot;persistent&amp;quot; full BT stack on the NET core accessible by RPC on the APP core.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 BT controller + host on NET, demo on APP with RPC</title><link>https://devzone.nordicsemi.com/thread/392152?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 12:19:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2ab78c3-85dd-4116-9169-af23d2b89e8d</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;p&gt;I can&amp;#39;t get it why it wants to write to NET core instead of the APP core.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Works fine here when I use &lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/"&gt;nRF Connect for VS Code&lt;/a&gt;, using the flash action:&lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/connect/ui.html#actions-view"&gt;https://nrfconnect.github.io/vscode-nrf-connect/connect/ui.html#actions-view&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;in the log I have:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;: C:\ncs\v2.1.0\zephyr\samples\bluetooth\beacon\rpc_build\zephyr\GENERATED_CP_NETWORK_merged_domains.hex and C:\ncs\v2.1.0\zephyr\samples\bluetooth\beacon\rpc_build\zephyr\GENERATED_CP_APPLICATION_merged_domains.hex
[ #################### ]   0.413s | Erase file - Done erasing                                                          
[ #################### ]   1.179s | Program file - Done programming                                                    
[ #################### ]   1.210s | Verify file - Done verifying                                                       
[ #################### ]   0.428s | Erase file - Done erasing                                                          
[ #################### ]   0.422s | Program file - Done programming                                                    
[ #################### ]   0.410s | Verify file - Done verifying                                                       
Applying pin reset.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you are using nrfjprog directly, try flashing&amp;nbsp;GENERATED_CP_APPLICATION_merged_domains.hex to the app-core, and the&amp;nbsp;GENERATED_CP_NETWORK_merged_domains.hex to the network-core&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>