<?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>Spurious S110 crash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/694/spurious-s110-crash</link><description>Dear Support Team, 
 I&amp;#39;m working on a BLE application and the most stuff works well but now I had a spurious application crash at &amp;quot;src\ll_lm.s0.c: 1038&amp;quot;. Could you please check what kind of assertion has been failed here?
I was using the 6.0.0.1-alpha</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Feb 2014 12:24:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/694/spurious-s110-crash" /><item><title>RE: Spurious S110 crash</title><link>https://devzone.nordicsemi.com/thread/3493?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2014 12:24:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51e9e565-937e-466f-b1ed-8527bf6ed039</guid><dc:creator>Anne van Rossum</dc:creator><description>&lt;p&gt;@Ole. Maybe tracepoints can be supported somewhere in the future...&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="https://sourceware.org/gdb/onlinedocs/gdb/Tracepoints.html" rel="nofollow"&gt;https://sourceware.org/gdb/onlinedocs/gdb/Tracepoints.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Would be nice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spurious S110 crash</title><link>https://devzone.nordicsemi.com/thread/3492?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2014 11:59:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:287e446e-cf77-4e2f-95c1-ad47ff13e1ca</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I agree that this would have been very useful, but with the current architecture, that&amp;#39;s unfortunately not possible; once you halt the program, the connection will break.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spurious S110 crash</title><link>https://devzone.nordicsemi.com/thread/3491?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2014 11:57:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb5e707c-0cad-44fa-a767-a3f5757b87f4</guid><dc:creator>Anne van Rossum</dc:creator><description>&lt;p&gt;@Ole. Ah, thanks. That makes sense.&lt;/p&gt;
&lt;p&gt;I wish there was some low-level priority debugging option though. Some kind of gdb option that won&amp;#39;t break those real-time properties which you definitely need to run the BLE stack.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spurious S110 crash</title><link>https://devzone.nordicsemi.com/thread/3490?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2014 11:46:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f647370c-04b7-4e17-9566-973c0a7146dd</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;You can&amp;#39;t start running again after having halted on a breakpoint, since the breakpoint ruins the link timing of the softdevice. Take a look at this question for details: &lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/can-i-debug-ble-program#reply-1504" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/can-i-debug-ble-program#reply-1504&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spurious S110 crash</title><link>https://devzone.nordicsemi.com/thread/3489?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2014 11:43:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1db767ca-490a-4aac-92eb-292fdc228110</guid><dc:creator>Anne van Rossum</dc:creator><description>&lt;p&gt;This happens to me when I run gdb with for example this breakpoint which normally would hit, print the value, and continue.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;b BluetoothLE.h:738
commands
p rssi
c
end

&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The softdevice crashes subsequently at this location:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Program received signal SIGTRAP, Trace/breakpoint trap.
softdevice_assertion_handler (pc=40722, line_num=783, 
    file_name=0x20001bac &amp;quot;s&amp;quot;...) at ./ble_error.h:34
34	    __asm(&amp;quot;BKPT&amp;quot;);

&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This is indeed line 783 in ll_lm.s0.c.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;printf &amp;quot;%s\n&amp;quot;, file
src\ll_lm.s0.c

&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Do I have to run gdb with a different priority for its interrupts or something like that? How do I do that?&lt;/p&gt;
&lt;p&gt;Code is at &lt;a href="https://github.com/mrquincle/bluenet"&gt;github.com/.../bluenet&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spurious S110 crash</title><link>https://devzone.nordicsemi.com/thread/3486?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2013 12:24:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b94cf141-ddaf-4675-aed5-3a15aa0e14c1</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry for the late response, but what priority level does your UART interrupt run with? When the softdevice is enabled, you should always make sure to use the sd_nvic_* functions, so that you don&amp;#39;t accidentally use an illegal interrupt priority.&lt;/p&gt;
&lt;p&gt;If you still have problems, I&amp;#39;d be very happy if I could get to look at your complete source code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spurious S110 crash</title><link>https://devzone.nordicsemi.com/thread/3485?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2013 21:30:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d864845-a8d1-4e78-acd2-23b5c22175e2</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;I am experiencing the same problem, reproducible by transmitting and receiving data over the UART. Eventually the error will occur, causing a fault to be asserted.&lt;/p&gt;
&lt;p&gt;Debugger says the failure is occurring at line&lt;/p&gt;
&lt;p&gt;src\ll_lm.s0.c: 783&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spurious S110 crash</title><link>https://devzone.nordicsemi.com/thread/3488?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2013 21:30:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb89f4a1-372b-4a19-a8fe-45f5666ff408</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;I am experiencing the same problem, reproducible by transmitting and receiving data over the UART. Eventually the error will occur, causing a fault to be asserted.&lt;/p&gt;
&lt;p&gt;Debugger says the failure is occurring at line&lt;/p&gt;
&lt;p&gt;src\ll_lm.s0.c: 783&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spurious S110 crash</title><link>https://devzone.nordicsemi.com/thread/3487?ContentTypeID=1</link><pubDate>Sat, 26 Oct 2013 15:09:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c230cfa-d0ce-48d3-ae4a-e494abaa4424</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;Ok, the problem occured reproducable in a bit different manner:
src\ll_lm.s0.c: 783
Code: 48879
Occurs everytime when I delegate an irq handler (UART0) to a c++ method like:
gpApp-&amp;gt;mainMCUService.isrUARTRcv(NRF_UART0-&amp;gt;RXD);&lt;/p&gt;
&lt;p&gt;The line numbers are sometimes different in src\ll_lm.s0.c.
I also use c++ delegates together with the timer framework (app_common/timer.c) without no problems or do you see there can be a association with the previous error?
The c++ methods are very small (and fast). Maybe a stack problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spurious S110 crash</title><link>https://devzone.nordicsemi.com/thread/3484?ContentTypeID=1</link><pubDate>Sat, 26 Oct 2013 15:09:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acdae9b0-5738-4002-8234-7e11d86d2b6d</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;Ok, the problem occured reproducable in a bit different manner:
src\ll_lm.s0.c: 783
Code: 48879
Occurs everytime when I delegate an irq handler (UART0) to a c++ method like:
gpApp-&amp;gt;mainMCUService.isrUARTRcv(NRF_UART0-&amp;gt;RXD);&lt;/p&gt;
&lt;p&gt;The line numbers are sometimes different in src\ll_lm.s0.c.
I also use c++ delegates together with the timer framework (app_common/timer.c) without no problems or do you see there can be a association with the previous error?
The c++ methods are very small (and fast). Maybe a stack problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spurious S110 crash</title><link>https://devzone.nordicsemi.com/thread/3483?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2013 12:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:470b9c4b-ca08-45c0-9abc-e6e75838147a</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;This fix is unfortunately not yet included in a public release. However, if you can, please submit your code in a support case here: &lt;a target="_blank" href="https://www.nordicsemi.com/eng/supportcase/create" rel="nofollow"&gt;https://www.nordicsemi.com/eng/supportcase/create&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spurious S110 crash</title><link>https://devzone.nordicsemi.com/thread/3482?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2013 12:24:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d23986a6-329b-49cf-82c1-606cbe2753f4</guid><dc:creator>Peer</dc:creator><description>&lt;p&gt;The problem occured only twice within two weeks (one time with the usb breakout board and once with my custom board. Currently I&amp;#39;m not able to reproduce it all. It occured after a relatively long time of successfully operation with only a few BLE attribute changes / connect / disconnect events from host side.&lt;/p&gt;
&lt;p&gt;If I understood you correctly there is a chance that the most recent version of the Softdevice already fixes this (issue)?
If you wan&amp;#39;t I could share the my sources. (In a non-public way). Please tell me where to submit the stuff.
&amp;#39;P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spurious S110 crash</title><link>https://devzone.nordicsemi.com/thread/3481?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2013 12:09:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b54ca6f-d6a6-4a7e-acbb-9b65a4913114</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Do you have an application that consistently triggers this assert? If so, I&amp;#39;d be happy to have a look at the source code and trying to replicate it. If you don&amp;#39;t want to share the source code here in public, feel free to post a support case and include it there. Any code submitted there is handled in confidentiality.&lt;/p&gt;
&lt;p&gt;If this issue only occurs seldom, this could already be covered by a recent fix for a race condition, that will be included in an upcoming softdevice release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>