<?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 custom board programming</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48735/nrf52832-custom-board-programming</link><description>I tried some steps and falling back to support. I received my custom nRF52832 board and wanted to kickoff programming the board to meet my requirements. I used nRF52840 DK to connect DebugIn port to my custom board and started nRF connect software. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Jul 2019 03:25:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48735/nrf52832-custom-board-programming" /><item><title>RE: nrf52832 custom board programming</title><link>https://devzone.nordicsemi.com/thread/195782?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2019 03:25:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efd18a54-35af-4ac1-9f31-2b162a420191</guid><dc:creator>pdpro</dc:creator><description>&lt;p&gt;Though, I am able to fully program my custom board using nRF52 DK, there is one unusual thing happening. nRF52 DK is also getting programmed same as my custom DK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For example, I run BLE_APP_BLINKY on board and then nRF Connect mobile app shows two different advertisers, one from my custom board and another from nRF DK.&amp;nbsp;I don&amp;#39;t think it is usual behavior as I program other devices such as nRF52 dongle using DK and it perfectly dumps the program in dongle only. Please let me know if I am missing something in segger setup.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 custom board programming</title><link>https://devzone.nordicsemi.com/thread/194724?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2019 18:01:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d67bbdf3-ffd8-40c4-a9e9-6e4fa661712b</guid><dc:creator>pdpro</dc:creator><description>&lt;p&gt;Thanks, I just made changes in PCA10040 and used nRF52DK for uploading a blink program. It started working as expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 custom board programming</title><link>https://devzone.nordicsemi.com/thread/194062?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2019 10:17:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:274ca679-f55e-4daa-8648-2c5e33bd8eff</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="75091" url="~/f/nordic-q-a/48735/nrf52832-custom-board-programming/193991"]nRF52832 has PCA20020 but nowhere SDK having these configuration in examples.[/quote]
&lt;p&gt;PCA20020, aka Thingy:52, has it&amp;#39;s own SDK, found &lt;a href="https://github.com/NordicSemiconductor/Nordic-Thingy52-FW"&gt;here&lt;/a&gt;.&lt;/p&gt;
[quote userid="75091" url="~/f/nordic-q-a/48735/nrf52832-custom-board-programming/193991"]As per my understanding, nRF52832 has PCA20020 but nowhere SDK having these configuration in examples. How to compile code for my custom board and use segger studio for downloading and debugging the program?[/quote]
&lt;p&gt;If you have custom board with nRF52832, use the pca10040 project, but modify and create your own board file. See &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/sdk_for_custom_boards.html?cp=5_1_1_5_2#custom_board_support"&gt;this link&lt;/a&gt;.&amp;nbsp;&amp;nbsp;&lt;span&gt;Simply copy the existing board file (e.g. pca10040.h), rename it, and modify it after your requirements (change pin configuration, etc). Then modify boards.h to include and support your new file, e.g.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;..
#elif defined(BOARD_CUSTOM)
  #include &amp;quot;custom_board.h&amp;quot;
..&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Then remove BOARD_PCA10040 preprocessor symbol/define, and add your own(BOARD_CUSTOM).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 custom board programming</title><link>https://devzone.nordicsemi.com/thread/193991?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2019 06:45:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bbb2dcd-5bd9-468b-b964-666ab5bbc72a</guid><dc:creator>pdpro</dc:creator><description>&lt;p&gt;I tried using nrfjprog command and I can see that chip got fully erased. However, my question is how to setup environment for custom nrf52 board. I was fully comfortable working with nRF52840 and most of the sample codes in SDK are available for these boards PCA10056 &amp;amp; PCA10059.&lt;br /&gt;&lt;br /&gt;As per my understanding, nRF52832 has PCA20020 but nowhere SDK having these configuration in examples. How to compile code for my custom board and use segger studio for downloading and debugging the program?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 custom board programming</title><link>https://devzone.nordicsemi.com/thread/193693?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 13:22:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60d0e886-9afd-4b5a-9e0f-2022e4bec320</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try to use nrfjprog with the --&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf5x_cltools/UG/cltools/nrf5x_nrfjprogexe_reference.html?cp=6_1_3_0"&gt;recover&lt;/a&gt;&amp;nbsp;command.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-a2739a5192e640d99794a8074b8065a5/pastedimage1560950503488v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>