<?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 nrf52832 xxab.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30161/problem-with-nrf52832-xxab</link><description>I use a development board with nrf52832 xxaa, BLE demo from SDK works. But I created own board but with nrf52832 xxab(less ROM and RAM) and changed configuration in IAR project to xxab mcu and changed size of the RAM and ROM in Linker - it stucks when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Feb 2018 15:41:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30161/problem-with-nrf52832-xxab" /><item><title>RE: Problem with nrf52832 xxab.</title><link>https://devzone.nordicsemi.com/thread/119797?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 15:41:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58cd9653-317b-4713-8bcc-53941e844ab7</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If you are using the softdevice, you need to flash the softdevice along with your application, as described in the&amp;nbsp;&lt;a title="Running examples that use a SoftDevice" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/getting_started_softdevice.html?cp=4_0_0_1_3"&gt;Running examples that use a SoftDevice&lt;/a&gt;&amp;nbsp;chapter in the SDK documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with nrf52832 xxab.</title><link>https://devzone.nordicsemi.com/thread/119793?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 15:35:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7b6f691-4fb2-4493-bc69-df84b4532c08</guid><dc:creator>Sergii</dc:creator><description>&lt;p&gt;and tried to run from:&amp;nbsp;&lt;span&gt;0x00023000&lt;br /&gt;One question:&lt;br /&gt;Do I need to load some lib to the flash memory before load my program?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with nrf52832 xxab.</title><link>https://devzone.nordicsemi.com/thread/119792?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 15:30:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed3a303d-dcd1-4a39-8f75-1572867326a5</guid><dc:creator>Sergii</dc:creator><description>&lt;p&gt;I tried with SDK 14&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with nrf52832 xxab.</title><link>https://devzone.nordicsemi.com/thread/119782?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 15:06:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6be57f8-96d9-4633-89a0-c801b1d7e3ad</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If you are using a softdevice, the softdevice will be located in the start of flash (ROM), as described in the&amp;nbsp;&lt;a title="SoftDevice memory usage" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/mem_usage/mem_usage.html?cp=2_3_1_0_13"&gt;SoftDevice memory usage&lt;/a&gt;&amp;nbsp;specifications. Which SDK and softdevice version are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with nrf52832 xxab.</title><link>https://devzone.nordicsemi.com/thread/119736?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 12:22:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47047920-bc56-4e8d-9a8c-a118ad82c459</guid><dc:creator>Sergii</dc:creator><description>&lt;p&gt;ROM start from 0x000000000, see page 24&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/pdf/nRF52832_PS_v1.1.pdf"&gt;infocenter.nordicsemi.com/.../nRF52832_PS_v1.1.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with nrf52832 xxab.</title><link>https://devzone.nordicsemi.com/thread/119656?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 03:00:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8885e7a-7b21-4b20-93e7-2b24494cbc27</guid><dc:creator>Hein</dc:creator><description>&lt;p&gt;In your first linker file, it doesn&amp;#39;t seem reasonable that the ROM would start @ 0x00000, What is currently your start address and length for RAM and ROM ? Are you using a Soft Device ? What error is the linker giving you ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with nrf52832 xxab.</title><link>https://devzone.nordicsemi.com/thread/119652?ContentTypeID=1</link><pubDate>Sun, 04 Feb 2018 21:39:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26066f42-5d14-4820-844d-1ac94546935b</guid><dc:creator>Sergii</dc:creator><description>&lt;p&gt;The RAM and ROM in Linker were changed to 256k ROM and 32 kRAM.(in the Linker code which I sent - it&amp;#39;s changed)&lt;/p&gt;
&lt;p&gt;I&amp;nbsp; tested with&amp;nbsp;&lt;span&gt;#define NRF_SDH_CLOCK_LF_SRC 0 too, the same(, but I see in asm code, it stucked in handler:&lt;br /&gt;SVC_Handler&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For example for xxaa was Linker file:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;/*###ICF### Section handled by ICF editor, don&amp;#39;t touch! ****/&lt;br /&gt;/*-Editor annotation file-*/&lt;br /&gt;/* IcfEditorFile=&amp;quot;$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml&amp;quot; */&lt;br /&gt;/*-Specials-*/&lt;br /&gt;define symbol __ICFEDIT_intvec_start__ = 0x23000;&lt;br /&gt;/*-Memory Regions-*/&lt;br /&gt;define symbol __ICFEDIT_region_ROM_start__ = 0x23000;&lt;br /&gt;define symbol __ICFEDIT_region_ROM_end__ = 0x7ffff;&lt;br /&gt;define symbol __ICFEDIT_region_RAM_start__ = 0x20001720;&lt;br /&gt;define symbol __ICFEDIT_region_RAM_end__ = 0x2000ffff;&lt;br /&gt;export symbol __ICFEDIT_region_RAM_start__;&lt;br /&gt;export symbol __ICFEDIT_region_RAM_end__;&lt;br /&gt;/*-Sizes-*/&lt;br /&gt;define symbol __ICFEDIT_size_cstack__ = 0x800;&lt;br /&gt;define symbol __ICFEDIT_size_heap__ = 0x200;&lt;br /&gt;/**** End of ICF editor section. ###ICF###*/&lt;/p&gt;
&lt;p&gt;define memory mem with size = 4G;&lt;br /&gt;define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];&lt;br /&gt;define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];&lt;/p&gt;
&lt;p&gt;define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };&lt;br /&gt;define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };&lt;/p&gt;
&lt;p&gt;initialize by copy { readwrite };&lt;br /&gt;do not initialize { section .noinit };&lt;/p&gt;
&lt;p&gt;keep { section .intvec };&lt;br /&gt;place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };&lt;br /&gt;place in ROM_region { readonly };&lt;br /&gt;place in RAM_region { readwrite,&lt;br /&gt; block CSTACK,&lt;br /&gt; block HEAP };&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But when I change the addresses from:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;define symbol __ICFEDIT_region_ROM_end__ = 0x7ffff;-&amp;gt;define symbol __ICFEDIT_region_ROM_end__ = 0x3ffff;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;define symbol __ICFEDIT_region_RAM_end__ = 0x2000ffff;-&amp;gt;define symbol __ICFEDIT_region_RAM_end__ = 0x20007fff;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It doesn&amp;#39;t start.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with nrf52832 xxab.</title><link>https://devzone.nordicsemi.com/thread/119651?ContentTypeID=1</link><pubDate>Sun, 04 Feb 2018 21:06:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95810b08-6ba3-4752-9e84-87114d70b5ad</guid><dc:creator>Hein</dc:creator><description>&lt;p&gt;Yes, if your new chip has less flash and ram, you will definitely have to update the linker file. Should be reasonably straightforward to work out the new sizes.&lt;/p&gt;
&lt;p&gt;I would look at the example project linker files to work out the start and size of the flash and ram, then update those for the smaller capacity chip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with nrf52832 xxab.</title><link>https://devzone.nordicsemi.com/thread/119650?ContentTypeID=1</link><pubDate>Sun, 04 Feb 2018 21:04:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09a63c35-92a7-41e2-b27e-6b28df624a5a</guid><dc:creator>Hein</dc:creator><description>&lt;p&gt;I think you want to change it to 0 (not 2) for RC ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with nrf52832 xxab.</title><link>https://devzone.nordicsemi.com/thread/119649?ContentTypeID=1</link><pubDate>Sun, 04 Feb 2018 21:03:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:901d2f40-751e-414d-8e04-75eaf1f86830</guid><dc:creator>Sergii</dc:creator><description>&lt;p&gt;do I need to change Linker?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with nrf52832 xxab.</title><link>https://devzone.nordicsemi.com/thread/119648?ContentTypeID=1</link><pubDate>Sun, 04 Feb 2018 20:40:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cbab4c4-2c5e-40ff-9530-5beadc0f3345</guid><dc:creator>Sergii</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for your responce, I tried to do it and got an error, but fuction out. I will write the code in 10 minutes&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Tried to change 1 to 2:&lt;/p&gt;
&lt;p&gt;// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC // &amp;lt;1=&amp;gt; NRF_CLOCK_LF_SRC_XTAL // &amp;lt;2=&amp;gt; NRF_CLOCK_LF_SRC_SYNTH&lt;/p&gt;
&lt;p&gt;#ifndef NRF_SDH_CLOCK_LF_SRC&lt;/p&gt;
&lt;p&gt;#define NRF_SDH_CLOCK_LF_SRC 2&lt;/p&gt;
&lt;p&gt;#endif&lt;/p&gt;
&lt;p&gt;The same, but I put in linker file:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;/*###ICF### Section handled by ICF editor, don&amp;#39;t touch! ****/&lt;br /&gt;/*-Editor annotation file-*/&lt;br /&gt;/* IcfEditorFile=&amp;quot;$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml&amp;quot; */&lt;br /&gt;/*-Specials-*/&lt;br /&gt;define symbol __ICFEDIT_intvec_start__ = 0x0000;&lt;br /&gt;/*-Memory Regions-*/&lt;br /&gt;define symbol __ICFEDIT_region_ROM_start__ = 0x00000;&lt;br /&gt;define symbol __ICFEDIT_region_ROM_end__ = 0x0003FFFF;&lt;br /&gt;define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;&lt;br /&gt;define symbol __ICFEDIT_region_RAM_end__ = 0x20007FFF;&lt;br /&gt;export symbol __ICFEDIT_region_RAM_start__;&lt;br /&gt;export symbol __ICFEDIT_region_RAM_end__;&lt;br /&gt;/*-Sizes-*/&lt;br /&gt;define symbol __ICFEDIT_size_cstack__ = 0x900;&lt;br /&gt;define symbol __ICFEDIT_size_heap__ = 0x800;&lt;br /&gt;/**** End of ICF editor section. ###ICF###*/&lt;/p&gt;
&lt;p&gt;define memory mem with size = 4G;&lt;br /&gt;define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];&lt;br /&gt;define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];&lt;/p&gt;
&lt;p&gt;define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };&lt;br /&gt;define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };&lt;/p&gt;
&lt;p&gt;initialize by copy { readwrite };&lt;br /&gt;do not initialize { section .noinit };&lt;/p&gt;
&lt;p&gt;keep { section .intvec };&lt;br /&gt;place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };&lt;br /&gt;place in ROM_region { readonly };&lt;br /&gt;place in RAM_region { readwrite,&lt;br /&gt; block CSTACK,&lt;br /&gt; block HEAP };&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with nrf52832 xxab.</title><link>https://devzone.nordicsemi.com/thread/119646?ContentTypeID=1</link><pubDate>Sun, 04 Feb 2018 20:35:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:090a23fa-f9a7-493c-b03c-01f224ae99f7</guid><dc:creator>Hein</dc:creator><description>&lt;p&gt;Have a look at the&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;#define NRF_SDH_CLOCK_LF_SRC 1&lt;/pre&gt; in your sdk config file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>