<?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>hardfault connection parameter update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20631/hardfault-connection-parameter-update</link><description>Hi, 
 My NRF52832 runs into the hardfault handler when the sd_ble_gap_conn_param_update() function is called. 
 I copied the BLE code from the ble_app_template_pca10 project. When I run the code in that project there is no problem, but now the code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Mar 2017 11:15:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20631/hardfault-connection-parameter-update" /><item><title>RE: hardfault connection parameter update</title><link>https://devzone.nordicsemi.com/thread/80424?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 11:15:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:438ae2c7-6875-401f-b2bb-1dec27382615</guid><dc:creator>jroorda</dc:creator><description>&lt;p&gt;Nevermind, I figured out that I accidently set the app_timer IRQ priority to HIGHEST! Now I changed it back to LOW it does not hardfault anymore. Thanks for pointing in the right direction! This case can be labeled as resolved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hardfault connection parameter update</title><link>https://devzone.nordicsemi.com/thread/80423?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 11:06:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbff6ca7-032c-4dc6-93d7-10fa0dea54bc</guid><dc:creator>jroorda</dc:creator><description>&lt;p&gt;I have nothing in my app running on APP_IRP_PRIORITY_HIGH. All the peripherals are configured at IRQ_PRIORITY 7 in sdk_config.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hardfault connection parameter update</title><link>https://devzone.nordicsemi.com/thread/80426?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 10:41:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2be060e3-ee7f-4868-abbd-f9807cd91660</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Okay, I see. Is there anything in your app that is running on higher interrupt priority than the BLE events, do you have anything in your app that is running on the priority APP_IRQ_PRIORITY_HIGH? If so, could you change it to APP_IRQ_PRIORITY_LOW or APP_IRQ_PRIORITY_LOWEST?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hardfault connection parameter update</title><link>https://devzone.nordicsemi.com/thread/80425?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 10:06:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e6ebc4c-40a6-4e2b-ab4c-c6860366f5d6</guid><dc:creator>jroorda</dc:creator><description>&lt;p&gt;It does not return an error code, the MCU runs into a hardfault in the sd_ble_gap_conn_param_update() function. It never returns from that function...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hardfault connection parameter update</title><link>https://devzone.nordicsemi.com/thread/80422?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 10:01:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13aab501-04dc-4d1e-b712-6f9235338617</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Which error code does sd_ble_gap_conn_param_update() return?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>