<?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>case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86308/case-about-nrf52820-uart-dfu</link><description>Hi, 
 1. Please help me complete example pca10100e_uart 
 2.I am testing the nRF52820 UART DFU example 
 3.The example is named pca10100e_uart based on example pca10040_uart 
 4.The following problems occurred in the test: 
 
 5.I suspect my memory address</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Aug 2022 06:02:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86308/case-about-nrf52820-uart-dfu" /><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/384035?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 06:02:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c773797-2a0b-4ae8-9a9d-d1dff37a4764</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I don&amp;#39;t know how much point there is as long as we are using different hardware.&lt;/p&gt;
&lt;p&gt;Can you please try the debug version of the bootloader project, to see whether the nRF receives any of the UART packets. What does the RTT log say?&lt;/p&gt;
&lt;p&gt;(since you probably don&amp;#39;t have a *_debug version of your bootloader project, try to increase the flash size, and add RTT logging to your project. What does the log say?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/383197?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 08:47:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d63ec1bb-0556-4388-8f86-dce3306a25a4</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1.I test you this script does not work&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1661416718234v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p class="tgt color_text_1 un-step-trans" data-section="0"&gt;&lt;span class="tgt color_text_1" data-section="0" data-sentence="0" data-group="0-0"&gt;2. Note: My own UART DFU scripts are all validated and usable on nRF52840 nRF52833 nRF52832 nRF52810.&lt;/span&gt;&lt;span class="tgt color_text_1" data-section="0" data-sentence="1" data-group="0-1"&gt; If you need verification, I can send all the scripts to you for verification. &lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt color_text_1 un-step-trans" data-section="1"&gt;&lt;span class="tgt color_text_1" data-section="1" data-sentence="0" data-group="1-0"&gt;3. It is important that you find an nRF52820 device to verify the UART DFU example.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank&amp;ensp;you&amp;ensp;for&amp;ensp;all&amp;ensp;your&amp;ensp;assistance.&lt;br /&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/378094?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2022 12:45:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70742ed1-8412-4f48-b42a-d3b498471949</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Perer.Min. I will be working today and tomorrow, before returning in august. If this is more urgent, please open a new case with where you summarize your new question, since this is no longer about the issue in the title.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Edvin Holmseth"]The scripts that are used are a bit too complicated. If you provide something that I can use to replicate this with an 820 device when I return to the office in August, I can test it. Ideally just one script with hardcoded paths and names.[/quote]
&lt;p&gt;Since you can replicate it on an nRF52833, I will try to provide you a script that I used to test on the nRF52833 without any issues. Can you please provide a simiar script? Preferably for the nRF52833, since we don&amp;#39;t have any proper nRF52820 DKs that I can test on.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1:&lt;br /&gt;generate a key pair in the folder SDK17.1.0\examples\dfu with the private key named private.key and the public key named dfu_public_key.c (or rename the ones that you already have).&lt;/p&gt;
&lt;p&gt;2: Unzip the following folder so that you get the path SDK17.1.0\examples\dfu\secure\bootloader\pca10100_uart(custom)\armgcc\&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pca10100_5F00_uart_2800_custom_2900_.zip"&gt;devzone.nordicsemi.com/.../pca10100_5F00_uart_2800_custom_2900_.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3: Unzip the following folder so that you have the path: SDK17.1.0\examples\peripheral\blinky\pca10100(custom)\mbr\armgcc\&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pca10100_2800_custom_2900_.zip"&gt;devzone.nordicsemi.com/.../pca10100_2800_custom_2900_.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then run the .bat script called test.bat in SDK17.1.0\examples\dfu\secure_bootloader\pca10100_uart(custom)\armgcc\test.bat&lt;/p&gt;
&lt;p&gt;You can see the last line in test.bat that is commented out:&lt;/p&gt;
&lt;p&gt;::nrfutil dfu serial -pkg files\dfu_img.zip -p COM11 -b 115200&lt;/p&gt;
&lt;p&gt;run it when the script is done (without the semi columns) and remember to change to whatever com port you are using.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If that succeeds without errors, please provide a similar sample that fails (on the same format).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/375900?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2022 01:42:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41b3e1e9-d7a7-4297-8a47-4412e1bef33f</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. Nonetype &amp;#39;to object&amp;#39; must be connected to nRF52820 or nRF52833 device.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2.You can test the nRF52820 example on nRF52833.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3.&lt;/span&gt;&lt;span class="tgt color_text_1" data-section="0" data-sentence="0" data-group="0-0"&gt;It can wait until after the holidays.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tgt color_text_1" data-section="0" data-sentence="0" data-group="0-0"&gt;4.&lt;span&gt;I can verify any code for you.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tgt color_text_1" data-section="0" data-sentence="0" data-group="0-0"&gt;&lt;span&gt;5. This case is to obtain a SAMPLE of nRF52820 UART DFU. If you think it is not appropriate to continue, I can open another case.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tgt color_text_1" data-section="0" data-sentence="0" data-group="0-0"&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt color_text_1 pjm-tgt un-step-trans" data-section="0"&gt;&lt;span class="tgt color_text_1" data-section="0" data-sentence="0" data-group="0-0"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/375802?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2022 12:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05744538-8b31-4d40-8bf2-7ac38df7defa</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I don&amp;#39;t have an nRF52820 to test on (I am on home office during the summer), and it is 3 months since this case went silent, so I didn&amp;#39;t bring any nRF52820 devices. I tried to just plug an nRF52840 DK programmed with a standard bootloader, and it gave the response that it was an invalid object, which it is. Does the &amp;quot;&amp;#39;nonetype&amp;#39; to object&amp;quot; error come regardless whether it is connected to the nRF52820 device or not? Should I be able to replicate that error without a device connected?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The scripts that are used are a bit too complicated. If you provide something that I can use to replicate this with an 820 device when I return to the office in August, I can test it. Ideally just one script with hardcoded paths and names.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If this is more urgent, and can&amp;#39;t wait until August, please create a new ticket, and it will be assigned to someone who is working this summer. The subject of this ticket has deviated enought from the original title/question, so it might be time to start a new case either way.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/375724?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2022 10:02:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62952a95-72b9-454f-9303-d69873c0ec6a</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi Edvin&lt;/p&gt;
&lt;p class="tgt color_text_1 pjm-tgt un-step-trans" data-section="0"&gt;&lt;span class="tgt color_text_1" data-section="0" data-sentence="0" data-group="0-0"&gt;I test nRF52840 nRF52832 nRF52833 nRF52810 ble dfu uart dfu OK&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;example:&lt;a id="" href="https://pan.olib.cn/%EF%BC%887%EF%BC%89%EF%BC%9A%E6%B5%8B%E8%AF%95%E4%BE%8B%E7%A8%8B%EF%BC%88%E5%8A%9F%E8%80%97%20%E5%A4%96%E8%AE%BE%20DFU%20FDS%20AT%EF%BC%89/nRF52/nRF5_SDK_17.1.0_ddde560_dfu.zip"&gt;https://pan.olib.cn/%EF%BC%887%EF%BC%89%EF%BC%9A%E6%B5%8B%E8%AF%95%E4%BE%8B%E7%A8%8B%EF%BC%88%E5%8A%9F%E8%80%97%20%E5%A4%96%E8%AE%BE%20DFU%20FDS%20AT%EF%BC%89/nRF52/nRF5_SDK_17.1.0_ddde560_dfu.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;bootloader:&lt;/p&gt;
&lt;p&gt;#define RX_PIN_NUMBER 28&amp;nbsp;&lt;br /&gt;#define TX_PIN_NUMBER 6&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;change&amp;nbsp;nRF5_SDK_17.1.0_ddde560_dfu\dfu_nrf52820\0_env.cmd&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;SET KEIL_UVISION5_PATH=&amp;quot;C:\Program Files (x86)\Keil_v5\UV4\UV4.exe&amp;quot;
SET NRFUTIL_PATH=&amp;quot;..\external\micro-ecc\nrfutil.exe&amp;quot;
SET MERGEHEX_PATH=&amp;quot;C:\Program Files (x86)\Nordic Semiconductor\nrf-command-line-tools\bin\mergehex.exe&amp;quot;
SET NRFJPROG_PATH=&amp;quot;C:\Program Files (x86)\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You can use scripts 1-6&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1657101570326v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/375460?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2022 07:48:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4659fe0-a019-4325-88a5-db0b1dc4246f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Does this happen with all applications that you have tried?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does it work on a standard example using another chip, e.g. the nRF52840dk or nRF52832/nRF52833?&lt;/p&gt;
&lt;p&gt;Can you please upload the image you are using, together with the bootloader project and the application project so that I can try to replicate the issue?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, can you please try to use at least two &amp;quot;-v&amp;quot; flags to get more verbose output:&lt;/p&gt;
&lt;p&gt;e.g.:&amp;nbsp;nrfutil -v -v dfu serial -pkg files\dfu_img.zip -p COM20 -b 115200 (but with your image and COM port)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/375428?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2022 01:07:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e387817-36fc-4875-8a4f-ef8f184f8e08</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p class="tgt color_text_1 pjm-tgt un-step-trans" data-section="0"&gt;&lt;span class="tgt color_text_1" data-section="0" data-sentence="0" data-group="0-0"&gt;Sorry, transcription error&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt color_text_1 pjm-tgt un-step-trans" data-section="2"&gt;&lt;span class="tgt color_text_1" data-section="2" data-sentence="0" data-group="2-0"&gt;Here are the instructions&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrfutil pkg generate --key-file private.pem --hw-version 52 --sd-req 0x0103 --application APP.hex --application-version 0xFF APP.zip&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/375287?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 10:47:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bebce3ea-b5f5-48cb-a8c3-fa0a7267b80a</guid><dc:creator>Edvin</dc:creator><description>[quote user="peter.min"]-application APP.zip[/quote]
&lt;p&gt;APP.zip should not be the --application argument. You should be able to generate the image without the image being present, meaning. Try to delete APP.zip, and you would see that this wouldn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;Try using the application .hex file in the --application argument instead.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/375275?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 09:45:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3765efa6-427b-4b09-b74c-2a4c057a4745</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --key-file private.pem --hw-version 52 --sd-req 0x0103 --application APP.zip --application-version 0xFF APP.zip&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;nrfutil version 6.1.0&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/375261?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 08:39:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45bb69c5-a21b-4270-b9fd-b890108432ac</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Peter,&lt;/p&gt;
&lt;p&gt;Can you also please show what command you used to generate the image?&lt;/p&gt;
&lt;p&gt;It should start with &amp;quot;nrfutil pkg generate ...&amp;quot;&lt;/p&gt;
&lt;p&gt;And what version of nrfutil have you installed?&lt;/p&gt;
&lt;p&gt;&amp;quot;nrfutil version&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/375178?ContentTypeID=1</link><pubDate>Sat, 02 Jul 2022 08:39:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:206c8586-1f5f-43d8-93c0-79b36afecf08</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The NRFUTIL code is shown below:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1656751106203v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/361136?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2022 06:57:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8378dc7-c3ca-49a6-8b7a-6f0c5ff15b88</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I can&amp;#39;t see what arguments you are using in your nrfutil call. Can you try it without your script that you sent in the last reply?&lt;br /&gt;e.g.&lt;br /&gt;&amp;quot;nrfutil dfu usb-serial ...&amp;quot;&lt;/p&gt;
&lt;p&gt;This error looks to come from nrfutil, and not the bootloader. I guess that one of the nrfutil arguments are not populated properly, so I suggest you get it working with a raw command before you add your long script that abstracts everything away.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/361114?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2022 01:19:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f20ea227-bdc2-43e0-8c0a-0e6e646cd356</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The following data appears&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648775923093v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank&amp;ensp;you&amp;ensp;for&amp;ensp;all&amp;ensp;your&amp;ensp;assistance.&lt;br /&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/361026?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2022 12:28:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15045d7e-3872-446a-a16f-1a74137052fd</guid><dc:creator>Edvin</dc:creator><description>[quote user="peter.min"]&lt;p&gt;&lt;span&gt;1. I modified the following macro definition, and the bootloader did not report any more errors&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;FLOAT_ABI_SOFT&amp;nbsp; &amp;nbsp;xNRF52&amp;nbsp;&amp;nbsp;xNRF52_PAN_74&amp;nbsp;&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Does that mean that your bootloader is starting up as expected? (running to main()?)&lt;/p&gt;
&lt;p&gt;What does nrfutil say when you try to update the image?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/360955?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2022 09:01:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81851190-9ef6-48f5-9ff9-8e4f7c8217ae</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. I modified the following macro definition, and the bootloader did not report any more errors&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;FLOAT_ABI_SOFT&amp;nbsp; &amp;nbsp;xNRF52&amp;nbsp;&amp;nbsp;xNRF52_PAN_74&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. Read data as follows&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;nrfjprog --memrd 0x10001014&lt;br /&gt;0x10001014: 00038000 |....|&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;nrfjprog --memrd 0x10001018&lt;br /&gt;0x10001018: 0003E000 |....|&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. I failed to execute the DFU command again&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF52820-uart-dfu.zip"&gt;devzone.nordicsemi.com/.../nRF52820-uart-dfu.zip&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4.&lt;a href="https://www.dreamsourcelab.com/download/"&gt;www.dreamsourcelab.com/.../&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://www.dreamsourcelab.com/download/"&gt;https://www.dreamsourcelab.com/download/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;5.We can see that the last instruction nrFUtil sent was 0x04 0xC0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648716617391v1.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;6.Why cannot the DFU command continue&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;7.The configuration is as follows:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="bat"&gt;@echo off
echo &amp;quot;===================================================================================================================&amp;quot;
echo &amp;quot;The following parameters need to be reset as needed&amp;quot;
echo &amp;quot;set the dfu tools path&amp;quot;
SET KEIL_UVISION5_PATH=&amp;quot;C:\Program Files (x86)\Keil_v5\UV4\UV4.exe&amp;quot;
SET NRFUTIL_PATH=&amp;quot;..\external\micro-ecc\nrfutil.exe&amp;quot;
SET MERGEHEX_PATH=&amp;quot;C:\Program Files (x86)\Nordic Semiconductor\nrf-command-line-tools\bin\mergehex.exe&amp;quot;
SET NRFJPROG_PATH=&amp;quot;C:\Program Files (x86)\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe&amp;quot;

echo &amp;quot;set the dfu project path&amp;quot;
SET DFU_PROJECT_PATH_BOOTLOADER_BLE=&amp;quot;..\examples\dfu\secure_bootloader\pca10100e_s112_ble\arm5_no_packs\secure_bootloader_ble_s112_pca10100e.uvprojx&amp;quot;
SET DFU_PROJECT_PATH_BOOTLOADER_UART=&amp;quot;..\examples\dfu\secure_bootloader\pca10100e_uart\arm5_no_packs\secure_bootloader_uart_mbr_pca10100e.uvprojx&amp;quot;
SET DFU_PROJECT_PATH_BOOTLOADER_USB=&amp;quot;..\examples\dfu\secure_bootloader\pca10100e_usb\arm5_no_packs\secure_bootloader_usb_mbr_pca10100e.uvprojx&amp;quot;
SET DFU_PROJECT_PATH_APPLICATION=&amp;quot;..\examples\ble_peripheral\ble_app_buttonless_dfu\pca10100e\s112\arm5_no_packs\ble_app_buttonless_dfu_pca10100e_s112.uvprojx&amp;quot;
rem SET DFU_PROJECT_PATH_APPLICATION=&amp;quot;..\examples\ble_peripheral\ble_app_uart\pca10100e\s112\arm5_no_packs\ble_app_uart_pca10100_s112.uvprojx&amp;quot;

echo &amp;quot;set the dfu hex path&amp;quot;
SET DFU_HEX_PATH_SD=&amp;quot;..\components\softdevice\s112\hex\s112_nrf52_7.2.0_softdevice.hex&amp;quot;
SET DFU_HEX_PATH_BL_BLE=&amp;quot;..\examples\dfu\secure_bootloader\pca10100e_s112_ble\arm5_no_packs\_build\nrf52820_xxaa_s112.hex&amp;quot;
SET DFU_HEX_PATH_BL_UART=&amp;quot;..\examples\dfu\secure_bootloader\pca10100e_uart\arm5_no_packs\_build\nrf52820_xxaa_mbr.hex&amp;quot;
SET DFU_HEX_PATH_BL_USB=&amp;quot;..\examples\dfu\secure_bootloader\pca10100e_usb\arm5_no_packs\_build\nrf52820_xxaa.hex&amp;quot;
SET DFU_HEX_PATH_APP=&amp;quot;..\examples\ble_peripheral\ble_app_buttonless_dfu\pca10100e\s112\arm5_no_packs\_build\nrf52820_xxaa.hex&amp;quot;
rem SET DFU_HEX_PATH_APP=&amp;quot;..\examples\ble_peripheral\ble_app_uart\pca10100e\s112\arm5_no_packs\_build\nrf52820_xxaa.hex&amp;quot;

echo &amp;quot;set the dfu hex version&amp;quot;
SET DFU_IC_FAMILY=&amp;quot;NRF52&amp;quot;
SET DFU_HEX_HW_FAMILY=&amp;quot;NRF52QFAB&amp;quot;
SET DFU_HEX_VERSION_APP=&amp;quot;3&amp;quot;
SET DFU_HEX_VERSION_BL=&amp;quot;2&amp;quot;
SET DFU_HEX_VERSION_ST=&amp;quot;2&amp;quot;

echo &amp;quot;set the dfu packaged version&amp;quot;
SET DFU_PKG_HW_FAMILY=&amp;quot;52&amp;quot;
SET DFU_PKG_VERSION_SD_ID=&amp;quot;0x0103&amp;quot;
SET DFU_PKG_VERSION_SD_REQ=&amp;quot;0x0103&amp;quot;
SET DFU_PKG_VERSION_APP=&amp;quot;0xFF&amp;quot;
SET DFU_PKG_VERSION_BL=&amp;quot;0xFF&amp;quot;

echo &amp;quot;if you have more then one jlink you can use this parameters to specify one of a jlink&amp;quot;
SET DFU_JLINK_SNR=&amp;quot;683054148&amp;quot;

echo &amp;quot;if use dfu from com or usb com you must set this com port and baudrate&amp;quot;
SET DFU_COM_BAUD=&amp;quot;115200&amp;quot;
SET DFU_COM_PORT=&amp;quot;COM14&amp;quot;
SET DFU_USB_COM_PORT=&amp;quot;COM38&amp;quot;

echo &amp;quot;if use dfu from ble base ble name you must set this name&amp;quot;
SET DFU_IC_NAME=&amp;quot;Nordic_Buttonless&amp;quot;

echo &amp;quot;if use dfu from ble base ble mac you must set this mac&amp;quot;
SET DFU_IC_MAC=&amp;quot;D3:F1:96:04:74:0A&amp;quot;

echo &amp;quot;===================================================================================================================&amp;quot;
echo &amp;quot;The following parameters retain the default Settings&amp;quot;
set CRLF=^&amp;amp; echo.
SET DFU_KEY_BACKUP_TIME=%date:~0,4%-%date:~5,2%-%date:~8,2%-%time:~0,2%-%time:~3,2%-%time:~6,2%-%time:~9,2%
SET MICRO_ECC_FOLDER_SOURCE_PATH=&amp;quot;.\micro-ecc&amp;quot;
SET MICRO_ECC_FOLDER_TARGET_PATH=&amp;quot;..\external\micro-ecc&amp;quot;
SET MICRO_ECC_LIB_PATH=&amp;quot;..\external\micro-ecc\nrf52hf_keil\armgcc\micro_ecc_lib_nrf52.lib&amp;quot;

SET DFU_PUBLIC_KEY_NAME=&amp;quot;dfu_public_key.c&amp;quot;
SET DFU_PUBLIC_KEY_PATH=&amp;quot;..\examples\dfu\&amp;quot;
SET DFU_PRIVATE_KEY_NAME=&amp;quot;private.pem&amp;quot;
SET DFU_KEY_BACKUP_DIRECTORY_NAME=&amp;quot;backup&amp;quot;
SET DFU_KEY_BACKUP_DIRECTORY_PATH=&amp;quot;.\backup\&amp;quot;

SET DFU_HEX_NAME_SD=&amp;quot;SD.hex&amp;quot;
SET DFU_HEX_NAME_BL=&amp;quot;BL.hex&amp;quot;
SET DFU_HEX_NAME_APP=&amp;quot;APP.hex&amp;quot;
SET DFU_HEX_NAME_APP_NEW=&amp;quot;APP_NEW.hex&amp;quot;

SET DFU_HEX_NAME_ST=&amp;quot;ST.hex&amp;quot;
SET DFU_HEX_NAME_SD_APP=&amp;quot;SD_APP.hex&amp;quot;
SET DFU_HEX_NAME_SD_APP_BL=&amp;quot;SD_APP_BL.hex&amp;quot;
SET DFU_HEX_NAME_MERGED=&amp;quot;MERGED.hex&amp;quot;

SET DFU_PKG_NAME_BL=&amp;quot;BL.zip&amp;quot;
SET DFU_PKG_NAME_SOFTDEVICE=&amp;quot;SD.zip&amp;quot;
SET DFU_PKG_NAME_APP=&amp;quot;APP.zip&amp;quot;

SET DFU_PKG_NAME_BL_SD=&amp;quot;BL_SD.zip&amp;quot;
SET DFU_PKG_NAME_BL_SD_APP=&amp;quot;BL_SD_APP.zip&amp;quot;
SET DFU_PKG_NAME_SD_APP=&amp;quot;SD_APP.zip&amp;quot;

echo &amp;quot;===================================================================================================================&amp;quot;&lt;/pre&gt;&lt;pre class="ui-code" data-mode="bat"&gt;@echo off &amp;amp; setlocal EnableDelayedExpansion
SET CRLF=^&amp;amp; echo.
echo &amp;quot;===================================================================================================================&amp;quot;
echo &amp;quot;dfu packaged from uart&amp;quot;
CALL &amp;quot;%~dp0\0_env.cmd&amp;quot;
echo &amp;quot;dfu app from uart&amp;quot;
%NRFUTIL_PATH% dfu serial -pkg %DFU_PKG_NAME_APP% -p %DFU_COM_PORT% -b %DFU_COM_BAUD%

echo &amp;quot;===================================================================================================================&amp;quot;
pause
&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;8. The test code is as follows&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8233.ble_5F00_app_5F00_buttonless_5F00_dfu.zip"&gt;devzone.nordicsemi.com/.../8233.ble_5F00_app_5F00_buttonless_5F00_dfu.zip&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF52820-bootloader.zip"&gt;devzone.nordicsemi.com/.../nRF52820-bootloader.zip&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;9.The configuration is as follows:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;#define RX_PIN_NUMBER 28&lt;br /&gt;#define TX_PIN_NUMBER 6&lt;/p&gt;
&lt;p&gt;#define NRF_DFU_SERIAL_UART_USES_HWFC 0&lt;/p&gt;
&lt;p&gt;#define NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN 20&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank&amp;ensp;you&amp;ensp;for&amp;ensp;all&amp;ensp;your&amp;ensp;assistance.&lt;br /&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/360809?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 12:31:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ef8d6bc-76e9-4760-a2f6-759bfce0f5a8</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I believe you should set your RAM settings:&lt;/p&gt;
&lt;p&gt;start: 0x20000008&lt;/p&gt;
&lt;p&gt;size: 0x7FF8.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After programming the bootloader and MBR, can you please run the following command:&lt;/p&gt;
&lt;p&gt;nrfjprog --memrd 0x10001014&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;nrfjprog --memrd 0x10001018&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What do they output?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/360499?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 10:01:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0916b34d-a3a4-4323-9b2b-9f2fdb7b8ba8</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;nbsp;Edvin,&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;1. I make sure I set up the correct addresses&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;2. During the debug process, it is found that the program does not run to the main entrance of the bootloader&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;3. I used nRF52820 module for testing&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;4. Is there anything else that needs to be changed?&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;&lt;span&gt;5. Other s112 + MBR = 100 KB&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;&lt;span&gt;6.Calculate the application available space&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;settings = 4kb&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;mbr data = 4kb&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;bootloader =24kb&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;application = ?&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;softdevice = 96kb&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;mbr = 4kb&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;Application free space: 256-4-4-24-96-4= 124KB&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0184.pastedimage1648546656659v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;7.The address before the error was reported is as follows:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8117.pastedimage1648547455616v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank&amp;ensp;you&amp;ensp;for&amp;ensp;all&amp;ensp;your&amp;ensp;assistance.&lt;br /&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/360497?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 09:51:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c54cce9-9a4c-4d3a-8222-8d8d4e286165</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;nbsp;Edvin,&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;1. I make sure I set up the correct addresses&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;2. During the debug process, it is found that the program does not run to the main entrance of the bootloader&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;3. I used nRF52820 module for testing&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;4. Is there anything else that needs to be changed?&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;&lt;span&gt;5. Other s112 + MBR = 100 KB&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;&lt;span&gt;6.Calculate the application available space&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;settings = 4kb&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;mbr data = 4kb&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;bootloader =24kb&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;application = ?&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;softdevice = 96kb&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;mbr = 4kb&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;Application free space: 256-4-4-24-96-4= 124KB&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648546656659v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;7.The address before the error was reported is as follows:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648547455616v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank&amp;ensp;you&amp;ensp;for&amp;ensp;all&amp;ensp;your&amp;ensp;assistance.&lt;br /&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52820 uart dfu</title><link>https://devzone.nordicsemi.com/thread/360386?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 18:46:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11797222-cc7c-4a79-8bae-ce1f673702e5</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It seems I never tried to build a bootloader for the nRF52820 (at least with Keil), because I was not able to compile your project. Do you happen to know where to get the file that it claims to be missing (It is evening, and I am sitting at home. I can reach out to some colleagues tomorrow if I don&amp;#39;t find it). I assume that you have what you need to compile, other than the&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, I see that the array that you refer to is missing the nRF52820. However, the nRF52820 has different flash and RAM sizes from the other devices. As &lt;a href="https://infocenter.nordicsemi.com/topic/struct_nrf52/struct/nrf52.html?cp=4"&gt;you can see here&lt;/a&gt;, it has 256 kB flash and 32kB RAM. This means that the flash is on the address:&lt;/p&gt;
&lt;p&gt;0x0000 0000 -&amp;gt; 0x0004 0000&lt;/p&gt;
&lt;p&gt;And the RAM is on the address:&lt;/p&gt;
&lt;p&gt;0x2000 0000 -&amp;gt; 0x2000 8000&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So an appropriate set of the bootloader&amp;#39;s memory segments should be somthing like:&lt;/p&gt;
&lt;p&gt;Bootloader settings: 0x0003 F000 -&amp;gt; 0x0004 0000&lt;/p&gt;
&lt;p&gt;MBT parameter storage: 0x0003 E000 -&amp;gt; 0x0003 F000&lt;/p&gt;
&lt;p&gt;Bootloader: 0x0003 8000 -&amp;gt; 0x0003 E000&lt;/p&gt;
&lt;p&gt;Application area (depending on the softdevice that you use, but if you are using only MBR) : 0x0001 0000 -&amp;gt; however large you need, but less than 0x0003 F000. You don&amp;#39;t need to specify the top.&lt;/p&gt;
&lt;p&gt;Master Boot Record (MBR) 0x0000 0000 -&amp;gt; 0x0000 1000&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;SoftDevice -&lt;/p&gt;
&lt;p&gt;If you intend to have a softdevice, your softdevice will replace the MBR, and the application will start after the softdevice. E.g. if you use the S112 from SDK17.1.0:&lt;/p&gt;
&lt;p&gt;Softdevice: (which includes MBR) 0x0000 0000 -&amp;gt; 0x0002 8000&lt;/p&gt;
&lt;p&gt;This leaves this flash for the application: 0x0002 8000 -&amp;gt; 0x0003 8000 (NB: Only 64kB).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I hope this clears things up a bit. Let me know if anything was unclear.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>