<?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>nRF52810 OTA DFU v17</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70224/nrf52810-ota-dfu-v17</link><description>I am trying to get an OTA DFU for nRF52810. I am not trying to get anything custom right now but only trying to prove that it works. I have tried going about this many different ways. 
 
 I built the project in IAR on SDK 17.0.2 and that project can&amp;#39;t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Jan 2021 16:56:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70224/nrf52810-ota-dfu-v17" /><item><title>RE: nRF52810 OTA DFU v17</title><link>https://devzone.nordicsemi.com/thread/288232?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 16:56:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:373eda2c-a71d-4367-ae71-57f8e300fe11</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Glad to hear that it worked. Thank you for the update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52810 OTA DFU v17</title><link>https://devzone.nordicsemi.com/thread/288231?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 16:54:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e7f8c12-2125-4c72-a6ec-e4214ffcb144</guid><dc:creator>drewfowler17</dc:creator><description>&lt;p&gt;Vidar,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you so much. The new pre-compiled bootloader worked first time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And that is all I needed. Thank you for doing the work to help.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52810 OTA DFU v17</title><link>https://devzone.nordicsemi.com/thread/288227?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 16:25:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cd5b1fc-f613-448d-9652-232c69cc6999</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;1. The uECC library located in&amp;nbsp;\external\micro-ecc must be downloaded and compiled from source as Hung explains in this &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;blog post&lt;/a&gt;. I have, however, included this library pre-compiled in the attachment below, so you may skip this step.&lt;/p&gt;
&lt;p&gt;You will also need to select the uECC library built for GCC to get the correct wchar_t size for IAR 8. Excerpt from SDK the release notes:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Note for IAR 8 users:&lt;br /&gt;(Libraries for IAR 8 require wchar_t to be of size 32 bits while IAR 7 requires 16 bits).&lt;br /&gt;&amp;nbsp; &lt;br /&gt;To run a project using IAR 8, follow these intructions:&lt;br /&gt;&amp;nbsp;1. Open the IAR project in IAR 8. The IAR workbench will automatically generate an IAR 8 compatible project file.&lt;br /&gt;&amp;nbsp;2. If the project contains one of the precompiled libraries listed below, replace it&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; with the IAR 8 compatible alternative (there are no projects targeting nRF51 in this SDK).&lt;br /&gt;&amp;nbsp;3. Save the project.&lt;br /&gt;&amp;nbsp;4. When building the project, you might get the warning: &amp;quot;The header file &amp;#39;cmsis_iar.h&amp;#39; is obsolete and should not be used. [...]&amp;quot;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - The problem is described in DevZone post: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/31123/iar-ewarm-8-22-1-complains-about-cmsis_iar-h"&gt;devzone.nordicsemi.com/.../iar-ewarm-8-22-1-complains-about-cmsis_iar-h&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The solution is to remove all occurrences of #include &amp;lt;cmsis_iar.h&amp;gt;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;The affected libraries are:&lt;br /&gt;&amp;nbsp;- micro-ecc crypto:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - IAR7: Includes library located in the folder named &amp;ldquo;&amp;hellip;_iar\&amp;hellip;&amp;rdquo;.&lt;br /&gt;&amp;nbsp;&lt;span style="color:#ff0000;"&gt;&amp;nbsp;&amp;nbsp; - IAR8: Switch to using the library from the folder named &amp;ldquo;&amp;hellip;_armgcc\&amp;hellip;&amp;rdquo;.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;- nrf_cc310, nrf_cc310_bl, and nrf_oberon:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - IAR7: Link to a library where &amp;ldquo;short_wchar&amp;rdquo; is part of the folder name.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - IAR8: Link to a library without &amp;ldquo;short_wchar&amp;rdquo; in the folder name.&lt;br /&gt;&amp;nbsp;- Gazell, NFC Tag, and 802.15.4:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - IAR7: Includes the library where the file name ends with &amp;ldquo;_iar&amp;rdquo;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - IAR8: Switch to using the library with similar file name that ends with &amp;ldquo;_gcc&amp;rdquo;.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p&gt;2. The case you linked to is quite old, so&amp;nbsp; I made a new pre-compiled bootloader and dfu_package you can test with instead, please see attached.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF5_5F00_SDK_5F00_17.0.2_5F00_d674dde_5F00_mod.zip"&gt;devzone.nordicsemi.com/.../nRF5_5F00_SDK_5F00_17.0.2_5F00_d674dde_5F00_mod.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The pre-compiled bootloader is placed in the following path : nRF5_SDK_17.0.2_d674dde_mod\examples\dfu\secure_bootloader_w_softdevice.hex and the DFU test zip is placed in nRF5_SDK_17.0.2_d674dde_mod\examples\dfu\secure_dfu_test_images\app_dfu_pkg.zip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>