<?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>nRF52820 USB CDC ACM example. Linker issue?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78995/nrf52820-usb-cdc-acm-example-linker-issue</link><description>Hey! 
 
 I&amp;#39;m trying to adapt a modified version of the open bootloader example for the nRF52820 MCU and have one issue as well as some questions. 
 I have adapted the build configuration as described here: https://devzone.nordicsemi.com/nordic/nordic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Aug 2021 12:12:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78995/nrf52820-usb-cdc-acm-example-linker-issue" /><item><title>RE: nRF52820 USB CDC ACM example. Linker issue?</title><link>https://devzone.nordicsemi.com/thread/326989?ContentTypeID=1</link><pubDate>Fri, 27 Aug 2021 12:12:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e6e14a9-9310-429d-9009-12eef75a4474</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Andreas3T"]&lt;p&gt;That seems to be the same documentation I have linked in my original post except the web address for some reason. This guide does not cover my questions. What I really want to know is:&lt;/p&gt;
&lt;p&gt;1. The memory addresses for:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &amp;nbsp;uicr_bootloader_start_address &lt;br /&gt;&amp;nbsp; &amp;nbsp; -&amp;nbsp; uicr_mbr_params_page &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp; mbr_params_page&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp; bootloader_settings_page&lt;/p&gt;[/quote]
&lt;p&gt;My apologies for not explaining better, but SDK v17 has projects for the nRF52820 device example that you&amp;#39;re trying to run, where all of this is already handled for you.&lt;/p&gt;
&lt;p&gt;If you look at the folder:&lt;/p&gt;
&lt;p&gt;../nRF5_SDK_17.0.2_d674dde/examples/dfu/secure_bootloader/pca10100e_usb_debug/armgcc&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You will find the linker script and Makefile for the nRF52820 device.&lt;/p&gt;
[quote user="Andreas3T"]2. And if these addresses are linked to the warning:&lt;br /&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:rgba(255, 255, 255, 1);color:rgba(0, 0, 0, 1);"&gt;WARNING: A UICR write operation has been requested but UICR has not been &lt;/span&gt;&lt;br /&gt;WARNING: erased. Please verify that the result is correct.&lt;/span&gt;&amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;UICR is a section that is only erased if you&amp;#39;re issuing an ERASEALL (ie. &amp;quot;nrfjprog -e -f nrf52&amp;quot;).&lt;/p&gt;
&lt;p&gt;If you program by erasing sector-by-sector (ie. &amp;quot;nrfjprog --program &amp;lt;hex&amp;gt; --sectorerase -f nrf52&amp;quot;), you cannot erase the UICR section. This means that if it was already populated; it is highly likely that there&amp;#39;s a conflict in that region.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 USB CDC ACM example. Linker issue?</title><link>https://devzone.nordicsemi.com/thread/326969?ContentTypeID=1</link><pubDate>Fri, 27 Aug 2021 11:16:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cff2dbe5-d298-496f-bc0c-c2680398e546</guid><dc:creator>Andreas3T</dc:creator><description>&lt;p&gt;The reason I also mentioned the documentation from an older SDK version (16) in the original post is because the latest documentation seem to be lacking.&lt;/p&gt;
&lt;p&gt;E.g. Any flags for using hardware fpu must be changed to software fpu or the project won&amp;#39;t compile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 USB CDC ACM example. Linker issue?</title><link>https://devzone.nordicsemi.com/thread/326967?ContentTypeID=1</link><pubDate>Fri, 27 Aug 2021 11:11:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc96b22e-4948-42a4-a672-dd75e4077c09</guid><dc:creator>Andreas3T</dc:creator><description>&lt;p&gt;That seems to be the same documentation I have linked in my original post except the web address for some reason. This guide does not cover my questions. What I really want to know is:&lt;/p&gt;
&lt;p&gt;1. The memory addresses for:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &amp;nbsp;uicr_bootloader_start_address &lt;br /&gt;&amp;nbsp; &amp;nbsp; -&amp;nbsp; uicr_mbr_params_page &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp; mbr_params_page&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp; bootloader_settings_page&lt;/p&gt;
&lt;p&gt;2. And if these addresses are linked to the warning:&lt;br /&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:rgba(255, 255, 255, 1);color:rgba(0, 0, 0, 1);"&gt;WARNING: A UICR write operation has been requested but UICR has not been &lt;/span&gt;&lt;br /&gt;WARNING: erased. Please verify that the result is correct.&lt;/span&gt;&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Best Regards, Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 USB CDC ACM example. Linker issue?</title><link>https://devzone.nordicsemi.com/thread/326926?ContentTypeID=1</link><pubDate>Fri, 27 Aug 2021 08:52:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de7e89c1-56c4-4181-a8cb-04ec8c749e2c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s the documentation on how to convert an existing project to nRF52820:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/nrf52820_user_guide.html?cp=8_1_5_2"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/nrf52820_user_guide.html?cp=8_1_5_2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In your case, you do not need to do this, as there should be projects for the &amp;quot;pca10100&lt;em&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;e&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt;&amp;quot; board in SDK v17.&lt;/p&gt;
&lt;p&gt;I see that you link to sdk 16, which does not include projects for nRF52820.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>