<?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>Porting s140 from nRF52840 to nRF52833</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77688/porting-s140-from-nrf52840-to-nrf52833</link><description>Hi, 
 I have been working with a nRF52840 DK up until now, but I need to change and move to a nRF52833 DK. I wanted to adapt my code as they can both use the softdevice I am using, s140. 
 Unfortunately, the HRS example I am using on pca10056 is not available</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Aug 2021 08:30:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77688/porting-s140-from-nrf52840-to-nrf52833" /><item><title>RE: Porting s140 from nRF52840 to nRF52833</title><link>https://devzone.nordicsemi.com/thread/323017?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 08:30:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff7be3c3-7dbc-488d-bd46-ecba25c550b4</guid><dc:creator>FM37</dc:creator><description>&lt;p&gt;Hi J&amp;oslash;rgen,&lt;/p&gt;
&lt;p&gt;That works perfectly after a little RAM_START change to adapt. Changing all the previous steps as well as the backend did the trick since I am using the same softdevice. &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you very much for the help !&lt;/p&gt;
&lt;p&gt;FM&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting s140 from nRF52840 to nRF52833</title><link>https://devzone.nordicsemi.com/thread/322843?ContentTypeID=1</link><pubDate>Mon, 02 Aug 2021 11:18:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06528cc2-544a-4bc5-8579-46d824f7c610</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is a few additional things that needs to be changed in the ble_app_hrs example when moving from nRF52840 to nRF52833.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;RAM and Flash size is halved in nRF52833, so you need to reduce the size accordingly.&lt;/li&gt;
&lt;li&gt;nRF52833 does not have HW Cryptocell peripheral. You need to change the crypto backend crom CC310 to one of the software backends.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here is a diff of the changes in emProject and sdk_config.h files:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/emProject.diff"&gt;devzone.nordicsemi.com/.../emProject.diff&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/sdk_5F00_config.diff"&gt;devzone.nordicsemi.com/.../sdk_5F00_config.diff&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting s140 from nRF52840 to nRF52833</title><link>https://devzone.nordicsemi.com/thread/321962?ContentTypeID=1</link><pubDate>Tue, 27 Jul 2021 07:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08d04419-8976-4941-a5ad-b8250f69bf77</guid><dc:creator>FM37</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am bumping this post since it has been a few days. Creating a new project and changing only the two parameters mentionned previously is not enough for the code to work as I still get a hardfault.&lt;/p&gt;
&lt;p&gt;What should I change as well to make it work on pca10100 ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;FM&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting s140 from nRF52840 to nRF52833</title><link>https://devzone.nordicsemi.com/thread/321345?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 12:12:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b638a03-70cb-41ae-8619-e73e78e7a6f9</guid><dc:creator>FM37</dc:creator><description>[quote userid="73427" url="~/f/nordic-q-a/77688/porting-s140-from-nrf52840-to-nrf52833/321311#321311"]I don&amp;#39;t think you need to replace the ses_startup files.[/quote]
&lt;p&gt;That&amp;#39;s what I thought but I tried it nonetheless seeing it was not working.&lt;/p&gt;
[quote userid="73427" url="~/f/nordic-q-a/77688/porting-s140-from-nrf52840-to-nrf52833/321311#321311"]Did you tried changing only the things I wrote in my answer?[/quote]
&lt;p&gt;That is exactly what I did first with modifying anything else but I was still getting a hardfault, so I tried other things after what you told me to do.&lt;/p&gt;
[quote userid="73427" url="~/f/nordic-q-a/77688/porting-s140-from-nrf52840-to-nrf52833/321311#321311"]&amp;nbsp;What do you mean by that?[/quote]
&lt;p&gt;What I meant was that I was still getting a hardfault (stopped by vector catch).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anything else I could try ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting s140 from nRF52840 to nRF52833</title><link>https://devzone.nordicsemi.com/thread/321311?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 11:03:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:339621d8-575e-474b-8473-55b87c380ddc</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think you need to replace the ses_startup files.&lt;/p&gt;
&lt;p&gt;The first picture it looks like you are changing the debug parameters but not the preprocessor defines?&lt;/p&gt;
&lt;p&gt;Did you tried changing only the things I wrote in my answer?&lt;/p&gt;
[quote user="FM37"]It does not work as well.[/quote]
&lt;p&gt;&amp;nbsp;What do you mean by that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting s140 from nRF52840 to nRF52833</title><link>https://devzone.nordicsemi.com/thread/321237?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 07:20:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdb0fa52-8254-4377-b53b-419563ba5ee4</guid><dc:creator>FM37</dc:creator><description>&lt;p&gt;Hi Marjeris,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I just tried this with an unmodified copy of ble_app_hrs example with touching anything else. It does not work as well. After that I tried to change the debugger parameters as well, ended up with a hardfault error as well.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/340x240/__key/communityserver-discussions-components-files/4/debugger-param.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;After that I tried to replace again ses_startup_nrf52840.s and system_nrf52840.c by the nrf52833 versions (though it might not useful), but I obviously got a huge list of errors:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/errors-nrf52833.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Any thoughts on what needs modifying as well ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;FM&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting s140 from nRF52840 to nRF52833</title><link>https://devzone.nordicsemi.com/thread/321064?ContentTypeID=1</link><pubDate>Wed, 21 Jul 2021 09:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32c517df-fe9f-423b-b2c4-d1a05fe6e740</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try again from a clean copy of the ble_app_hrs example for PCA10056 and follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the project options by right clicking &amp;quot;Project &amp;#39;ble_app_hrs_pca10056_s140&amp;#39;&amp;quot; in the drop-down menu.&lt;/li&gt;
&lt;li&gt;Change your configuration from Release to Common.&lt;/li&gt;
&lt;li&gt;Change to the following preprocessor definitions, BOARD_PCA10100 and nRF52833_XXAA.&lt;/li&gt;
&lt;li&gt;No need to change FLASH START/SIZE since using the same Softdevice.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/projectoptions.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/preprocessordef.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;That should be it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>