<?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>MCUboot (SMP server) upload image from one nRF52840 to another nRF52840 via UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102187/mcuboot-smp-server-upload-image-from-one-nrf52840-to-another-nrf52840-via-uart</link><description>MCUboot SMP server is running on one nrf52 and using another nRF52 to send image via UART 
 I am trying to update firmware from one nordic board to an other nordic board. Is it possible to do it without using mcumgr command? Can we send a custom commands</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Sep 2023 09:15:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102187/mcuboot-smp-server-upload-image-from-one-nrf52840-to-another-nrf52840-via-uart" /><item><title>RE: MCUboot (SMP server) upload image from one nRF52840 to another nRF52840 via UART</title><link>https://devzone.nordicsemi.com/thread/444263?ContentTypeID=1</link><pubDate>Mon, 04 Sep 2023 09:15:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:005a3f74-f758-4a5e-ade3-b571b87063e8</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You could have a look at this unofficial sample -&amp;nbsp;&lt;a href="https://github.com/simon-iversen/ncs_samples/tree/master/central_smp_client_dfu"&gt;central SMP client DFU&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot (SMP server) upload image from one nRF52840 to another nRF52840 via UART</title><link>https://devzone.nordicsemi.com/thread/442182?ContentTypeID=1</link><pubDate>Sun, 20 Aug 2023 15:02:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f5711b1-933b-49c4-ad1b-3b67086b22f4</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I will be out of the office for the next 2 weeks. In case your issue needs urgent attention, please open a new ticket.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot (SMP server) upload image from one nRF52840 to another nRF52840 via UART</title><link>https://devzone.nordicsemi.com/thread/442179?ContentTypeID=1</link><pubDate>Sun, 20 Aug 2023 14:33:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4d47304-7135-402c-a74a-e2aa0b013ec6</guid><dc:creator>lorao</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/dejans"&gt;dejans&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am trying to implement a logic on nRF52840, to send image file over UART in bootloader mode.&lt;br /&gt;Please can you suggest what needs to be taken care for this.&lt;/p&gt;
&lt;p&gt;Note: I don&amp;#39;t want to use dependencies like mcumgr.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot (SMP server) upload image from one nRF52840 to another nRF52840 via UART</title><link>https://devzone.nordicsemi.com/thread/439441?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2023 08:53:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3984c8b-ebde-45c0-b7c7-9a2d15de2d21</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You could try with this mcuboot.conf:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SIZE_OPTIMIZATIONS=y
CONFIG_SINGLE_APPLICATION_SLOT=y

# Enable MCUboot Serial Recovery
CONFIG_MCUBOOT_SERIAL=y
CONFIG_UART_CONSOLE=n

CONFIG_MCUBOOT_INDICATION_LED=y




&lt;/pre&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot (SMP server) upload image from one nRF52840 to another nRF52840 via UART</title><link>https://devzone.nordicsemi.com/thread/439258?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2023 12:19:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f899d20-910d-47fa-a3bb-a5fd66efa1c8</guid><dc:creator>lorao</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/dejans"&gt;dejans&lt;/a&gt;&amp;nbsp;Yes that&amp;#39;s correct MCUboot serial recovery works and only LED does not work.&lt;br /&gt;Also I tried to add a UART handler in&amp;nbsp;&lt;strong&gt;ncs\v2.4.0\bootloader\mcuboot\boot\zephyr\main.c&amp;#39;, but also this did not work.&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;So any other configuration that I need to take care in order to reflect this changes in the application?&lt;br /&gt;Thank you&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot (SMP server) upload image from one nRF52840 to another nRF52840 via UART</title><link>https://devzone.nordicsemi.com/thread/439253?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2023 12:12:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54919ad9-2585-4f7c-9722-c3c0582399ce</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Is it that MCUboot serial recovery works as expected for you but LED indication does not work?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot (SMP server) upload image from one nRF52840 to another nRF52840 via UART</title><link>https://devzone.nordicsemi.com/thread/439182?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2023 08:11:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcd87c33-4b4f-44b9-87ee-d3c8e2e16625</guid><dc:creator>lorao</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/dejans"&gt;dejans&lt;/a&gt;&amp;nbsp;I am using &lt;strong&gt;CONFIG_MCUBOOT_SERIAL&lt;/strong&gt; from&amp;nbsp; &lt;strong&gt;&amp;#39;ncs\v2.4.0\bootloader\mcuboot\boot\zephyr\main.c&amp;#39; in&amp;nbsp;&lt;/strong&gt;the application running on nRF52840dk.&lt;/p&gt;
&lt;p&gt;And the&amp;nbsp;&lt;strong&gt;CONFIG_MCUBOOT_SERIAL&lt;/strong&gt;&lt;span&gt;&amp;nbsp;is configured to use LED (as shown below)&lt;/span&gt;&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/pastedimage1690877250199v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Also included in mcuboot.conf file (see below)&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/pastedimage1690877373907v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But the LED doesn&amp;#39;t go ON when this application is executed.&lt;br /&gt;Please can you comment here, if something else needs to be taken care?&lt;br /&gt;&lt;br /&gt;Thankyou&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot (SMP server) upload image from one nRF52840 to another nRF52840 via UART</title><link>https://devzone.nordicsemi.com/thread/438126?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 17:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6ab8d8f-bc7a-4536-9a3f-79fae185e573</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;With regard to updating firmware, there is an option for&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu"&gt;DFU over Bluetooth&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It is possible to send custom commands to SMP server.&amp;nbsp; You would have to make your own command inside user-defined space for commands - please have a look at&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/mgmt/fmfu/src/fmfu_mgmt.c"&gt;fmfu_mgmt.c&lt;/a&gt;&amp;nbsp;and inside your command you would need to write to the secondary slot. In general, you would need to implement quite a lot, but maybe you could use something like&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/dfu/dfu_target/src/dfu_target.c"&gt;dfu_target.c&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/subsys/storage/stream/stream_flash.c"&gt;stream_flash.c&lt;/a&gt;. In general, you would need to have accepting, potentially checking, and writing the data.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>