<?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 an example from pca10056 to pca10056e (Segger embedded studio)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75481/porting-an-example-from-pca10056-to-pca10056e-segger-embedded-studio</link><description>Dear ladies and gentlemen, 
 I found the following page giving instructions for porting an example from pca10056 to pca10056e: 
 https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Fnrf52811_user_guide.html 
 I&amp;#39;m currently</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Jun 2021 11:12:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75481/porting-an-example-from-pca10056-to-pca10056e-segger-embedded-studio" /><item><title>RE: Porting an example from pca10056 to pca10056e (Segger embedded studio)</title><link>https://devzone.nordicsemi.com/thread/312843?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 11:12:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3ab0010-a15c-463e-9b54-06985005de45</guid><dc:creator>RichardHdrd</dc:creator><description>&lt;p&gt;Dear Vidar,&lt;/p&gt;
&lt;p&gt;Thank you again. Now it compiles and I can upload the example. I could get a blink from my LEDs. You helped me a lot, thank you so much!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an example from pca10056 to pca10056e (Segger embedded studio)</title><link>https://devzone.nordicsemi.com/thread/312832?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 10:39:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c60a127-b1e5-48e1-b87f-2264b87c8c96</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Sorry, I should have removed the debug build configuration as there is not enough memory for it. Please make sure to select the release build configuration and not the debug one. &lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1622543920301v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an example from pca10056 to pca10056e (Segger embedded studio)</title><link>https://devzone.nordicsemi.com/thread/312830?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 10:35:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9f06c25-5eda-4366-8332-2f339d6ce0f6</guid><dc:creator>RichardHdrd</dc:creator><description>&lt;p&gt;Dear Vidar,&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;I downloaded and unzipped the example.&lt;/p&gt;
&lt;p&gt;I closed the solution in Segger Embedded Studio.&lt;/p&gt;
&lt;p&gt;I renamed my dir with prior port effort to pca10056e, placed the unzipped dir (pca10056e) into: &lt;/p&gt;
&lt;p&gt;nRF5_SDK_17.0.2_d674dde/examples/ble_central/ble_app_uart_c/&lt;/p&gt;
&lt;p&gt;In SES, I opened the now-present:&lt;/p&gt;
&lt;p&gt;nRF5_SDK_17.0.2_d674dde/examples/ble_central/ble_app_uart_c/pca10056e/s140/ses/ble_app_uart_c_pca10056e_s140.emProject&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;During compilation, I get the following errors:&lt;/p&gt;
&lt;p&gt;.rodata is too large to fit in FLASH memory segment&lt;/p&gt;
&lt;p&gt;.data is too large to fit in FLASH memory segment&lt;/p&gt;
&lt;p&gt;So, I assume that there are still other necessary modifications to the configuration?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an example from pca10056 to pca10056e (Segger embedded studio)</title><link>https://devzone.nordicsemi.com/thread/312816?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 10:11:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98bc8db8-4fe4-46f2-9607-1b838b683091</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello Richard,&lt;/p&gt;
&lt;p&gt;Maybe I misunderstood what you meant, but SDK 17.0.2 does not include a &amp;#39;PCA10056&lt;strong&gt;e&amp;#39;&lt;/strong&gt; configuration for the ble_app_uart_c example in \examples\ble_central\.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1622541169392v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Anyway. I have made a &amp;quot;pca10056e&amp;quot; project now that you may try:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pca10056e.zip"&gt;devzone.nordicsemi.com/.../pca10056e.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Just keep in mind that it&amp;#39;s not thoroughly tested. I only made sure it didn&amp;#39;t trigger any code assertions on startup.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an example from pca10056 to pca10056e (Segger embedded studio)</title><link>https://devzone.nordicsemi.com/thread/312796?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 09:15:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0209e0b8-ac4e-4cea-a70d-617a205ce1f3</guid><dc:creator>RichardHdrd</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;From your hint and my efforts so far, I deduct, that the given example from SDK does not work out of the box, event though suggesting it is already adjusted for using S140 on a 52811, as both relevant things are named in the path:&lt;/p&gt;
&lt;p&gt;nRF5_SDK_17.0.2_d674dde/.../.../.../pca10056e/s140/...&lt;/p&gt;
&lt;p&gt;I tried to adjust the .emProject file to keep with S140 and also adjust to the settings of a working S112 peripheral example, but now I think the problem is:&lt;/p&gt;
&lt;p&gt;&amp;lt;quote1 from center.original.emProject, I guess suited for 52840 (and S140?):&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linker_section_placement_macros=&amp;quot;FLASH_PH_START=0x0;FLASH_PH_SIZE=0x100000;RAM_PH_START=0x20000000;RAM_PH_SIZE=0x40000;FLASH_START=0x27000;FLASH_SIZE=0xd9000;RAM_START=0x20002a38;RAM_SIZE=0x3d5c8&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linker_section_placements_segments=&amp;quot;FLASH RX 0x0 0x100000;RAM1 RWX 0x20000000 0x40000&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;lt;/quote1&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;quote2 from some peripheralBeacon.emProject, I guess suited for 52811 (and S112):&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linker_section_placement_macros=&amp;quot;FLASH_PH_START=0x0;FLASH_PH_SIZE=0x30000;RAM_PH_START=0x20000000;RAM_PH_SIZE=0x6000;FLASH_START=0x19000;FLASH_SIZE=0x17000;RAM_START=0x20001118;RAM_SIZE=0x4ee8&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linker_section_placements_segments=&amp;quot;FLASH RX 0x0 0x30000;RAM1 RWX 0x20000000 0x6000&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;lt;/quote2&amp;gt;&lt;/p&gt;
&lt;p&gt;If I simply replace quote1 by quote2, I can compile the center project, but when I want to upload, I get:&lt;/p&gt;
&lt;p&gt;&amp;quot;Some of the HEX files have overlapping data.&amp;quot;&lt;/p&gt;
&lt;p&gt;So I guess, that there needs to be a merge of settings between both quoted blocks, but as I do not know, what the meaning specific entries is, I&amp;#39;m quite lost here.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an example from pca10056 to pca10056e (Segger embedded studio)</title><link>https://devzone.nordicsemi.com/thread/312459?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 16:43:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4a9d346-2108-4fb9-9283-2562fb3ea635</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Richard,&lt;/p&gt;
&lt;p&gt;Getting a &amp;quot;Stopped by vector catch&amp;quot; before reaching main() is usually a indication of invalid memory settings for the target device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you adjust RAM_START and RAM_SIZE macros in your project to not exceed the RAM memory range on your 52811? Remember that it only has 24K of RAM compared to the 256KB you have on the 52840. So please make sure RAM_START+ RAM_SIZE does not exceed 0x20006000 (24K).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an example from pca10056 to pca10056e (Segger embedded studio)</title><link>https://devzone.nordicsemi.com/thread/312391?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 13:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab4b4366-35d1-4226-b5ad-c036ffdb3414</guid><dc:creator>RichardHdrd</dc:creator><description>&lt;p&gt;Dear Community.&lt;/p&gt;
&lt;p&gt;Following hints of Vidar, I finally chose to use the only given project in the SDK collection that offers pca10056e and S140 support from snatch:&lt;/p&gt;
&lt;p&gt;nRF5_SDK_17.0.2_d674dde/examples/ble_central/ble_app_uart_c/pca10056e/s140/ses&lt;/p&gt;
&lt;p&gt;I compiled and installed the code to a BM833A Evaluation board containing a nRF 52811 chip. This resulted in nothing: neither was the board detectable by using App nRF Connect nor did I receive any data on USB-connected virtual serial port.&lt;/p&gt;
&lt;p&gt;Segger Debugger stops in Assemblercode 0x0000A60 stating &amp;quot;Stopped by vector catch&amp;quot; before I reach first line&amp;#39;s code breakpoint which is command log_init().&lt;/p&gt;
&lt;p&gt;But the compatibility matrix that vidar posted suggests, that the S140 is running on nRF52811 SoC.&lt;/p&gt;
&lt;p&gt;I tried to modify the named ble_app_uart_c example&amp;#39;s main to:&lt;/p&gt;
&lt;p&gt;int main(void) &lt;br /&gt;{ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;uint32_t i; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (i = 0; i &amp;lt; 32; ++i) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_gpio_cfg_output(i); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_gpio_pin_set(i); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (;;) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; idle_state_handle(); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;I compiled the example and uploaded (s140_nrf52_7.2.0_softdevice.hex, ble_app_uart_c_pca10056_s140.hex) without problem. Still, The LEDs on BM833A Evaluation board stayed off.&lt;/p&gt;
&lt;p&gt;Has anyone ever created a minimal example (maybe just switch on a LED) that shows operation for S140 and is willing to provide it here?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an example from pca10056 to pca10056e (Segger embedded studio)</title><link>https://devzone.nordicsemi.com/thread/311766?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 11:47:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7535cc35-2b28-4367-9d70-e1b2b395dad0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, if you need to select the either the s140 or s122 Softdevice if you want to support scanning. A table of compatible Softdevice versions and variants can be found here: &lt;span&gt;&lt;a title="SDKs and SoftDevices " href="https://infocenter.nordicsemi.com/topic/comp_matrix_nrf52811/COMP/nrf52811/nrf52811_ic_rev_sdk_sd_comp_matrix.html?cp=4_4_3_2"&gt;SDKs and SoftDevices &lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an example from pca10056 to pca10056e (Segger embedded studio)</title><link>https://devzone.nordicsemi.com/thread/311765?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 11:47:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37735ae0-86db-4b67-ad22-b155073b08f0</guid><dc:creator>RichardHdrd</dc:creator><description>&lt;p&gt;Thank you again, I will do that.&lt;/p&gt;
&lt;p&gt;Are there any known restrictions that prohibit the combination of using pca10056e and S140 as softdevice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an example from pca10056 to pca10056e (Segger embedded studio)</title><link>https://devzone.nordicsemi.com/thread/311758?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 11:35:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a5bff1d-9afb-4626-bea7-1cf9546dbd88</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello Richard,&lt;/p&gt;
&lt;p&gt;I recommend you find another pca10056e project in the SDK and use that as a reference, I wouldn&amp;#39;t be able to fit everything in a screenshot anyway.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an example from pca10056 to pca10056e (Segger embedded studio)</title><link>https://devzone.nordicsemi.com/thread/311755?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 11:30:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11e93164-e0e3-4d73-a016-994a94f438c7</guid><dc:creator>RichardHdrd</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;Thank you for your advice. Sadly, the screenshots posted with your instruction are cut off right for some parameters. Would you be so kind as to re-post with complete parameter lines (especially the left part)?&lt;/p&gt;
&lt;p&gt;Furthermore: from youre suggested config-modification, it seems that the used softdevice gets changed from S140 to S112?&lt;/p&gt;
&lt;p&gt;Reading several threads, I concluded, that S112 is not suited for BLE scanning:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29707/ble-scanning-with-nrf52810-and-s112"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/29707/ble-scanning-with-nrf52810-and-s112&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52897/ble-scan-on-nrf52811"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/52897/ble-scan-on-nrf52811&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As my final platform is a BM833A using nrf52811, I think that the second thread advises to go with softdevice S140?&lt;/p&gt;
&lt;p&gt;Is there a restriction for staying with S140?&lt;/p&gt;
&lt;p&gt;Thanks in advance for any help,&lt;/p&gt;
&lt;p&gt;Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an example from pca10056 to pca10056e (Segger embedded studio)</title><link>https://devzone.nordicsemi.com/thread/311734?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 11:07:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccc0f3e8-0752-4729-a7fd-e0acaa459a6a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;There is usually not a lot of differences between &lt;strong&gt;&amp;#39;&lt;/strong&gt;pca10056&lt;strong&gt;e&amp;#39;&lt;/strong&gt; configuration and a &amp;#39;pca10056&amp;#39; one. What I usually do when porting a project like this is to first make a copy of the existing pca10056 project and rename it to pca10056e, then I open the *emProject file in a text editor and update the device specific settings and startup files. I have circled around the fields that will differ between a pca10056&lt;strong&gt;e &lt;/strong&gt;and a pca10056 project in the picture below.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1622027127823v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an example from pca10056 to pca10056e (Segger embedded studio)</title><link>https://devzone.nordicsemi.com/thread/311170?ContentTypeID=1</link><pubDate>Sat, 22 May 2021 13:13:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9167a713-bfbd-4f75-8eb4-1983364eb6b3</guid><dc:creator>awneil</dc:creator><description>[quote userid="103815" url="~/f/nordic-q-a/75481/porting-an-example-from-pca10056-to-pca10056e-segger-embedded-studio"]I found the following page giving instructions for porting an example from pca10056 to pca10056e[/quote]
&lt;p&gt;See also:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33812/developing-for-nrf52810---the-full-story"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/33812/developing-for-nrf52810---the-full-story&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>