<?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>Error in SVC handler in NRF52 SDK 0.9.1 with S132</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8279/error-in-svc-handler-in-nrf52-sdk-0-9-1-with-s132</link><description>I am using CMSIS RTOS (RTX) to implement an application for the NRF52 DK. I have found an error in the SVC handler that results in a hard fault when calling a soft device service call function from a thread that uses the FPU. 
 The hard fault occurs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Feb 2016 07:03:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8279/error-in-svc-handler-in-nrf52-sdk-0-9-1-with-s132" /><item><title>RE: Error in SVC handler in NRF52 SDK 0.9.1 with S132</title><link>https://devzone.nordicsemi.com/thread/29858?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2016 07:03:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef0e43b5-a433-4415-8129-d38e408cf12a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Alex, it is bit 2 (not bit 3) that we need to test.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in SVC handler in NRF52 SDK 0.9.1 with S132</title><link>https://devzone.nordicsemi.com/thread/29861?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2015 17:15:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:408be01e-16ad-4afc-8ca6-27f71558bfdd</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I have been looking into this for some time now, I really think that checking bit 2 in LR would be best on Cortex-M4. I will have discussion with softdevice team to correct this. This is a confirmed bug, we have not noticed it on softdevice because in our examples, we have no exception entry with FPU registers pushed onto stack.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in SVC handler in NRF52 SDK 0.9.1 with S132</title><link>https://devzone.nordicsemi.com/thread/29860?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2015 08:03:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c45f376-39d0-410c-8fd6-86750d61bea5</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Thanks for updating us, I will notify this to the softdevice team immediately. I appreciate you coming here with this good information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in SVC handler in NRF52 SDK 0.9.1 with S132</title><link>https://devzone.nordicsemi.com/thread/29859?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2015 08:00:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5000766d-9268-4960-8757-46be6b3366c6</guid><dc:creator>Alex Young</dc:creator><description>&lt;p&gt;Hi Aryan,&lt;/p&gt;
&lt;p&gt;Thanks for looking into this. I have found that the same error exists later in the handler as well at 0x0001d62c.&lt;/p&gt;
&lt;p&gt;Patching the instruction sequence at both locations to:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;tst lr, #4
ite eq
mrseq r1, MSP
mrsne r1, PSP
nop
nop
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;gives a working system.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in SVC handler in NRF52 SDK 0.9.1 with S132</title><link>https://devzone.nordicsemi.com/thread/29857?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2015 11:57:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72fcf4b7-eca7-4f98-8c7f-27c3c48d910f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Alex,
I will start to look into it tomorrow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>