<?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 bootloader linker settings</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91245/nrf52820-bootloader-linker-settings</link><description>Hi! 
 I have tried to get the secure_bootloader working on the nRF52820, but I think the linker settings are not correct yet. Maybe someone here has already written a bootloader for the nRF52820 and can help me. 
 These are my settings for the secure_bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Aug 2022 07:34:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91245/nrf52820-bootloader-linker-settings" /><item><title>RE: nRF52820 bootloader linker settings</title><link>https://devzone.nordicsemi.com/thread/383393?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 07:34:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2de0093e-9c15-494b-8aa9-fdf57c9988d0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Louis,&amp;nbsp;&lt;br /&gt;We currently don&amp;#39;t have the updated version for the DFU Master code. I may update it at some point but I can&amp;#39;t tell when.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You may want to compare the difference of the bootloader between the version I based on and the latest version and make the modification.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 bootloader linker settings</title><link>https://devzone.nordicsemi.com/thread/383281?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 12:31:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d154eb2-aff2-42ba-bd8a-d7475934b956</guid><dc:creator>Louis_263</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;okay, I&amp;#39;ll take a look on that. Is there already sample code for newer SDKs as well? I noticed that in newer SDKs (I use SDK 17.1.0) the structure serial_dfu_t, which is used in the main.c of the DFU master, does not exist anymore.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 bootloader linker settings</title><link>https://devzone.nordicsemi.com/thread/383257?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 11:41:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dbe7d8e-27c6-4b8d-a0b5-7c495c0b6791</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Louis,&amp;nbsp;&lt;br /&gt;The code for STM32 should be very similar to the code I made for the DFU master. They are both Cortex M.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 bootloader linker settings</title><link>https://devzone.nordicsemi.com/thread/383226?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 10:16:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e34432b4-03d6-4667-99c8-fb101d35c7df</guid><dc:creator>Louis_263</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;thank you for your reply, I&amp;#39;ll have a look on that.&lt;/p&gt;
&lt;p&gt;I would like to update the firmware via a second microcontroller (STM32), is there any example code for this? I have seen unofficial code for a DFU from one nRF to a second nRF in your blog. However, I am looking for code to perform the DFU with an STM as DFU master.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 bootloader linker settings</title><link>https://devzone.nordicsemi.com/thread/383179?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 07:25:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89cc7db1-081a-4944-9deb-19a595a23ce1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Louis,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;DFU over UART is very similar to DFU over BLE. It uses different bootloader and the DFU master to do DFU update. You can follow the documentation &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/sdk_app_serial_dfu_bootloader.html?cp=8_1_4_4_4"&gt;here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regarding generating bootloader setting, it&amp;#39;s also covered in my blog at&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader#h61sjziauupw1j397q9s9ldr01q4j6d5"&gt; this section&lt;/a&gt;. The documentation for it is &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrfutil/UG/nrfutil/nrfutil_settings_generate_display.html?cp=10_7_6"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 bootloader linker settings</title><link>https://devzone.nordicsemi.com/thread/383062?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2022 12:07:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d66d245f-04d5-4c7b-a78b-05579bf032f0</guid><dc:creator>Louis_263</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;I found out why in the SoC did not jump to the right address and now I can debug the bootloader code (with softdevice S140 in flash memory).&lt;br /&gt;In your blog you do a firmware update via BLE. However, I have written firmware for a DFU over UART. Is there a similar blog?&lt;/p&gt;
&lt;p&gt;Since the bootloader code seems to work... can you tell me how to generate the bootloader_settings if I want to flash the application directly to the SoC using the softdevice and bootloader?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 bootloader linker settings</title><link>https://devzone.nordicsemi.com/thread/383021?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2022 09:50:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01354c2d-8110-4358-8ddd-be3b35fdd5c8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Louis,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see much issue with what you have in the linker script.&lt;/p&gt;
&lt;p&gt;Could you describe what exactly you flash to the device when testing, step by step .&amp;nbsp;&lt;br /&gt;I would suggest to test only with the softdevice + bootloader first, before you move to anything else.&amp;nbsp;&lt;br /&gt;I have made a blog &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;here &lt;/a&gt;that might be useful for you to follow.&lt;br /&gt;&lt;br /&gt;Regarding your second question, you only generate&amp;nbsp;&lt;span&gt;bootloader_settings.hex if you want to flash your application together with the bootloader and the softdevice. I would not recommend doing this before you have made sure that the bootloader + softdevice is working properly (can do DFU update). Please try follow my blog.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 bootloader linker settings</title><link>https://devzone.nordicsemi.com/thread/383012?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2022 08:31:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6050bebb-7627-4a3e-9e01-4d4b7880ca53</guid><dc:creator>Louis_263</dc:creator><description>&lt;p&gt;Another question: If I have an application that uses a soft device... do I have to generate the bootloader_settings.hex file with the merged hex file (from application and softdevice) or only from the application file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>