<?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>Firmware Updates over UART w/Custom board using NRF52820, No Buttons, no LEDs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111182/firmware-updates-over-uart-w-custom-board-using-nrf52820-no-buttons-no-leds</link><description>Current goal is to be able to program, and upgrade with the radio off, and the only connection as a UART. 
 But I&amp;#39;m both overwhelmed by the number of options (DFU, SMP, and/or MCUMGR) , and unable to find a reliable starting point. I think my question</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 May 2024 14:00:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111182/firmware-updates-over-uart-w-custom-board-using-nrf52820-no-buttons-no-leds" /><item><title>RE: Firmware Updates over UART w/Custom board using NRF52820, No Buttons, no LEDs</title><link>https://devzone.nordicsemi.com/thread/483536?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 14:00:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e945471a-1060-4ef5-8c87-e749a4dbbdd5</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;I see, that means that &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52820/dif.html?cp=5_3_0_3_7#concept_udr_mns_1s"&gt;Access Port Protection&lt;/a&gt;&amp;nbsp;was originally being enabled and was then disabled.&lt;/p&gt;
&lt;p&gt;No worries about that then.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware Updates over UART w/Custom board using NRF52820, No Buttons, no LEDs</title><link>https://devzone.nordicsemi.com/thread/483533?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 13:54:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7409e2e7-94ca-4a26-9cfc-5fc36ce93b71</guid><dc:creator>JeffCat</dc:creator><description>&lt;p&gt;Thank you Hieu, I will look over those 3 resources&lt;/p&gt;
&lt;p&gt;&amp;quot;unsecured&amp;quot;&amp;nbsp; - The programmer in NRF Connect indicated the microcontroller was secured (reading flash over the programming interface is denied). Unsecure is a process to erase the entire flash area, which would include erasing MCUBoot, or any other images. Though it appears MCUBoot is included in the smp_svr sample&amp;#39;s &lt;span style="font-family:courier new, courier;"&gt;merged.hex&lt;/span&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware Updates over UART w/Custom board using NRF52820, No Buttons, no LEDs</title><link>https://devzone.nordicsemi.com/thread/483516?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 13:21:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a956a8df-f26f-4e3c-a533-05dbef277385</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi JeffCat,&lt;/p&gt;
[quote user=""]I&amp;#39;ve tried starting the SDK17 secure_uart bootloader sample, with a custom board, and modified makefile (micro &amp;amp; no FPU), modified the linker according to &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/86308/case-about-nrf52820-uart-dfu"&gt;case about nRF52820 uart dfu&lt;/a&gt;.&amp;nbsp; And was unable to start communication. Is another image such as MCUBoot supposed to be at offset 0? Wheres the image?[/quote]
&lt;p&gt;First of all, I would like to address this point. Unless you have a strong reason to do so, you shouldn&amp;#39;t mix SDK. Since you are using the nRF Connect SDK, you shouldn&amp;#39;t try to make the nRF5 SDK Secure Bootloader to work.&lt;/p&gt;
&lt;p&gt;It is possible, and I can answer your questions about it, but I recommend against this.&lt;/p&gt;
[quote user=""]But I&amp;#39;m both overwhelmed by the number of options (DFU, SMP, and/or MCUMGR) , and unable to find a reliable starting point. I think my question boils down to:&lt;br /&gt;What are the minimal requirements to allow an initial, and future firmware upgrades over UART?[/quote]
&lt;p&gt;I understand being overwhelmed by the number of configurations. To keep things more manageable, please just keep the configurations at their default value.&amp;nbsp;The solution is meant to work well with that.&lt;/p&gt;
&lt;p&gt;To&amp;nbsp;help ease you into the topic, may I suggest taking a look at&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/support-private/support/322352"&gt;Lesson 8 of our free online course on the nRF Connect SDK&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;My colleague Sigurd also has two unofficial samples&amp;nbsp;that&amp;nbsp;demonstrate DFU over UART:&lt;br /&gt;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/smp/mcuboot_smp_uart"&gt;mcuboot_smp_uart at main · hellesvik-nordic/samples_for_nrf_connect_sdk (github.com)&lt;/a&gt;&lt;br /&gt;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/serial_recovery"&gt;serial_recovery at main · hellesvik-nordic/samples_for_nrf_connect_sdk (github.com)&lt;/a&gt;&lt;/p&gt;
[quote user=""]I&amp;#39;ve unsecured the NRF52820 due to a poor programmer connection... Do I have to re-install any additional images?[/quote]
&lt;p&gt;Could you please explain the problem in further details? I am afraid I don&amp;#39;t understand what &amp;quot;unsecured&amp;quot; means here.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>