<?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>NRF52833 RTOS PROJECT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84517/nrf52833-rtos-project</link><description>Hello All, 
 I am using NRF52833 in my project. I am also using RTOS in the code. I was previously working on NRF52840 but now I have migrated to NRF52833. I have changed all the required settings but still I am getting error in ble_stack_init function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Feb 2022 12:01:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84517/nrf52833-rtos-project" /><item><title>RE: NRF52833 RTOS PROJECT</title><link>https://devzone.nordicsemi.com/thread/352053?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 12:01:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:708fd047-4db7-4c18-a358-4498a81cf0c1</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;yes everything is fine now :) Thank you for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52833 RTOS PROJECT</title><link>https://devzone.nordicsemi.com/thread/352052?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 11:59:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2490742a-c3bc-4578-9e77-c083b6933c06</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;SoftDevice compatibility differs between SoCs. The various SoftDevices also leads to different starting locations for the application and have different header files (from what I understand including different addresses for API calls). That might explain issues.&lt;/p&gt;
&lt;p&gt;Does this mean you now got everything up and running?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52833 RTOS PROJECT</title><link>https://devzone.nordicsemi.com/thread/352039?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 11:50:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c130082-1ff3-4f73-a09c-5b27475f17aa</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi Terje,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I was actually using s113 softdevice. I tried to change it to s140 and it worked for my device. The rest things were kept as it is but only softdevice was changed from s113 to s140.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Snehal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52833 RTOS PROJECT</title><link>https://devzone.nordicsemi.com/thread/352037?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 11:47:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5426ecb1-bd03-4ce7-b9c9-d63b9a03984a</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;nrf_sdh_enable_request() returns NRF_ERROR_INVALID_STATE (which is 8) if the SoftDevice is already enabled. Have you done any changes to SoftDevice configuration or initialization from the nRF52840 version of the application?&lt;/p&gt;
&lt;p&gt;Oftentimes it can actually be easier to find an nRF52833 example project, and copy the files from the nRF52840 project over to that new project. You could try that approach, to be sure all nRF52833 related includes and settings are correct.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52833 RTOS PROJECT</title><link>https://devzone.nordicsemi.com/thread/351743?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 10:56:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:059515ae-8e1f-48e2-8d47-382ef9b0f043</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi Terje,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I am using&amp;nbsp;17.0.2 sdk version. I tried to debug but it doesnt start properly. I am not able to go into main function,but in RTT terminal I get this error:-&lt;/p&gt;
&lt;p&gt;00&amp;gt; &amp;lt;info&amp;gt; app: TESTING NEW FIRMWARE&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;error&amp;gt; app: ERROR 8 [NRF_ERROR_INVALID_STATE] at D:\SNEHAL\NETOBJEX\PROJECTS\RECHARGE\SOFTWARE\board-bringup-code\MAX17211\firmware-recharge-nrf52833\src\main.c:807&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; PC at: 0x00025D85&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;error&amp;gt; app: End of error report&lt;br /&gt;00&amp;gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;807 line is of&amp;nbsp;nrf_sdh_enable_request() in my main.c.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As you mentioned, I have already changed all preprocessors.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1644317627610v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The system and start up files are also replaced.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1644317661408v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Change debugger settings too.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1644317717721v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1644317764233v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Still I am not able to start my stack. Can you please help me?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52833 RTOS PROJECT</title><link>https://devzone.nordicsemi.com/thread/351741?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 10:46:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb5a3f20-f43e-4eef-8c13-941059b563c9</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What SDK and SDK version are you using?&lt;/p&gt;
&lt;p&gt;Have you done a debug session, figuring out where it fails and with what error message?&lt;/p&gt;
&lt;p&gt;In nRF5 SDK, the SoftDevice is handled by the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Flib_softdevice_handler.html"&gt;SoftDevice Handler library&lt;/a&gt;, so I expect the ble_stack_init function to use the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Fgroup__nrf__sdh.html"&gt;API of that library&lt;/a&gt;, such as nrf_sdh_ble_enable() call. Which function fails, and with what error return value?&lt;/p&gt;
&lt;p&gt;Note that when changing SoC, there are also some preprocessor defines that may need change or adding. For instance, for an nRF52833 project you typically need NRF52_SERIES, NRF52833 and NRF52833_XXAA, while for an nRF52840 project there are NRF52840 equivalents for those preprocessor defines.&lt;/p&gt;
&lt;p&gt;Flash and RAM settings depend both on SoC and on what SoftDevice is used.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>