<?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>Writing programs using nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69914/writing-programs-using-nrf-connect-programmer</link><description>I wrote a program for nRF51822 and compiled it with keil. The app, boot, and sdk are combined and written to the chip. However, if I write using nRF Connect Programmer, it works without boot. Why does it work without boot when writing with nRF Connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Jan 2021 14:25:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69914/writing-programs-using-nrf-connect-programmer" /><item><title>RE: Writing programs using nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/290298?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 14:25:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b52e85e-f563-4583-b66b-86e9f49a6f9e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, but the NETIMPRESS programmer should only write to 0x10001014 when it&amp;#39;s programming the bootloader. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing programs using nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/290296?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 14:23:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7f46b85-9e8b-4492-a784-f72f6125c634</guid><dc:creator>komuro</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As for the HEX file I wrote, the bootloader is implemented and the address of the boot (0x0003C000) is also set to 0x10001014.&lt;br /&gt;Therefore, I believe it is correct that NETIMPRESS works (because the address of boot is written to 0x10001014).&lt;br /&gt;&lt;br /&gt;nRFconnect works even without boot. I think this behavior is special, why is this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing programs using nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/290285?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 13:59:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1736b343-c9a6-4a73-8ad2-ddbe7999c16d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The boot address shall only be written when you program the bootloader hex. So the question is why the NETIMPRESS programmer is writing the bootloader start address to 0x10001014 when it&amp;#39;s not included in the hex file.&lt;/p&gt;
&lt;p&gt;Maybe you have a custom programming scripts that writes this address after loading the hex files (i.e. app+sdk)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing programs using nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/290274?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 13:36:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fef7936-6d57-43f7-8f2f-8c6abac84f1d</guid><dc:creator>komuro</dc:creator><description>&lt;p&gt;I checked the HEX file.&lt;br /&gt;We have confirmed that the HEX file we wrote sets the boot address (0x0003C000) to 0x10001014.&lt;br /&gt;The following is the setting location.&lt;br /&gt;-----&lt;br /&gt;:02000000041000EA&lt;br /&gt;:0410140000C0030015&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In addition, we have additionally confirmed the following&lt;br /&gt;Two patterns of writing (nRFconnect and NETIMPRESS) were performed, and the HEX files were compared by reading each pattern.&lt;br /&gt;As a result of comparison, the following differences were found between nRFconnect and NETIMPRESS.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The following is an excerpt from the read results of nRFconnect.&lt;/strong&gt;&lt;br /&gt;-----&lt;br /&gt;&amp;nbsp;:020000041000EA&lt;br /&gt;&amp;nbsp;:10100000FFFFFFFFFFFFFFFF00FFFFFFFFFFFFFFEF&lt;br /&gt;&amp;nbsp;:10101000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The following is an excerpt from the read results of&amp;nbsp; NETIMPRESS.&lt;/strong&gt;&lt;br /&gt;-----&lt;br /&gt;&amp;nbsp;:020000041000EA&lt;br /&gt;&amp;nbsp;:1010000000800100FFFFFFFF00FFFFFFFFFFFFFF6A&lt;br /&gt;&amp;nbsp;:10101000FFFFFFFF00C00300FFFFFFFFFFFFFFFF19&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Checking the above, I am still back to my initial question.&lt;br /&gt;I see that NETIMPRESS has the boot address set and works.&lt;br /&gt;In nRFconnect, the boot address is not set to 0x10001014.&lt;br /&gt;Why does it work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing programs using nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/288838?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 08:47:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58e09e45-ee37-4664-baad-e09ebe7421c9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The question is if the &amp;quot;NETIMPRESS&amp;quot; programmer is writing to the NRF_UICR-&amp;gt;BOOTLOADERADDR register at 0x10001014 when they are programming the app + sd.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing programs using nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/288723?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 16:01:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e37128e-c14c-48f0-aae3-e04481e319cc</guid><dc:creator>komuro</dc:creator><description>&lt;p&gt;Thanks for confirming.&lt;/p&gt;
&lt;p&gt;Set &amp;quot;sd_softdevice_vector_table_base_set(NRF_UICR-&amp;gt;BOOTLOADERADDR)&amp;quot; in &amp;quot;bootloader_start()&amp;quot; of dfu_app_handler.c.&lt;br /&gt;&amp;quot;bootloader_start()&amp;quot; is not set at startup, but is it called from within the library at startup?&lt;br /&gt;Does &amp;quot;nRF Connect Programmer&amp;quot; work properly unlike &amp;quot;Another Tool&amp;quot; because of the above settings?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing programs using nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/288599?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 10:20:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d12ad08-6566-42d5-83b5-bfd5766f470d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Ok, so if I&amp;#39;ve understood this correctly, the device works ok if you don&amp;#39;t program the bootloader, right? If so, is it possible that they may still be writing the bootloader address to the UICR @ 0x10001014 even if the bootloader is not present?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The master boot record will assume that a bootloader is present if this register is set as explained here: &lt;span&gt;&lt;a title="Bootloader" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.sds/dita/softdevices/s130/mbr_bootloader/bootloader.html?cp=5_7_2_0_11_1"&gt;Bootloader&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing programs using nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/288225?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 16:12:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc340036-5312-43ab-b443-34538ac89bec</guid><dc:creator>komuro</dc:creator><description>[quote userid="4240" url="~/f/nordic-q-a/69914/writing-programs-using-nrf-connect-programmer/287407#287407"]What other tools do you use for programming? [/quote]
&lt;p&gt;It was confirmed.&lt;br /&gt;NETIMPRESS AF430 is used for writing.&lt;br /&gt;SWD Adapter AZ442 is also used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing programs using nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/287551?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 14:58:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:853561ee-afe7-441b-b1bd-78bddf4e721c</guid><dc:creator>komuro</dc:creator><description>&lt;p&gt;Thank you for your confirmation.&lt;br /&gt;The other tool was confirmed by another company, so we don&amp;#39;t know what they were using (we&amp;#39;ll add it as soon as we know).&lt;br /&gt;The following is a summary of the situation.&lt;/p&gt;
&lt;table height="98"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;app + sdk + boot&lt;/td&gt;
&lt;td&gt;app + sdk &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;nRF Connect Programmer&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Another Tool&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;td&gt;NG&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing programs using nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/287407?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 07:52:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8085347-d555-4303-b8bc-9397358d83c0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I think I misunderstood your question, I thought the problem was that program execution didn&amp;#39;t start (boot) after loading the FW from Keil. What other tools do you use for programming? &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing programs using nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/287128?ContentTypeID=1</link><pubDate>Mon, 04 Jan 2021 08:11:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bd41aee-30b3-40e1-ac30-5991be006349</guid><dc:creator>komuro</dc:creator><description>&lt;p&gt;Thank you for confirming.&lt;br /&gt;In the debugger settings, the &amp;quot;Reset and Run&amp;quot; checkbox was checked.&lt;br /&gt;Is this check related to the fact that it works with nRF Connect Programmer and does not work with tools other than nRF Connect Programmer?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing programs using nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/286731?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2020 14:09:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5e4bf5f-6b09-4d95-9861-0ca186e728ed</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please check if the &amp;quot;Reset and Run&amp;quot; checbox is ticked in your debugger settings.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1609164737697v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>