<?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>Unable to continue image upload via SMP if device disconnects/restarts</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114064/unable-to-continue-image-upload-via-smp-if-device-disconnects-restarts</link><description>Hello, we&amp;#39;ve successfuly been using SMP to update our peripherals so far. Now we&amp;#39;ve come upon an issue. If the software has a bug, and the device disconnects or reboots during the upload, the device is unable to continue the upload at the point it last</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Aug 2024 13:12:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114064/unable-to-continue-image-upload-via-smp-if-device-disconnects-restarts" /><item><title>RE: Unable to continue image upload via SMP if device disconnects/restarts</title><link>https://devzone.nordicsemi.com/thread/499070?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2024 13:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8abe0378-c099-432e-a1c8-fc6d036a00ff</guid><dc:creator>tkirschner</dc:creator><description>&lt;p&gt;Thank you for the quick answer.&lt;br /&gt;&lt;br /&gt;I got the Info that I have to use the sha256 from the TLV from the source that you&amp;#39;ve linked. &lt;br /&gt;The picture that you&amp;#39;ve linked is from the nrf connect documentation.&lt;br /&gt;&lt;br /&gt;Though like you&amp;#39;ve said, it doesn&amp;#39;t matter as there is no way to continue the upload.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to continue image upload via SMP if device disconnects/restarts</title><link>https://devzone.nordicsemi.com/thread/499065?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2024 13:00:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7801f0fa-4582-4f7d-b8d5-71d31f160bd3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span dir="ltr"&gt;It cannot be corrected, so you need to upload the file again. A&lt;span dir="ltr"&gt;lso, that is wrong, the sha you sent with the first packet is the sha256 of the file, not from the TLV.&amp;nbsp;not that it really matters what you said, it&amp;#39;s just used to continue uploading if you continue uploading the same file again. See&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/services/device_mgmt/smp_groups/smp_group_1.html"&gt;https://docs.zephyrproject.org/latest/services/device_mgmt/smp_groups/smp_group_1.html&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;span dir="ltr"&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/2275.Capture.PNG" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>