<?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>nRF52832 Programming with Product Example Compiled with GCC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51590/nrf52832-programming-with-product-example-compiled-with-gcc</link><description>While I am trying to Program the nRF52832 with Product Example Compiled with GCC, Smart Remote 3 is not booting up.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Sep 2019 14:33:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51590/nrf52832-programming-with-product-example-compiled-with-gcc" /><item><title>RE: nRF52832 Programming with Product Example Compiled with GCC</title><link>https://devzone.nordicsemi.com/thread/207450?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 14:33:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44d6bea4-145f-4c29-a210-56093863d7cc</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;It looks like you&amp;#39;re missing the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrfutil%2FUG%2Fnrfutil%2Fnrfutil_settings_generate_display.html&amp;amp;cp=6_5_6"&gt;bootloader settings&lt;/a&gt; .hex file, which you need to generate before merging all hex files (including that one). Try&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrfutil settings generate -f nrf52 --application PCA20023-SR3_nRF52832_Product_Example.hex --application-version 0 --bootloader-version 0 --bl-settings-version 1 settings.hex&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Programming with Product Example Compiled with GCC</title><link>https://devzone.nordicsemi.com/thread/207210?ContentTypeID=1</link><pubDate>Fri, 30 Aug 2019 18:28:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54d35914-a7cd-4b82-a53e-06300ef75ab5</guid><dc:creator>Pratap</dc:creator><description>&lt;p&gt;Hello Nordic Support Team,&lt;/p&gt;
&lt;p&gt;I am trying to program the &lt;span&gt;nRFready Smart Remote 3 for nRF52832 by compiling and &amp;quot;nRFready Smart Remote 3 nRF52 v1.2.1alpha&amp;quot; of &amp;quot;smart_remote_3_nrf52&amp;quot;&amp;nbsp; Projects of &amp;quot;nRF52832\armgcc&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Here are the steps I followed to to generate the Hex file:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="batchfile"&gt;C:\Nordic Semiconductor\nRFready Smart Remote 3 nRF52 v1.2.1alpha\nRF5x SDK-SR3\examples\ble_peripheral\smart_remote_3_nrf52\Projects\Firmware_nRF52832\armgcc&amp;gt; make
mkdir _build
cd _build &amp;amp;&amp;amp; mkdir PCA20023-SR3_nRF52832_Product_Example
Compiling file: drv_acc_bma222e.c
Compiling file: drv_acc_lis3dh.c
.
Compiling file: nrf_crypto_mem.c
Compiling file: nrf_crypto_rng.c
Linking target: _build/PCA20023-SR3_nRF52832_Product_Example.out
text data bss dec hex filename
228368 2340 22780 253488 3de30 _build/PCA20023-SR3_nRF52832_Product_Example.out
Preparing: _build/PCA20023-SR3_nRF52832_Product_Example.hex
Preparing: _build/PCA20023-SR3_nRF52832_Product_Example.bin
DONE PCA20023-SR3_nRF52832_Product_Example

C:\Nordic Semiconductor\nRFready Smart Remote 3 nRF52 v1.2.1alpha\nRF5x SDK-SR3\examples\ble_peripheral\smart_remote_3_nrf52\Projects\Firmware_nRF52832\armgcc&amp;gt; cd ../../../../../../
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then cd to SDK directory and used &amp;quot;mergehex&amp;quot; to merge the boot, app and softdevice hex files as below:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="batchfile"&gt;C:\Nordic Semiconductor\nRFready Smart Remote 3 nRF52 v1.2.1alpha\nRF5x SDK-SR3&amp;gt;
C:\Nordic Semiconductor\nRFready Smart Remote 3 nRF52 v1.2.1alpha\nRF5x SDK-SR3&amp;gt; mergehex -m .\examples\ble_peripheral\smart_remote_3_nrf52\Projects\Firmware_nRF52832\armgcc\_build\PCA20023-SR3_nRF52832_Product_Example.hex .\components\softdevice\s132\hex\s132_nrf52_5.1.0_softdevice.hex .\examples\ble_peripheral\smart_remote_3_nrf52\Projects\Bootloader_nRF52832\armgcc\_build\PCA20023-SR3_nRF52832_Product_Example_Bootloader.hex -o PCA20023-SR3_nRF52832_Product_Example.hex
C:\Nordic Semiconductor\nRFready Smart Remote 3 nRF52 v1.2.1alpha\nRF5x SDK-SR3&amp;gt; nrfjprog -f nrf52 --program .\PCA20023-SR3_nRF52832_Product_Example.hex --sectorerase
.
Erasing page at address 0x7F000.
WARNING: A UICR write operation has been requested but UICR has not been
WARNING: erased. Please verify that the result is correct.
Applying system reset.
Checking that the area to write is not protected.
Programming device.
C:\Nordic Semiconductor\nRFready Smart Remote 3 nRF52 v1.2.1alpha\nRF5x SDK-SR3&amp;gt; nrfjprog -f nrf52 --reset
Applying system reset.
C:\Nordic Semiconductor\nRFready Smart Remote 3 nRF52 v1.2.1alpha\nRF5x SDK-SR3&amp;gt;
&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I use the Pre-compiled FW it is working as expected:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="batchfile"&gt;C:\Nordic Semiconductor\nRFready Smart Remote 3 nRF52 v1.2.1alpha\nRF5x SDK-SR3&amp;gt; nrfjprog -f nrf52 --program &amp;#39;..\Precompiled Firmware\PCA20023-SR3_nRF52832_Product_Example.hex&amp;#39; --sectorerase
.
Erasing page at address 0x7F000.
WARNING: A UICR write operation has been requested but UICR has not been
WARNING: erased. Please verify that the result is correct.
Applying system reset.
Checking that the area to write is not protected.
Programming device.
C:\Nordic Semiconductor\nRFready Smart Remote 3 nRF52 v1.2.1alpha\nRF5x SDK-SR3&amp;gt;
&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I did the comparison&amp;nbsp;of &amp;quot;Smart_Remote_3_nRF52_gcc_nrf52.ld&amp;quot; with &amp;quot;Flash memory layout&amp;quot; it is matching.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please let us know am I missing any step here.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;regards, Pratap&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>