<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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://test-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 Non-Production</generator><lastBuildDate>Fri, 01 Apr 2022 06:57:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/86308/case-about-nrf52820-uart-dfu" /><item><title>RE: case about nRF52820 uart dfu</title><link>https://test-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>user26071</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://test-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>user83603</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://test-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://test-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>user26071</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://test-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>user83603</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://test-devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF52820-uart-dfu.zip"&gt;test-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://test-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://test-devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8233.ble_5F00_app_5F00_buttonless_5F00_dfu.zip"&gt;test-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://test-devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF52820-bootloader.zip"&gt;test-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://test-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>user26071</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://test-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>user83603</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://test-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://test-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://test-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>user83603</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://test-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://test-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://test-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>user26071</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>