<?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>DFU-OTA project main file  to assembly language file transition.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85937/dfu-ota-project-main-file-to-assembly-language-file-transition</link><description>Hi, 
 I am working on the sample DFU OTA project as recommended below, 
 https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu?CommentId=3cb5df69-fd8f-4160-9171-74b6e8246c1a 
 I am getting the prints as below upon dfu on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Mar 2022 08:59:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85937/dfu-ota-project-main-file-to-assembly-language-file-transition" /><item><title>RE: DFU-OTA project main file  to assembly language file transition.</title><link>https://devzone.nordicsemi.com/thread/359038?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 08:59:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfda0f0b-81ec-4fee-bd9d-3385bc4f0435</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Vinay,&amp;nbsp;&lt;br /&gt;I would suggest to have a look at the videos from David Brown (main contributor to&amp;nbsp;MCUBoot) here:&amp;nbsp;&lt;a href="https://www.youtube.com/watch?v=qMMD0WcKShc&amp;amp;ab_channel=DavidBrown"&gt;https://www.youtube.com/watch?v=qMMD0WcKShc&amp;amp;ab_channel=DavidBrown&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And have a look at the documentation &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/mcuboot/design.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;- The image is downloaded to secondary slot. The actual location of the secondary slot can be found in partitions.yml in build folder if partition manager is used.&lt;/p&gt;
&lt;p&gt;- I believe the reset is handled inside zephyr_os_mgmt.c . Please have a look at the documentation of MCUMgr &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/device_mgmt/mcumgr.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;- I&amp;#39;m not sure I fully understand what you meant by &amp;quot;key and image extraction&amp;quot; but if&amp;nbsp; you are looking for where the signature is verified it should be at step 2 in MCUBoot &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/mcuboot/design.html#high-level-operation"&gt;here.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU-OTA project main file  to assembly language file transition.</title><link>https://devzone.nordicsemi.com/thread/358999?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 06:22:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bd84e38-afe7-4105-9ae7-52d1e5545f15</guid><dc:creator>Shikamaru</dc:creator><description>&lt;p&gt;Thanks @Hung Bui.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; some query related to the same example.&lt;/p&gt;
&lt;p&gt;1.While sending image from Bluetooth(mobile app) , &amp;quot;&lt;strong&gt;where it is downloading the image nd where it is storing the image&amp;quot;&lt;/strong&gt; ?&lt;/p&gt;
&lt;p&gt;2. Once controller received the complete image , &amp;quot;&lt;strong&gt;DFU soft reset will run. from where it is getting reset&amp;quot;&lt;/strong&gt;?&lt;/p&gt;
&lt;p&gt;3. from where&lt;strong&gt;&amp;nbsp;&amp;quot;the key and image extraction is running&amp;quot;&lt;/strong&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU-OTA project main file  to assembly language file transition.</title><link>https://devzone.nordicsemi.com/thread/358910?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2022 15:04:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc140166-5360-4ac2-99b1-441ad37a3975</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Vinay,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;No I don&amp;#39;t think it&amp;#39;s printed by the zephyr.lst file. The file is the Assembly auto generation from the application code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What you need to look for where it prints out &amp;quot;Primary image:&amp;quot; is in&amp;nbsp;swap_status_source() function in swap_move.c in bootloader\mcuboot\boot\bootutil\src&lt;/p&gt;
&lt;p&gt;Another location where it may print &amp;quot;Primary image&amp;quot; is in swap_scratch.c but it depends on the activity you are doing with MCUBOOT.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>