<?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>nRF52840 Dongle in Mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59984/nrf52840-dongle-in-mesh</link><description>Hi, I want to create a mesh network with two nrf52840 dongles. To programming them I used the light-switch example from SDK Mesh v4.0.0 following the steps in this tutorial: devzone.nordicsemi.com/.../nrf52840-dongle-programming-tutorial . When I tried</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 May 2020 08:25:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59984/nrf52840-dongle-in-mesh" /><item><title>RE: nRF52840 Dongle in Mesh</title><link>https://devzone.nordicsemi.com/thread/251115?ContentTypeID=1</link><pubDate>Thu, 21 May 2020 08:25:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5737ac8f-ca4f-4bca-9b38-b5d83c16b63e</guid><dc:creator>Liv</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Thanks for reply. Unfortunately, I&amp;#39;m stuck on this issue with running SDK-mesh on Dongle. &lt;br /&gt;1) I did: &lt;br /&gt;- took the project: nrf5_SDK_for_Mesh_v4.0.0_src\examples\light_switch\client\light_switch_client_nrf52840_xxAA_s140_7_0_1&lt;br /&gt;- changed the settings of preprocessor definitions in board-type from PCA10056 -&amp;gt; PCA10059&lt;br /&gt;- changed the settings of Preprocessor -&amp;gt; Linker -&amp;gt; placementMacros ... addresses like in attached screenshots&lt;/p&gt;
&lt;p&gt;&lt;img alt="addresses_DK" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/addresses_5F00_DK.png" /&gt;&lt;img alt="addresses_Dongle" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/addresses_5F00_Dongle.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;- then I changed in the main() to have RGB led on immediately after initialize&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;int main(void)
{
    initialize();
    start();

    for (;;)
    {
        
        //RGB led on immediately after initialize
        hal_led_pin_set(LED_ON_START, 1);

        (void)sd_app_evt_wait();
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;- then downloaded the hex file using nRF-connect-Programmer.&lt;br /&gt;- then nothing happens when starting the dongle&lt;br /&gt;&lt;br /&gt;2) I understood from you that I need an external debugger to be able to download a new bootloader in dongle, in order to be able to start-up the SDK-mesh project.&lt;br /&gt;- where is this new bootloader?&lt;br /&gt;- once I downloaded this new bootloader, can I use then the nRFconnect-programmer to download the compiled application based on SDK-mesh? (without external debugger)?&lt;br /&gt;- for SDK-mesh (using BLE) - I think I need to download the soft-device, right? how/what settings should I check in the projects of soft-device, of the SDK-client-application, in bootloader ... such as they work fine?&lt;br /&gt;&lt;br /&gt;3) I&amp;#39;ve searched a bit on nordic, google and I&amp;#39;m confused on what debugger can I use. I have both DK and a bunch of dongles.&lt;br /&gt;If I modify the voltage reference on dongle, can I use DK&amp;#39;s debugger to download the bootloader?&lt;br /&gt;saw some posts like this: &lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/40051/is-it-possible-to-program-the-nrf52840-dongle-using-the-nrf52832-dk-using-swd"&gt;devzone.nordicsemi.com/.../is-it-possible-to-program-the-nrf52840-dongle-using-the-nrf52832-dk-using-swd&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I also plan to purchase a professional debugger that works with Segger Studio. Which one do you recommend?&lt;br /&gt;&lt;br /&gt;4) I intend to develop &amp;amp; debug the BLE-mesh application on DK, but then the final deployment (hence the testing) =&amp;gt; would be a dongle network.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Liv&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle in Mesh</title><link>https://devzone.nordicsemi.com/thread/247584?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2020 13:32:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bb99559-d313-4dab-8e11-f50dcfdf5735</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am very sorry for slow response on this one. Have you gotten any further in solving the issue?&lt;/p&gt;
&lt;p&gt;There is (at least) one more difference that may have to be taken into account when running an nRF5 SDK for Mesh project on the nRF52840 Dongle, namely that the Dongle uses a different bootloader from the nRF Mesh bootloader. This means it may be easier to use an external debugger, and use everything from the mesh SDK instead of trying to mix it with the nRF5 SDK bootloader.&lt;/p&gt;
&lt;p&gt;What approach did you try, and what indications do you get that anything is running? It may be difficult to debug the Dongle, because of the lack of programmer. Connecting an external debugger may be the way to go for properly debugging and figuring out what goes wrong.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>