<?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>Bluetooth: Direct Test Mode on NFR5340DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117988/bluetooth-direct-test-mode-on-nfr5340dk</link><description>Hello, 
 after some trial and error, I managed to use the &amp;quot;Bluetooth: Direct Test Mode&amp;quot; example with NCS 2.7.0 (Sysbuild) and USB. 
 
 Now I&amp;#39;m questioning myself how to correctly add the source code of the remote_shell (running on the app core) to my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Jan 2025 14:05:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117988/bluetooth-direct-test-mode-on-nfr5340dk" /><item><title>RE: Bluetooth: Direct Test Mode on NFR5340DK</title><link>https://devzone.nordicsemi.com/thread/518661?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2025 14:05:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d9938fe-ac01-4f4d-9a52-80026abcdc12</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Christian,&lt;/p&gt;
&lt;p&gt;The illustration you point to shows that there can be an SMP server in the bootloader or application, but note that it can also be in both, dependign on he needs. If you want DFU over BLE or another transport that is not supported in MCUboot itself&amp;nbsp; (or just want to perform the transprot in the background while the application is active), you need the SMP server in the application. If you want serial recovery (DFU over a serial interface with the transport in MCUboot) in addition or intstead, you need an SMP server in MCUboot.&lt;/p&gt;
&lt;p&gt;The main point is that these approaches are not mutually exclusive. You can use one or the other, or both. What you do depend on your reqiuerments.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Direct Test Mode on NFR5340DK</title><link>https://devzone.nordicsemi.com/thread/518631?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2025 12:38:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dab6556f-24ab-4c3e-9b22-04c276119075</guid><dc:creator>Rantanplan</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;sorry, this graphic confused me a bit.&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/pastedimage1737030443927v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;As I understood, there is only 1 MCUBoot instance which can get data via a serial interface (serial recovery).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But there can additionally be a SMP server in the App&amp;nbsp;can receive data via e.g. Bluetooth and put it somewhere in Flash (secondary slot). At the next boot, MCUboot will recognize the new firmware in this slot, swap it to the primary slot and run it.&lt;/p&gt;
&lt;p&gt;Many thanks for the clarification.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Direct Test Mode on NFR5340DK</title><link>https://devzone.nordicsemi.com/thread/518229?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2025 07:51:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a61ee76-56ad-42aa-89b9-5e2f884cdbdb</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Christian,&lt;/p&gt;
&lt;p&gt;It is possible to use DFU over BLE in the application and also have serial recovery in MCUboot. There will only be a single MCUBoot instance in this case as well, and the DFU transport is handled by the application when usin gBLE&amp;nbsp; t(ere is no BLE transport for MCUboot). There is no conflict between these two approches. For DFU over BLE, the main thing is to add an SMP server and SMP bleutooth service. This is for isntance demondrated by the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html#smp-svr"&gt;SMP server sample&lt;/a&gt;&amp;nbsp;with &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/fdfeca4ce8d7af79639256cfd5ee9ebdcf8c8be8/samples/subsys/mgmt/mcumgr/smp_svr/overlay-bt.conf"&gt;overlay-bt.conf&lt;/a&gt;. If you also add the requiered configs for serial recovery (as shown in the samples in my&amp;nbsp;previous post), you will have support for both. Serial (USB or UART) is a special case, and is the only transport that is supported within MCUboot.&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Direct Test Mode on NFR5340DK</title><link>https://devzone.nordicsemi.com/thread/518178?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2025 14:24:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:605c3c2d-4336-437f-8a3a-80b5a6569c70</guid><dc:creator>Rantanplan</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;true, it will be a separate firmware for lab testing. Since they want to test intermodulation effects with another transmitter, we have to add some functionality to the app core to control this transmit IC via SPI.&lt;/p&gt;
&lt;p&gt;And you are right, if the test lab requests some change, it might be easier to tell them how to update via SWD.&lt;/p&gt;
&lt;p&gt;Just for my curiosity: Is there a way to use MCUboot in the bootloader (for serial recovery) and a second MCUboot in the application (for OTA updates using Bluetooth)? Just to have a fallback if the MCUboot in the application does not work. How could this be configured?&lt;/p&gt;
&lt;p&gt;Many thanks and kind regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Direct Test Mode on NFR5340DK</title><link>https://devzone.nordicsemi.com/thread/518160?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2025 13:18:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7a53e9e-34d2-4c65-b87c-ca3c90fbe785</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Christian,&lt;/p&gt;
&lt;p&gt;DTM is not intended to be included in the production firmware. So the solution to the questions should be to keep DTM separate. To use DTM, build and program the DTM example (with minimal changes needed to adapt to your hardware). There is typically no reason to include DTM in the production firmware (and not easily doen as the SoftDevice Controller does not support DTM).&lt;/p&gt;
[quote user="Rantanplan"]Anyway, I still asking myself if there is a simple way to add a boot loader to this project.[/quote]
&lt;p&gt;As DTM is used for Bleutooth qualification testing in a lab setting you typically only need SWD for that, and not DFU. (That said, if you for some reason want DFU, serial recovery in MCUboot could be an option, and in that case it would be independet of the application. A colleague of me has made some unofficial samples &lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/serial_recovery"&gt;here&lt;/a&gt; that demonstrate serial recovery).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Direct Test Mode on NFR5340DK</title><link>https://devzone.nordicsemi.com/thread/518066?ContentTypeID=1</link><pubDate>Sun, 12 Jan 2025 18:48:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6cc51a9-6620-4ade-bcda-148a2fa641e1</guid><dc:creator>Rantanplan</dc:creator><description>&lt;p&gt;Hello again,&lt;br /&gt;I&amp;#39;m sorry for the stupid question above. I found my mistake and now able to&amp;nbsp;use the source code of the remote shell.&lt;/p&gt;
&lt;p&gt;Anyway, I still asking myself if there is a simple way to add a boot loader to this project.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7585.direct_5F00_test_5F00_mode.zip"&gt;devzone.nordicsemi.com/.../7585.direct_5F00_test_5F00_mode.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Many thanks for your answers in advance.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>