<?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 light-switch example need help</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58500/nrf52840-dongle-light-switch-example-need-help</link><description>Dear Nordic Team! 
 I am verifying my tools chain for nrf52840 Mesh project development by mesh light-switch example. I have 4 PCA10056 and make them to 1 provisioner, 1 client and 2 serves and they works. I need more serve to text. I want make my other</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Mar 2020 08:47:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58500/nrf52840-dongle-light-switch-example-need-help" /><item><title>RE: NRF52840 dongle light-switch example need help</title><link>https://devzone.nordicsemi.com/thread/239466?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2020 08:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b622dad-84cb-4238-8933-8a8a7c0fc9b4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Con,&lt;/p&gt;
&lt;p&gt;Without the log of segger, I do not what caused the &lt;span&gt;expected identifier error in your environment&lt;/span&gt;. However, the most problem that is caused by the incorrect version. Please be aware that t&lt;span&gt;he nRF5 SDK for Mesh 3.1.0 requires the&amp;nbsp;&lt;/span&gt;&lt;a href="http://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/" rel="noopener noreferrer" target="_blank"&gt;nRF5 SDK 15.2.0&lt;/a&gt;&lt;span&gt;&amp;nbsp;to compile. See&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v3.1.0/md_doc_getting_started_how_to_toolchain.html"&gt;Installing the toolchain&lt;/a&gt;&lt;span&gt;&amp;nbsp;for more information.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Following everything from the nRF52840 Dongle Tutorial should generally lead to a working application, so it is hard to tell what may be missing.&lt;/p&gt;
&lt;p&gt;The best way to figure out what happens is to connect the Dongle to a programmer, either using a 10 pin Tag Connect cable or soldering wires directly on the Dongle. Not having a debugger connected severely limits the debugging capabilities. From your description, it sounds like you get an assert and end up in the fault handler. From a debug session you should easily get a file and line number.&lt;/p&gt;
&lt;p&gt;If you have further questions, Please create a new support case for your own issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 dongle light-switch example need help</title><link>https://devzone.nordicsemi.com/thread/238212?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2020 09:45:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae983233-b914-44f4-925e-210baadd8362</guid><dc:creator>Con</dc:creator><description>&lt;p&gt;Tried 3.1.0 as per Bjorns instructions. &lt;br /&gt;I get same expected identifier error. tried also defining in main orin simple_hal.h and calling output power function during initialisation asap with no luck:&lt;br /&gt;Compiles, i flash it along with softdevice but i cannot find it as unprovisioned. I have never provisioned the dongle since it&amp;#39;s the first time i attempt this so i guess it just crashes.&lt;br /&gt;All leds are on on the dongle after flashing (except LED2_G maybe?) so perhaps it crashes indeed.&lt;br /&gt;The sniffer can&amp;#39;t locate any mesh packets either so i am not sure what goes wrong.&lt;br /&gt;Tried 4.0.0, exact same output. &lt;br /&gt;Also i have tried the other tutorial according to which just changing from PCA10056 to PCA10059 should be adequate.&lt;br /&gt;Only it&amp;#39;s not, and i end with the LED start/stop situation and again we end up in the same scenarios.&lt;br /&gt;Bjorns folder didn&amp;#39;t include anything precompiled either in the build folder. If i flash it on PCA10056 i can detect everything with no problem though.&lt;br /&gt;&lt;br /&gt;Could you please link to whole project folders that actually work without us modifying anything in any SDK version?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 dongle light-switch example need help</title><link>https://devzone.nordicsemi.com/thread/237916?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2020 06:59:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0370fb56-4540-4aa2-83f5-6d759a90b7eb</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please follow&amp;nbsp;&lt;span&gt;Bjorn&amp;#39;s instruction to use&amp;nbsp;mesh &lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/nRF5-SDK-for-Mesh/Download#infotabs"&gt;SDK3.1&lt;/a&gt;&amp;nbsp;download from &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you want to use&amp;nbsp;MESH SDK 4.0, I would suggest you refer to this &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;tutorial&lt;/a&gt;&amp;nbsp;to modify the project for BOARD_PCA10059.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 dongle light-switch example need help</title><link>https://devzone.nordicsemi.com/thread/237890?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2020 22:52:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04aaa335-628d-4609-a159-c067f6d0e50f</guid><dc:creator>Di-sheng</dc:creator><description>&lt;p&gt;Hi Amanda&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, I followed&amp;nbsp;Bjorn&amp;#39;s instructions except for replacing mesh SDK3.1 with &lt;span&gt;mesh SDK&lt;/span&gt;4.0.&amp;nbsp;&lt;span&gt;Is the mesh SDK4.0 not fully compatible with mesh SDK3.1, or are there specific requirements for this example project?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I download&amp;nbsp;nRF5_SDK_15.2.0_9412b96 for this project.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;About modify board from PCA10056 to PCA10059, Please see below 2 pictures:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/2605.1.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1145.2.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;About the inserting the code inside simple_hal.c, I did the two block codes inserting to the simple_hal.c.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please see the picture below&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8176.3.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But&amp;nbsp; the project did not past the complie yet with a error&amp;nbsp;:&lt;strong&gt;expected identifier or &amp;#39;(&amp;#39; before &amp;#39;if&amp;#39;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3531.4.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there something wrong I did?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please give me a link for download&amp;nbsp;mesh SDK3.1 if you think the&amp;nbsp;mesh SDK3.1 is improtent for the&amp;nbsp; project building. I did not find the&amp;nbsp;mesh SDK3.1 download websit.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Would you like give me some instruction for modify the light_switch_serve_nrf52840_xxaa_s140_7_0_1.em project for PCA10059 which is depend on the MESH SDK 4.0 and nRF5_SDK_16 so that I can get familiar with Mesh SDK4.0 and Segger development environment as soon as possible .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Dison&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 dongle light-switch example need help</title><link>https://devzone.nordicsemi.com/thread/237632?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2020 08:45:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77c88b1a-694b-4592-a986-8bfc8479cd9e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Dison,&amp;nbsp;&lt;/p&gt;
[quote user="SpongeBob"]Would you like give the detail about every thing I need modify the light-switch project.[/quote]
&lt;p&gt;Update the Preprocessor Definitions by removing &lt;code&gt;BOARD_PCA10056&lt;/code&gt;&lt;span&gt; and inserting &lt;code&gt;BOARD_PCA10059&lt;/code&gt;. The project will link the&amp;nbsp;C:\Users\amhs\Downloads\nRF5_SDK_16.0.0_98a08e2\components\boards\pca10059.h. Please also see&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dongle/UG/nrf52840_Dongle/intro.html"&gt;nRF52840 Dongle&lt;/a&gt;/&lt;a title="Buttons and LEDs" href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dongle/UG/nrf52840_Dongle/hw_button_led.html?cp=4_0_5_5_3"&gt;Buttons and LEDs&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="SpongeBob"]As required, I unpack to the folder (\nrf5_SDK_for_Mesh_v4.0.0_src\examples\light_switch),[/quote]
&lt;p&gt;&amp;nbsp;Did you follow Bjørn&amp;#39;s instructions:&amp;nbsp;&lt;span&gt;Just unzip it in the light switch folder of the mesh SDK &lt;strong&gt;v3.1.0.&lt;/strong&gt;, change the board from BOARD_PCA10056 to BOARD_PCA10059 &amp;amp; inserting the code inside simple_hal.c?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 dongle light-switch example need help</title><link>https://devzone.nordicsemi.com/thread/237574?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 23:18:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1217090d-1138-4e37-acbc-f5318dd4f7ec</guid><dc:creator>Di-sheng</dc:creator><description>&lt;p&gt;Hi Amanda Hsieh&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;I have read those link in your reply.&lt;/p&gt;
&lt;p&gt;Form the tutorial, I can set up the SEGGER for PCA10059, but I donot konw how to modify the GIO to match the PCA10059 board from PCA10056 project, Would you like give the detail about every thing I need modify the light-switch project.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For the link to Bjor&amp;#39;s post, I also try the project which download for the link.&amp;nbsp;&amp;nbsp;&lt;span&gt;As required, I unpack to the folder (\nrf5_SDK_for_Mesh_v4.0.0_src\examples\light_switch), and then open the project with Segger, but the project does not compile, I get the following error, please help me analyze which&amp;nbsp;I am wrong and how I can correct them.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/PCA10059-for-light_2D00_switch.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Dison&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 dongle light-switch example need help</title><link>https://devzone.nordicsemi.com/thread/237415?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 12:02:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1d1aa51-f919-47d4-a936-a14192b460a0</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I suggest that you take a look at this blog-post:&amp;nbsp;&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;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It should contain information about how to modify examples to fit the nRF52840 Dongle.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You also can teste the project that Bjørn provided in&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46656/problem-in-setting-nrf-52840-dongle-as-proxy-server-for-light-switch-example"&gt;that other DevZone thread&lt;/a&gt;&lt;span&gt;, on the Dongle.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>