<?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>Load firmware mesh examples into PCA10056 using Segger Embedded</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31063/load-firmware-mesh-examples-into-pca10056-using-segger-embedded</link><description>Hi, 
 I was trying some examples of the SDK 13 and 14 for keil but now I need to undestand how works the ble mesh. 
 I did the download of the SDK mesh, and there are only segger&amp;#39;s project. 
 I am trying to do the load of the firmware (light switch client</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Mar 2018 22:15:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31063/load-firmware-mesh-examples-into-pca10056-using-segger-embedded" /><item><title>RE: Load firmware mesh examples into PCA10056 using Segger Embedded</title><link>https://devzone.nordicsemi.com/thread/123519?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 22:15:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9c08ed0-4aa3-4ade-8842-134010d5ad47</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;Renato,&lt;/p&gt;
&lt;p&gt;If you are simply trying to learn/familiarize yourself with Bluetooth Mesh then I would suggest that you don&amp;#39;t use any Mesh SDKs prior to v1.0.1. Many of the issues that you may &amp;#39;discover&amp;#39; when using a prior Mesh SDK would have possibly been reported by other developers and fixed in the 1.0.1 version. Additionally, some of the functionality in the examples has been enhanced in the Mesh SDK v1.0.1 code drop.&lt;/p&gt;
&lt;p&gt;If you are looking to build for both the&amp;nbsp;PCA10040 and PCA10056 boards, then simply download the Nordic Mesh SDK v1.0.1 from this &lt;a href="http://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF5-SDK-for-Mesh/(language)/eng-GB"&gt;link&lt;/a&gt;. I would then recommend that you follow the instructions in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30035/segger-embedded-studio-project-files-missing-in-mesh-sdk-v1-0-1/119325#119325"&gt;post&lt;/a&gt; to get the Segger Embedded Studio (SES) project files for the&amp;nbsp;PCA10056/NRF52840 board (look for the attached examples.zip file in Hung Bui&amp;#39;s response). My understanding is that inclusion of the PCA10056 project files was simply an oversight when the v1.0.1 Mesh SDK was packaged so this step should not be required in future Mesh SDK code drops.&lt;/p&gt;
&lt;p&gt;Once you have both Mesh SDK v1.0.1 and the examples.zip file in place, then I would recommend that you erase all the boards you will be using via either the &lt;em&gt;nrfjprog -s&amp;nbsp;xxxxxxxxx --family nRF52 -e&lt;/em&gt; command or whatever your preference may be (the caveat here is that you erase all remnants of any previous mesh configuration data).&lt;/p&gt;
&lt;p&gt;From there, build and flash your boards with the relevant softdevice and example firmware (This step should be done automatically by SES when you&amp;nbsp;select the &lt;em&gt;Debug-&amp;gt;Go&lt;/em&gt; or &lt;em&gt;Target-&amp;gt;Download...&lt;/em&gt; menu optons). Alternatively, you can also use&amp;nbsp;&lt;em&gt;nrfjprog&lt;/em&gt;&amp;nbsp;to manually flash the softdevice and .hex files to your relevant boards (if&amp;nbsp;&lt;em&gt;nrfjprog&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/em&gt;&lt;span&gt;is used, don&amp;#39;t forget to issue the&amp;nbsp;&lt;em&gt;nrfjprog -s&amp;nbsp;xxxxxxxxx&amp;nbsp;--family nRF52 -r&lt;/em&gt;&amp;nbsp;command after flashing the softdevice &amp;amp; hex files)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you still run into issues after following the above, then post back and we can try to help you further (at least knowing that you are running the latest Mesh SDK and examples)&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Load firmware mesh examples into PCA10056 using Segger Embedded</title><link>https://devzone.nordicsemi.com/thread/123473?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 15:06:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c0a61a5-a7cd-4c26-8fb2-fe9b06832a5b</guid><dc:creator>Renato Silva</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;I still have the problem to load the firmware in the board using SEGGER.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/31063/load-firmware-mesh-examples-into-pca10056-using-segger-embedded/122999"]I am sorry. I looked in the SDK for Mesh v1.0.1. In that release, the s140 is not yet implemented, only the s132.[/quote]
&lt;p&gt;Ok, now I am using the PCA10040&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/31063/load-firmware-mesh-examples-into-pca10056-using-segger-embedded/122999"]If not modified, the example should still log some info. This is the log from the unmodified example:[/quote]
&lt;p&gt;Yes! I can to run it and works! I didnt modify the example!&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/31063/load-firmware-mesh-examples-into-pca10056-using-segger-embedded/122999"]his is the log from the unmodified example:[/quote]
&lt;p&gt;&lt;span&gt;But when I turn off and after turn on the boards, I dont can see this log, and the leds are turn off too. I can conclude that the firmware is not run.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I read about it and saw that there are a problem in the provisioning in the MESH SDK.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29108/how-to-add-mesh-into-nrf5-sdk-v14-1-ble-application?ReplySortBy=CreatedDate&amp;amp;ReplySortOrder=Ascending"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/29108/how-to-add-mesh-into-nrf5-sdk-v14-1-ble-application?ReplySortBy=CreatedDate&amp;amp;ReplySortOrder=Ascending&lt;/a&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt;&amp;quot;Permanent storage of provisioning and configuration is not stored on flash. After reboot, the device would require provisioning again. We are working to fix this. The reason is the flash management on 2 SDKs are not the same and can conflict.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But I am not sure if this is my problem.&lt;/span&gt;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/31063/load-firmware-mesh-examples-into-pca10056-using-segger-embedded/122999"]Are you sure you are using the correct example for the nRF52840, the s140 example?[/quote]
&lt;p&gt;&lt;span&gt;Yes! I am using the follow project.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1520521179279v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;When I use the PCA10056, I use the S140 project.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/31063/load-firmware-mesh-examples-into-pca10056-using-segger-embedded/122999"]Have you tried pressing &amp;quot;Build&amp;quot; --&amp;gt; &amp;quot;Build and Run&amp;quot; in Segger Embedded Studio, and see that the light (LED1) turns on then?[/quote]
&lt;p&gt;&lt;span&gt;Yes! As I said, in the first time I can to run the example normaly. The problem is when I turn off the boards, then the LEDs are turn off.&lt;/span&gt;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/31063/load-firmware-mesh-examples-into-pca10056-using-segger-embedded/122999"]If you turn the board off and on, does it not light up again?[/quote]
&lt;p&gt;&lt;span&gt;Exactly!&lt;/span&gt;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/31063/load-firmware-mesh-examples-into-pca10056-using-segger-embedded/122999"]what version of Segger Embedded Studio do you use?[/quote]
&lt;p&gt;3.34&lt;/p&gt;
&lt;div id="selenium-highlight"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Load firmware mesh examples into PCA10056 using Segger Embedded</title><link>https://devzone.nordicsemi.com/thread/122999?ContentTypeID=1</link><pubDate>Tue, 06 Mar 2018 09:56:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:834aa2cb-fe94-4cd3-ac70-b98c3bfcd5c8</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am sorry. I looked in the SDK for Mesh v1.0.1. In that release, the s140 is not yet implemented, only the s132.&lt;/p&gt;
&lt;p&gt;In SDK for Mesh v 0.10.1-alpha we do have the example that you described in your first post, and it does not need any modification, and uses the s140 softdevice.&lt;/p&gt;
&lt;p&gt;As of the production release of the SDK for Mesh, I can&amp;#39;t say anything more specific about a date for the release of the s140 (or s130) SoftDevice compatibility. If you need more specified information, you can try to contact our sales team &lt;a href="http://www.nordicsemi.com/eng/About-us/Contact-us" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If not modified, the example should still log some info. This is the log from the unmodified example:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-7f3eb0d76bb340dfb2af6340484f2575/pastedimage1520329568469v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If your application uses UART (it does not use this in the light switch example unless you have added it), there might be some issues when you power up the board, and it can&amp;#39;t detect a physical uart connection through the segger chip, or any other pins. As long as you have something connected to the UART that you initialize, it should not be a problem. This should not be the cause of your issue, if you have not added a UART in your implementation.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you sure you are using the correct example for the nRF52840, the s140 example? Have you tried pressing &amp;quot;Build&amp;quot; --&amp;gt; &amp;quot;Build and Run&amp;quot; in Segger Embedded Studio, and see that the light (LED1) turns on then? If you turn the board off and on, does it not light up again? Note that I am only talking about one standalone nRF52840 DK running the&amp;nbsp;light_switch_client_nrf52840_xxAA_s140_5_0_0-3_alpha.emProject example.&lt;/p&gt;
&lt;p&gt;If you also want to test with the PCA10040 (nRF52832), you should use the examples for the s130 softdevice.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If it still does not work, what version of Segger Embedded Studio do you use?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Load firmware mesh examples into PCA10056 using Segger Embedded</title><link>https://devzone.nordicsemi.com/thread/122854?ContentTypeID=1</link><pubDate>Mon, 05 Mar 2018 14:31:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5677f320-41fb-4d04-8564-7b6217373b80</guid><dc:creator>Renato Silva</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;I am trying to create a mesh network. Actually I have two types of boards. (PCA10056 and PCA10040) booth has the NRF52(832/840).&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/31063/load-firmware-mesh-examples-into-pca10056-using-segger-embedded/122839"]Please note that the mesh SDK is not yet adapted to the nRF52840[/quote]
&lt;p&gt;Can you explain this? What adaptation are not done yet?&lt;/p&gt;
&lt;p&gt;Are there any date to finish these adaptations?&lt;/p&gt;
&lt;p&gt;Can i to test all the examples shared in the&amp;nbsp;nrf5_SDK_for_Mesh_v1.0.0_src using these boards?&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/31063/load-firmware-mesh-examples-into-pca10056-using-segger-embedded/122839"]Have you modified anything in the example?[/quote]
&lt;p&gt;Now I am putting only log to undestand the code&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/31063/load-firmware-mesh-examples-into-pca10056-using-segger-embedded/122839"]Have you added a UART, for instance?[/quote]
&lt;p&gt;No, but I wanna do it in the future, to send JSON objects&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/31063/load-firmware-mesh-examples-into-pca10056-using-segger-embedded/122839"]o you have any way to check that the application is not actually running when you turn it back on?[/quote]
&lt;p&gt;I am testing the light switch example (1 client and 3 server)... I press Build and Run and after the play button. Works fine. This way I can see the log on output window of the segger, but when I turn off the boards all the leds of all boards are turn off and the button event doenst work. Looks like that the firmware is not save.&lt;/p&gt;
&lt;p&gt;This process using the Keil is very simple, I need only press the load button.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Which example I can to test the mesh network using these boards?&amp;nbsp;&lt;span&gt;&amp;nbsp;(PCA10056 and PCA10040)&lt;/span&gt;&lt;/p&gt;
&lt;div id="selenium-highlight"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Load firmware mesh examples into PCA10056 using Segger Embedded</title><link>https://devzone.nordicsemi.com/thread/122839?ContentTypeID=1</link><pubDate>Mon, 05 Mar 2018 13:53:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed0314fe-f304-4b08-ae68-3a850b5fde51</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I tested the client example on the nRF52840, and it seems to work. Please be aware that the example prints the log on the RTT, and not the UART, but if you modify the example to turn on a led, you should see that it should run after turning off the device, and switch it back on.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please note that the mesh SDK is not yet adapted to the nRF52840, but some of the examples should work. Can you also try to press Build-&amp;gt;Build and Run before unplugging the device. Have you modified anything in the example? Have you added a UART, for instance?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you have any way to check that the application is not actually running when you turn it back on? Can you check the RTT log, using RTT Viewer from JLink?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>