<?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>Getting problem to upload Bootloader HEX file through nRFgo Studio...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56851/getting-problem-to-upload-bootloader-hex-file-through-nrfgo-studio</link><description>Hello, 
 I am working on nRF52832 chip using SDK 15.3.0 in segger embedded studio. 
 
 I implemented DFU in my application and it&amp;#39;s working properly. 
 But my problem is when I upload HEX file of boot-loader using nRFgo Studio at that time I am getting</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Feb 2020 10:30:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56851/getting-problem-to-upload-bootloader-hex-file-through-nrfgo-studio" /><item><title>RE: Getting problem to upload Bootloader HEX file through nRFgo Studio...</title><link>https://devzone.nordicsemi.com/thread/236206?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 10:30:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d71081f-e243-41b7-97ed-96f8eeb978da</guid><dc:creator>Urvisha Andani</dc:creator><description>&lt;p&gt;Thanks for support.&lt;/p&gt;
[quote userid="7571" url="~/f/nordic-q-a/56851/getting-problem-to-upload-bootloader-hex-file-through-nrfgo-studio/236142"]Try increasing the&amp;nbsp;--application-version to 2.&amp;nbsp;[/quote]
&lt;p&gt;It&amp;#39;s working now, after changing application version to create .zip file.&lt;/p&gt;
&lt;p&gt;DFU is also working after combining softdevice, bootloader and application hex file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting problem to upload Bootloader HEX file through nRFgo Studio...</title><link>https://devzone.nordicsemi.com/thread/236142?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 07:57:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94653bbe-15ab-4073-a46d-b1164988efd0</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Try increasing the&amp;nbsp;--application-version to 2.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting problem to upload Bootloader HEX file through nRFgo Studio...</title><link>https://devzone.nordicsemi.com/thread/236116?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 04:39:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f970f44b-93d2-4164-9226-eb6bf554c9a4</guid><dc:creator>Urvisha Andani</dc:creator><description>&lt;p&gt;Thank for support.&lt;/p&gt;
[quote userid="7571" url="~/f/nordic-q-a/56851/getting-problem-to-upload-bootloader-hex-file-through-nrfgo-studio/235933"]Can you post the nrfutil command&amp;nbsp;you used to generate the .zip for the update in step 5?[/quote]
&lt;p&gt;Yes, I use below command to create .zip file,&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil pkg generate --hw-version 52 --application-version 1 --application ble_app_template_pca10040_s132.hex --sd-req 0xB7 --key-file private.key app_dfu_package.zip&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting problem to upload Bootloader HEX file through nRFgo Studio...</title><link>https://devzone.nordicsemi.com/thread/235933?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2020 11:30:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e463e43d-9348-454d-a157-ea133b5c9422</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;You are getting a firmware version error, so this means that either the application version, i.e. --application-version 1 or the bootloader version, i.e. --bootloader-version 1, is to low, see &lt;a title="Acceptance rules for versions" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_bootloader_dfu_validation.html?cp=7_5_0_3_5_1_1_2_1#lib_bootloader_dfu_init_validation_acceptance_rules"&gt;Acceptance rules for versions&lt;/a&gt;, copy pasted relevant section below:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Firmware version:&lt;/strong&gt; If the image contains a bootloader, the image is accepted if the new firmware version is greater than (&amp;gt;) the existing version of the bootloader. If the image contains an application, the image is accepted if the new firmware version is greater than or equal to (&amp;gt;=) the existing version of the application. If the image contains a SoftDevice and no SoftDevice is already present, the fw_version is checked against the existing application&amp;#39;s version to determine whether the update can overwrite it.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Can you post the nrfutil command&amp;nbsp;you used to generate the .zip for the update in step 5?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting problem to upload Bootloader HEX file through nRFgo Studio...</title><link>https://devzone.nordicsemi.com/thread/235813?ContentTypeID=1</link><pubDate>Sat, 22 Feb 2020 05:54:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c329a563-ceec-43a1-ba9e-c8ceefaf8f8a</guid><dc:creator>Urvisha Andani</dc:creator><description>&lt;p&gt;Sorry for late reply.&lt;/p&gt;
[quote userid="7571" url="~/f/nordic-q-a/56851/getting-problem-to-upload-bootloader-hex-file-through-nrfgo-studio/230511"]Can you elaborate on the problems you are facing after changing the flash size of the application?&amp;nbsp; Do you have any logs from nRF Connect when the upload of the zip fails?[/quote]
&lt;p&gt;Yes, Show below attached images.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/image_2D00_013464d1_2D00_08d0_2D00_4f37_2D00_8790_2D00_7306ada1f90a.jpg" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5381.image_2D00_6a3dc3a0_2D00_07b2_2D00_4c8e_2D00_9e8e_2D00_b53554b7d9f2.jpg" /&gt;&amp;nbsp;&lt;/p&gt;
[quote userid="7571" url="~/f/nordic-q-a/56851/getting-problem-to-upload-bootloader-hex-file-through-nrfgo-studio/230511"]The mergehex commands look ok. Does the application start after you flash the&amp;nbsp;sd_app_boot_setting_complete_52832.hex to the nRF52832?[/quote]
&lt;p&gt;Yes, application start after flash sd_app_boot_seeting_complete_52832.hex, But in this I am getting problem to upload new dfu package.&lt;/p&gt;
&lt;p&gt;I follow below step,&lt;/p&gt;
&lt;p&gt;1) Erase chip and through nRF connect programmer I am upload&amp;nbsp;&amp;nbsp;&lt;span&gt;sd_app_boot_seeting_complete_52832.hex file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2) Connect device with nrf connect mobile application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3) Enable notification of DFU and send request.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4)Device Start advertising of bootloader code.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;5) Device connect with mobile application and i upload .zip file in thisI am getting problem and device disconnect with mobile.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So, Please give me solution for this.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting problem to upload Bootloader HEX file through nRFgo Studio...</title><link>https://devzone.nordicsemi.com/thread/230511?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2020 09:05:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa476494-1d81-4ce0-91b3-6d72573b2717</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;[quote user="Urvisha Andani"][/quote]&lt;/p&gt;
&lt;p&gt;In this I am getting problem of upload .zip file using bootloader.&lt;/p&gt;
&lt;p&gt;And also using older one FLASH size(0x5e000) I am getting same problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am use merge HEX file of softdevice, bootloader bootloader setting page, application.&lt;/p&gt;
&lt;p&gt;I use command mention in below document to merge HEX file,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Hi Urvisha,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you elaborate on the problems you are facing after changing the flash size of the application?&amp;nbsp; Do you have any logs from nRF Connect when the upload of the zip fails?&lt;br /&gt;&lt;br /&gt;The mergehex commands look ok. Does the application start after you flash the&amp;nbsp;sd_app_boot_setting_complete_52832.hex to the nRF52832?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting problem to upload Bootloader HEX file through nRFgo Studio...</title><link>https://devzone.nordicsemi.com/thread/230347?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2020 12:52:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06a015cb-9cf3-4d67-8785-899e01de9f8a</guid><dc:creator>Urvisha Andani</dc:creator><description>[quote userid="7571" url="~/f/nordic-q-a/56851/getting-problem-to-upload-bootloader-hex-file-through-nrfgo-studio/230243"]nRFGo Studio is deprecated for the nRF52 Series and you need to use&amp;nbsp;&lt;a title="nRF Connect Programmer" href="https://infocenter.nordicsemi.com/topic/ug_nc_programmer/UG/nrf_connect_programmer/ncp_introduction.html?cp=8_3_1"&gt;nRF Connect Programmer&lt;/a&gt;&amp;nbsp;instead.&amp;nbsp;[/quote]
&lt;p&gt;Thanks for support.&lt;/p&gt;
&lt;p&gt;I tried this and I upload successfully HEX file using nRF Connect Programmer.&lt;/p&gt;
[quote userid="7571" url="~/f/nordic-q-a/56851/getting-problem-to-upload-bootloader-hex-file-through-nrfgo-studio/230243"]The application is configured to use all the available flash on the nRF52832, i.e.&amp;nbsp;FLASH_START+FLASH_SIZE =&amp;nbsp;FLASH_PH_SIZE. In the bootloader RAM and Flash settings you see that the bootloader starts at&amp;nbsp;0x78000, hence you need to adjust the application FLASH_SIZE to&amp;nbsp;0x26000-0x78000 = 0x52000.[/quote]
&lt;p&gt;I am changed FLASE size as you suggest.&lt;br /&gt;In this I am getting problem of upload .zip file using bootloader.&lt;/p&gt;
&lt;p&gt;And also using older one FLASH size(0x5e000) I am getting same problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am use merge HEX file of softdevice, bootloader bootloader setting page, application.&lt;/p&gt;
&lt;p&gt;I use command mention in below document to merge HEX file,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/DFU-FLOW.docx"&gt;devzone.nordicsemi.com/.../DFU-FLOW.docx&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting problem to upload Bootloader HEX file through nRFgo Studio...</title><link>https://devzone.nordicsemi.com/thread/230243?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2020 08:43:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38464c32-6fdc-42e4-b2a2-ba4cea80b95b</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Urvisha,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;nRFGo Studio is deprecated for the nRF52 Series and you need to use&amp;nbsp;&lt;a title="nRF Connect Programmer" href="https://infocenter.nordicsemi.com/topic/ug_nc_programmer/UG/nrf_connect_programmer/ncp_introduction.html?cp=8_3_1"&gt;nRF Connect Programmer&lt;/a&gt;&amp;nbsp;instead.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The application is configured to use all the available flash on the nRF52832, i.e.&amp;nbsp;FLASH_START+FLASH_SIZE =&amp;nbsp;FLASH_PH_SIZE. In the bootloader RAM and Flash settings you see that the bootloader starts at&amp;nbsp;0x78000, hence you need to adjust the application FLASH_SIZE to&amp;nbsp;0x26000-0x78000 = 0x52000.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>