<?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>NRF51822 ARMGCC FreeRTOS vTaskDelay not Work.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18157/nrf51822-armgcc-freertos-vtaskdelay-not-work</link><description>very sample led blink demo for FreeRTOS and S130 , but fail. 
 open source 
 repo: https://github.com/AMJKeyboard/AMJPureBLEKbd 
 eror code: https://github.com/AMJKeyboard/AMJPureBLEKbd/blob/master/src/main.c#L105 
 GDB error info: 
 Breakpoint 1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Dec 2016 13:33:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18157/nrf51822-armgcc-freertos-vtaskdelay-not-work" /><item><title>RE: NRF51822 ARMGCC FreeRTOS vTaskDelay not Work.</title><link>https://devzone.nordicsemi.com/thread/70077?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2016 13:33:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:480bb9ec-c237-46fc-9dab-397cea88ebfe</guid><dc:creator>HanChen</dc:creator><description>&lt;p&gt;thanks.&lt;/p&gt;
&lt;p&gt;remove define.
-DS130  -DSOFTDEVICE_PRESENT -DBLE_STACK_SUPPORT_REQD&lt;/p&gt;
&lt;p&gt;Now everything is normal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 ARMGCC FreeRTOS vTaskDelay not Work.</title><link>https://devzone.nordicsemi.com/thread/70076?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2016 09:06:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46d8c258-8a3f-4ac4-a19f-f56450bfe20b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Looking at the softdevice assert and the PC value, it is quite clear that you are still configuring the power/clock without using sd_xxx API after enabling the softdevice. Try to find the place where you are configuring power/clock registers or enabling interrupt/events which is not allowed if you are not using sd_xxx API.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 ARMGCC FreeRTOS vTaskDelay not Work.</title><link>https://devzone.nordicsemi.com/thread/70075?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 17:17:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c552ed3a-6e0e-4542-8ad6-5ec81669cdc3</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;You cannot enable this IRQ as POWER/CLOCK is not available for application, you can do this when not using softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 ARMGCC FreeRTOS vTaskDelay not Work.</title><link>https://devzone.nordicsemi.com/thread/70074?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 17:07:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82139e5c-9ef6-4516-891f-2963db0a62ae</guid><dc:creator>HanChen</dc:creator><description>&lt;p&gt;freertos demo use:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/* Initialize clock driver for better time accuracy in FREERTOS */
err_code = nrf_drv_clock_init();
APP_ERROR_CHECK(err_code);


./components/device/nrf51.h:75:  POWER_CLOCK_IRQn              =   0,              /*!&amp;lt;   0  POWER_CLOCK                                                      */
./components/device/nrf52.h:80:  POWER_CLOCK_IRQn              =   0,              /*!&amp;lt;   0  POWER_CLOCK                                                      */
./components/drivers_nrf/clock/nrf_drv_clock.c:140:    nrf_drv_common_irq_enable(POWER_CLOCK_IRQn, CLOCK_CONFIG_IRQ_PRIORITY);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Freertos and softdevice&lt;/p&gt;
&lt;p&gt;Can only use one?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 ARMGCC FreeRTOS vTaskDelay not Work.</title><link>https://devzone.nordicsemi.com/thread/70073?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 16:39:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecaefcf8-51a6-4b2e-8ff1-a3ce432622f7</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;most likely you forgot to set the priority of a interrupt using NVIC_SetPriority , which defaulted to priority level 0 or you are enabling interrupt of a peripheral reserved by softdevice, both of which are not allowed by softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 ARMGCC FreeRTOS vTaskDelay not Work.</title><link>https://devzone.nordicsemi.com/thread/70072?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 16:10:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e184f708-7444-4879-801c-6ae53d2dca75</guid><dc:creator>HanChen</dc:creator><description>&lt;p&gt;S130 SoftDevice v2.0.1  ,
ic_info_get rev:3&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 ARMGCC FreeRTOS vTaskDelay not Work.</title><link>https://devzone.nordicsemi.com/thread/70071?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 13:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2be5e04-6bb1-474c-95c2-1d9d22efc0f4</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi, Which version of S130 did you use and please try this with latest SDK?
If your chip version is old and not compatible with latest SDK then please tell me which version of chip you are using.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>