<?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>Issue with running SDK-mesh example on nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61859/issue-with-running-sdk-mesh-example-on-nrf52840-dongle</link><description>Hi, Unfortunately, I&amp;#39;m stuck on this issue with running SDK-mesh example on Dongle. 1) I did: - took the project: nrf5_SDK_for_Mesh_v4.0.0_src\examples\light_switch\client\light_switch_client_nrf52840_xxAA_s140_7_0_1 - changed the settings of preprocessor</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Jun 2020 13:58:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61859/issue-with-running-sdk-mesh-example-on-nrf52840-dongle" /><item><title>RE: Issue with running SDK-mesh example on nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/253568?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2020 13:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e897d550-a345-4e7f-bd36-e1a94a2f2818</guid><dc:creator>Liv</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;1) I want to run the client-mesh from DK sources into Dongle.&lt;br /&gt;So, I did:&lt;br /&gt;- modified the client-dk project: nrf5_SDK_for_Mesh_v4.0.0_src\examples\light_switch_dongle\client by: &lt;br /&gt;a) changing the settings of preprocessor definitions in board PCA10056 -&amp;gt; PCA10059.&lt;br /&gt;b) I also changed the memory addresses: Preprocessor -&amp;gt; Linker -&amp;gt; Section Placement Macros -&amp;gt; &lt;br /&gt;FLASH_PH_START=0x0&lt;br /&gt;FLASH_PH_SIZE=0x100000&lt;br /&gt;RAM_PH_START=0x20000000&lt;br /&gt;RAM_PH_SIZE=0x40000&lt;br /&gt;FLASH_START=0x27000&lt;br /&gt;FLASH_SIZE=0xd9000&lt;br /&gt;RAM_START=0x20002300&lt;br /&gt;RAM_SIZE=0x3dd00&lt;br /&gt;&lt;br /&gt;- donwloaded using command-line programmer via the nRF52840 DK board&amp;#39;s JTAG, the soft-device.hex and client.hex:&lt;br /&gt;nrfjprog -f nrf52 --eraseall&lt;/p&gt;
&lt;p&gt;cd C:\Nordic_Dongle\nrf5_SDK_for_Mesh_v4.0.0_src\bin\softdevice\&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;nrfjprog -f nrf52 --chiperase --program s140_nrf52_7.0.1_softdevice.hex&lt;br /&gt;&lt;br /&gt;cd C:\Nordic_Dongle\nrf5_SDK_for_Mesh_v4.0.0_src\examples\light_switch_dongle\client\build\light_switch_client_nrf52840_xxAA_s140_7.0.1_Release\ &lt;br /&gt;nrfjprog -f nrf52 --sectorerase --program light_switch_client_nrf52840_xxAA_s140_7.0.1.hex&lt;br /&gt;&lt;br /&gt;nrfjprog -f nrf52 --reset&lt;br /&gt;&lt;br /&gt;- after reset nothing happens (like program doesn&amp;#39;t start)&lt;br /&gt;&lt;br /&gt;2) Besides the option to run the client-mesh directly into dongle (that I still don&amp;#39;t know what&amp;#39;s wrong in the steps above), I also would like to have a bootloader that allows developer to download a Mesh application via USB or via BLE (air).&lt;br /&gt;I understood from forum discussions that I need a bootloader for Mesh (the original doesn&amp;#39;t work with soft-device).&lt;br /&gt;- Hence, I downloaded&amp;nbsp; bootloader (nrf5_SDK_for_Mesh_v4.0.0_src\bin\bootloader\gccarmemb\mesh_bootloader_gccarmemb_nrf52840_xxAA.hex) and then the soft-device and then the client-application.&lt;br /&gt;Again, nothing happens after reset!&lt;br /&gt;&lt;br /&gt;- Then, I want to make a bootloader for mesh using source files from this path (nrf5_SDK_for_Mesh_v4.0.0_src\mesh\bootloader). Unfortunately, the sources do not have a Segger project. Hence, I created a new project in segger, added in the headers, the sources from bootloader path, but it seems that i cannot detect&amp;amp;use the CMAkeList. How can I complete the segger project for bootloader such as I can compile it?&lt;br /&gt;&lt;br /&gt;3) I would like to know the exact bootstrapping steps in Dongle nRF52840 in both cases with soft-device for BLE or without:&lt;br /&gt;what address chips starts, bootloader runs, bootloader launch application from address xxx ... who runs softdevice from address yyy .... Eventually, what are the functions from bootloader that starts code from a specific address?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Liv&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with running SDK-mesh example on nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/253495?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2020 10:26:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4e1d4a3-1575-4031-87ca-55439e6484fd</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;I see. Thanks.&lt;/p&gt;
&lt;p&gt;Do you want to add the application FW to the dongle using DFU or simply flashing the device using the programmer on the nRF52-DK?&lt;/p&gt;
&lt;p&gt;If you want to use DFU, we have a lot of information in our documentation: &lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.1.0/md_doc_user_guide_modules_dfu_configuring_performing.html"&gt;Configuring and performing DFU over Mesh&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.1.0/md_examples_dfu_README.html"&gt;DFU example&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.1.0/md_doc_user_guide_modules_dfu_protocol.html"&gt;Mesh DFU protocol &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If not, you can use on of the examples from our nRF5 SDK for Mesh. We don&amp;#39;t have any examples ready for the nRF52840 dongle, so you would have to make some changes in order to run the example on the nRF52840 dongle.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with running SDK-mesh example on nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/252954?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2020 10:06:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c561a70-03e0-4b8f-a5a6-b33ccbd76bee</guid><dc:creator>Liv</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for reply. Yes, I looked at dongle programming tutorial, but I have another issue with bootloader for mesh. I&amp;nbsp; connected nFR52840 Dongle on nRF52840 DK like in attached picture:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Dongle_DK" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/20200603_5F00_123118.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;To download the compiled application based on SDK-mesh, I need a bootloader for mesh. I understood that the .hex files from bootloader folder(nrf5_SDK_for_Mesh_v4.0.0_src\bin\bootloader) are precompiled. I found the source code in this path(nrf5_SDK_for_Mesh_v4.0.0_src\mesh\bootloader) for bootloader if I want to build it. What do you recommend me to do to run a mesh application on Dongle?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Liv&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with running SDK-mesh example on nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/252331?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 09:10:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7016978a-1381-40bd-8838-2611f2b9cc82</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Have you looked at the nRF52840 dongle tutorial here on devzone?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Br,&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>