<?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>Problem with migrating project from custom board based on nRF52832 to a custom board nRF52833</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92836/problem-with-migrating-project-from-custom-board-based-on-nrf52832-to-a-custom-board-nrf52833</link><description>I have a working project on a custom board based on nRF52832 ( PCA10040, S132). This board is a BLE Peripheral. 
 My task is to migrate this to a custom board based on nRF52833 ( PCA10100, S113). 
 The current status is I am able to compile the code on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Oct 2022 09:39:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92836/problem-with-migrating-project-from-custom-board-based-on-nrf52832-to-a-custom-board-nrf52833" /><item><title>RE: Problem with migrating project from custom board based on nRF52832 to a custom board nRF52833</title><link>https://devzone.nordicsemi.com/thread/390773?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2022 09:39:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34508fc5-03ad-47a6-9c36-bd9ccb889985</guid><dc:creator>Murthy Udupa</dc:creator><description>&lt;p&gt;I adjusted the RAM_START as below:&lt;/p&gt;
&lt;p&gt;The Application size 112536 byes as indicated on bootloader setting. Assumed 114k or 0x1C800&lt;/p&gt;
&lt;p&gt;Therefore RAM_START = 0x20020000 - 0x1C800 = 0x200003800 (I am not entirely sure if this method of arriving at RAM_START value is correct)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/CleanShot-2022_2D00_10_2D00_14-at-11.55.56.png" /&gt;&lt;/p&gt;
&lt;p&gt;The debug output suggested new values for RAM_START and RAM_SIZE&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;info&amp;gt; app: 

------------------
 Logging initiated
 Starting main()
&amp;lt;info&amp;gt; app:  Reset Status 2 

&amp;lt;info&amp;gt; app: Setting vector table to bootloader: 0x00078000
&amp;lt;info&amp;gt; app: Setting vector table to main app: 0x0001C000
&amp;lt;debug&amp;gt; app:  BLE DFU service interupts enabled
&amp;lt;info&amp;gt; app_timer: RTC: initialized.
&amp;lt;debug&amp;gt; app:  Timer initialised
&amp;lt;debug&amp;gt; app:  Power management initialised
&amp;lt;debug&amp;gt; app: Attempting BLE Stack init
&amp;lt;debug&amp;gt; nrf_sdh: State request: 0x00000000
&amp;lt;debug&amp;gt; nrf_sdh: Notify observer 0x00033080 =&amp;gt; ready
&amp;lt;debug&amp;gt; nrf_sdh: State change: 0x00000000
&amp;lt;debug&amp;gt; nrf_sdh: State change: 0x00000001
&amp;lt;debug&amp;gt; app: RAM Start Address 0x20003800
&amp;lt;debug&amp;gt; app: nrg_sdh_ble_default_cfg_set: returned : 0
&amp;lt;debug&amp;gt; nrf_sdh_ble: RAM starts at 0x20003800
&amp;lt;debug&amp;gt; nrf_sdh_ble: RAM start location can be adjusted to 0x20002638.
&amp;lt;debug&amp;gt; nrf_sdh_ble: RAM size for application can be adjusted to 0x1D9C8.
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;After changing the RAM_START and RAM_SIZE I was able to proceed. Thanks for the help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with migrating project from custom board based on nRF52832 to a custom board nRF52833</title><link>https://devzone.nordicsemi.com/thread/390656?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 13:06:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:287b48be-a191-4439-b520-e370c721a5ac</guid><dc:creator>Murthy Udupa</dc:creator><description>&lt;p&gt;Sigurd,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. I was struggling to get debug output inspite of enabling NRF_LOG_ENABLE and NRF_LOG_BACKEND_RTT. I had to flash the board first then &amp;#39;Attach Debugger` to make it work.&lt;/p&gt;
&lt;p&gt;Here is the debug output:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;info&amp;gt; app: Kosha Device main()
&amp;lt;info&amp;gt; app: &amp;lt;app&amp;gt; info : Reset Status 2 

&amp;lt;info&amp;gt; app: Setting vector table to bootloader: 0x00078000
&amp;lt;info&amp;gt; app: Setting vector table to main app: 0x0001C000
&amp;lt;debug&amp;gt; app: ble dfu service interupts enabled
&amp;lt;info&amp;gt; app_timer: RTC: initialized.
&amp;lt;debug&amp;gt; app: timer initialised
&amp;lt;debug&amp;gt; app: power management initialised
&amp;lt;debug&amp;gt; app: Got RAM Start address
&amp;lt;warning&amp;gt; nrf_sdh_ble: Insufficient RAM allocated for the SoftDevice.
2608 to 0x20002638.
C8.

&amp;lt;error&amp;gt; app: End of error report&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am reading &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;this tutorial&lt;/a&gt;&amp;nbsp; to see how I can make adjustments to RAM&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with migrating project from custom board based on nRF52832 to a custom board nRF52833</title><link>https://devzone.nordicsemi.com/thread/390626?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 11:43:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd183270-0700-416a-93c0-eb7c3d7df37c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you tried debugging your project, and see where it fails?&lt;/p&gt;
&lt;p&gt;See e.g. this video on how to debug:&amp;nbsp;&lt;a href="https://www.youtube.com/watch?v=uP8RYgYGRvI&amp;amp;ab_channel=NordicSemiconductor"&gt;https://www.youtube.com/watch?v=uP8RYgYGRvI&amp;amp;ab_channel=NordicSemiconductor&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>