<?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>Issues with custom board and long periods of time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45146/issues-with-custom-board-and-long-periods-of-time</link><description>Hey all! 
 I have a problem with my custom board using the nRF52832 with Softdevice 6.0 and SKD 15.0.0 working on Windows 10 in SEGGER with the BMD-300. I have the following problem: I have 2 custom boards working with the light switch examples, one is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Mar 2019 15:11:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45146/issues-with-custom-board-and-long-periods-of-time" /><item><title>RE: Issues with custom board and long periods of time</title><link>https://devzone.nordicsemi.com/thread/179286?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 15:11:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:968136be-9d24-4c6e-bc88-c9adfa3162aa</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Great to hear!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with custom board and long periods of time</title><link>https://devzone.nordicsemi.com/thread/179274?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 14:46:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35b5b63e-4e1a-4e65-85e0-504664b456f6</guid><dc:creator>Jackes5</dc:creator><description>&lt;p&gt;Oh, I see now. Yes, it was the solution, the device has been working perfectly for 2 days in a row, something that has never happened before. Thank you so much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with custom board and long periods of time</title><link>https://devzone.nordicsemi.com/thread/179193?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 10:54:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:546cd5c1-209a-4450-ada5-3bf3c3da0a83</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;1) The sdk_config.h configures the clock accuracy PPM for the softdevice &amp;amp; the nrf_mesh_config_examples.h sets the PPM for the mesh stack. These two stacks are separate from each other, so they will have different config files &amp;amp; will be initiated separately.&lt;/p&gt;
&lt;p&gt;2) Was the solution to change the PPM value in nrf_mesh_config_examples.h to another value? If this was the solution, then I am guessing there may have been some kind of clock drift over time that led to this error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with custom board and long periods of time</title><link>https://devzone.nordicsemi.com/thread/179006?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 15:14:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42194761-13ea-42af-9a38-5909a8fefcf5</guid><dc:creator>Jackes5</dc:creator><description>&lt;p&gt;I applied what I found in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/40416/unknown-function-at-0x000008c8/157162#157162"&gt;link&lt;/a&gt; yesterday after the latest finding, and the problem hasn&amp;#39;t continued so far to this morning.&lt;/p&gt;
&lt;p&gt;I consider my problem solved, but I want further know these things:&lt;/p&gt;
&lt;p&gt;1.) Why are they 2 files: &amp;quot;sdk_config.h&amp;quot; and &amp;quot;nrf_mesh_config_examples.h&amp;quot; that alter the clock configurations? I vaguely remember having to edit these files in Keil uVision but not in Segger for the custom board to work.&lt;/p&gt;
&lt;p&gt;2.) Why did the error happen after hours of inactiviy, why not immediately... What was the Softdevice doing in those two unknown functions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with custom board and long periods of time</title><link>https://devzone.nordicsemi.com/thread/178998?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 15:00:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1416b877-be5d-4c1b-8eab-0512eab447ed</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;You can use the &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/25886/70-mesh-assert-at-0x00023680"&gt;addr2 line&lt;/a&gt; function to figure out where the error is occuring.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with custom board and long periods of time</title><link>https://devzone.nordicsemi.com/thread/178792?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 20:44:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:785b7d1f-a3fc-4e70-af3a-2878be275d48</guid><dc:creator>Jackes5</dc:creator><description>&lt;p&gt;Alright, I got something new from the debugger... After random periods of time (usually more than an hour), the debugger halts with 2 lines of: &amp;quot;UNKNOWN FUNCTION AT 0x0023DE0&amp;quot; and&amp;nbsp;&lt;span&gt;&amp;quot;UNKNOWN FUNCTION AT 0x00008C8&amp;quot;. It no longer appears in nRF Connect, while the&amp;nbsp;client does.&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/6237.1.png" /&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/6888.2.png" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with custom board and long periods of time</title><link>https://devzone.nordicsemi.com/thread/178736?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 14:56:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3501a54b-86e1-4329-95dc-1163edd9dad1</guid><dc:creator>Jackes5</dc:creator><description>&lt;p&gt;For the first paragraph, yes. The custom server board has no buttons. I got those messages by sending through the RTT input.&lt;/p&gt;
&lt;p&gt;For the second paragraph, yes. The server accepts and process the input from RTT (only prints the number with this instruction &amp;quot;__LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;Button %u pressed\n&amp;quot;, button_number);&amp;quot;, the only line in the function &amp;quot;button_event_handler&amp;quot;) but it cannot handle the client messages. After a reset it works again as it should.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with custom board and long periods of time</title><link>https://devzone.nordicsemi.com/thread/178727?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 14:38:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f31121f7-ab86-4c14-be56-92e11c29e765</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I do not fully understand what the difference is between the red &amp;amp; the green box. Are you pressing the button on the custom server board, but are not able to send messages from the server to the client (i.e. log outputs Button 1 pressed, Button 2 pressed)? I thought your server board does not have any buttons.&lt;/p&gt;
&lt;p&gt;I understand that in the red box you are not able to receive any messages from the client, whereas when you reset the server board, you are able to receive messages (green box). Is this correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with custom board and long periods of time</title><link>https://devzone.nordicsemi.com/thread/178165?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2019 15:14:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecda3ab6-346f-4871-b0be-a35b4065253b</guid><dc:creator>Jackes5</dc:creator><description>&lt;p&gt;Hello, I connected the chip to the debugger to see what happens when I increase the level of detail.... The red square represents the &amp;quot;error&amp;quot; I&amp;#39;m trying to resolve: the chip appears to be active because it accepts input from the RTT Viewer and it processes it as it should (only printing the input in this case), no assert appears but it seems it cannot process the messages from the client, perhaps its antenna is down?&lt;/p&gt;
&lt;p&gt;After a reset it shows it can handle the data comming from the client again, as shown in the green square.&lt;/p&gt;
&lt;p&gt;I let the chip running the whole weekend to discover it doesn&amp;#39;t go to sleep as I initially though! That&amp;#39;s nice to know!&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/log1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with custom board and long periods of time</title><link>https://devzone.nordicsemi.com/thread/177635?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 14:47:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e3f26f8-f23c-4c9d-a8f4-34ec6c1b5beb</guid><dc:creator>Jackes5</dc:creator><description>&lt;p&gt;Alright, I&amp;#39;ll increase the detail level of the debugger ... I too think it&amp;#39;s an assert somewhere&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with custom board and long periods of time</title><link>https://devzone.nordicsemi.com/thread/177631?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 14:36:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5f2cf86-f10f-4871-9a98-7d6d9ac033bd</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;There are no timeouts in the nRF Mesh SDK. This would not make sense, as mesh networks need to be active most of the time to listen for incoming messages. You could try increasing the debugging level to get more debugging information &amp;amp; see if you receive an assert or something similar. Otherwise, you could also implement a heartbeat message, where you periodically (every minute or so) send a message throughout the network (e.g. from the client to the server). You could also send a generic on off publish set message from the client to the server that runs periodically. Another option would be to blink a LED from the main loop periodically. Any of these could help you debug the issue to see if you receive an assert or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>