<?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>NRF52840 Secure DFU Over UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112139/nrf52840-secure-dfu-over-uart</link><description>Hi All, 
 I want to do dfu over uart with secure bootloader, am using nrf52840-DK, nRF5_SDK_17.1.0_ddde560 SDK and segger embedded studio V8.10. 
 compiled and flashed secure_bootloader_uart_mbr_pca10056_debug project which is working fine find log below</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Jun 2024 02:22:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112139/nrf52840-secure-dfu-over-uart" /><item><title>RE: NRF52840 Secure DFU Over UART</title><link>https://devzone.nordicsemi.com/thread/490736?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 02:22:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08bdb6eb-9a05-4706-b288-028cdb44abec</guid><dc:creator>Dillibabu</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;it was stuck at below line&amp;nbsp;&lt;br /&gt;&lt;br /&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/pastedimage1719368429574v1.png" alt=" " /&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;After remove &lt;strong&gt;NRF_LOG_FLUSH()&lt;/strong&gt; function calling it is switching to application properly.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Secure DFU Over UART</title><link>https://devzone.nordicsemi.com/thread/490578?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 10:30:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:903ebed8-d4b5-4107-aac8-1c838d6dedd5</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Are you able to debug, and see&amp;nbsp;what the code the CPU is&amp;nbsp;executing? Is it stuck in some loop somewhere, etc ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Secure DFU Over UART</title><link>https://devzone.nordicsemi.com/thread/490405?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 16:08:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ae00099-4c36-4291-b5af-abf0ca058895</guid><dc:creator>Dillibabu</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;After DFU&amp;nbsp;update it is not enter into the &amp;quot;nrf_bootloader_init()&amp;quot; function.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Secure DFU Over UART</title><link>https://devzone.nordicsemi.com/thread/490178?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 08:52:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c95b59b7-858c-4e3e-8e6e-565c74463988</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think some more debugging is needed here. Looks like it goes back to DFU mode after the update.&lt;/p&gt;
&lt;p&gt;Could you check if&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;dfu_enter_check() is returning true?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Secure DFU Over UART</title><link>https://devzone.nordicsemi.com/thread/489804?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2024 15:21:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b98acc4c-88c1-4438-b1d9-98fab7740059</guid><dc:creator>Dillibabu</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Sigurd,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for your reply,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;as per your reply I have used SES 5.42a but still getting same error, Here attached logfile,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3386.Nrf_5F00_Log.txt"&gt;devzone.nordicsemi.com/.../3386.Nrf_5F00_Log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I took LED blink project as application and configured placement macros like below,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;FLASH_PH_START=0x0&lt;/p&gt;
&lt;p&gt;FLASH_PH_SIZE=0x100000&lt;/p&gt;
&lt;p&gt;RAM_PH_START=0x20000000&lt;/p&gt;
&lt;p&gt;RAM_PH_SIZE=0x40000&lt;/p&gt;
&lt;p&gt;FLASH_START=0x1000&lt;/p&gt;
&lt;p&gt;FLASH_SIZE=0x10000&lt;/p&gt;
&lt;p&gt;RAM_START=0x20000008&lt;/p&gt;
&lt;p&gt;RAM_SIZE=0x40000&lt;/p&gt;
&lt;p&gt;After flash application over UART I am getting log message up to &amp;quot;Inside main&amp;quot; it is not entering into the &amp;quot;nrf_bootloader_init&amp;quot; function,&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/pastedimage1719151702305v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Used below command to create the ZIP file,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --hw-version 52 --sd-req 0x00 --application blinky_pca10056.hex --application-version 1 --key-file private.pem dfu_uart_package.zip&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Used below command to flash the application,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;dfu serial -pkg dfu_uart_package.zip -p COM5 -b 115200 -fc 0&lt;/p&gt;
&lt;p&gt;above command was taking 20-30 sec to start the flashing&lt;/p&gt;
&lt;p&gt;kindly correct me if I made any mistake and help to fix this issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Secure DFU Over UART</title><link>https://devzone.nordicsemi.com/thread/489101?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 12:31:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dcdc43b-ac5b-44e4-b7f4-a3afa18693db</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Please use&amp;nbsp;SES 5.42a&lt;/p&gt;
&lt;p&gt;This is the version used for testing and verification of the SDK v17.1.0&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/index.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/index.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>