<?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>FW works on nRF51 DK but when I flash in my target board it doesn&amp;#39;t.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45568/fw-works-on-nrf51-dk-but-when-i-flash-in-my-target-board-it-doesn-t</link><description>I developed an application based on ble_app_uart and it is working on my nRF51 DK. I can see the ports driven by my application responding and Bluetooth communication is working perfectly. 
 I generated the HEX file as &amp;quot;Additional output format&amp;quot; in the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Apr 2019 11:20:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45568/fw-works-on-nrf51-dk-but-when-i-flash-in-my-target-board-it-doesn-t" /><item><title>RE: FW works on nRF51 DK but when I flash in my target board it doesn't.</title><link>https://devzone.nordicsemi.com/thread/179727?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 11:20:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffef9c4b-190c-4a41-bc83-45dff7b9653b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Have you tried &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/10729/my-device-is-freezing-and-restarting"&gt;debugging the application&lt;/a&gt;, to see if any code is executed, and if any errors are reported?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FW works on nRF51 DK but when I flash in my target board it doesn't.</title><link>https://devzone.nordicsemi.com/thread/179490?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 12:21:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd0ca300-fd20-493b-ae78-548a226375b4</guid><dc:creator>Sergio T</dc:creator><description>&lt;p&gt;This is the schematic of my application (I removed what was not interesting for the problem):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SCH_5F00_01.pdf"&gt;devzone.nordicsemi.com/.../SCH_5F00_01.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I changed pca10028.h to:&lt;/p&gt;
&lt;p&gt;#define NRF_CLOCK_LFCLKSRC {.source = NRF_CLOCK_LF_SRC_RC, \&lt;br /&gt; .rc_ctiv = 16, \&lt;br /&gt; .rc_temp_ctiv = 2, \&lt;br /&gt; .xtal_accuracy = 0}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It still doesn&amp;#39;t work. I am using SES and I can see in Memory Usage that the RAM ends at 0x20003FFF which is correct.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any idea?&lt;/p&gt;
&lt;p&gt;This might help you:&lt;/p&gt;
&lt;p&gt;- I have&amp;nbsp;FLASH_START=0x1B000,&amp;nbsp;SRAM_START=0x20002080, SRAM_SIZE=0x1F80&lt;/p&gt;
&lt;p&gt;- I cut SB1 on nRF51DK and the program still runs, meaning that the 32.768kHz crystal is out of the picture&lt;/p&gt;
&lt;p&gt;- The Memory usage shows:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- Flash is used from 0x1B000 to 0x24157&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- RAM is used from 0x20002080 to 0x20002B5B and stack is 0x20003C00 to 0x20003FFF&lt;/p&gt;
&lt;p&gt;The code runs on the nRF51DK but not on my target (2 units). Note that the controller schematics has been used in 4 other units I designed (I didn&amp;#39;t write FW for them!) with the same component values, so HW should be ok.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FW works on nRF51 DK but when I flash in my target board it doesn't.</title><link>https://devzone.nordicsemi.com/thread/179483?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 12:05:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8ebfd0c-1c3f-46ef-9c3b-a31343988cc1</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/43321/nrf51822-use-without-external-oscillator/169337#169337"&gt;this post&lt;/a&gt; about changing clock source. The clock source is normally assigned in ble_stack_init() function in the SDK 12.x.0 BLE examples.&lt;/p&gt;
&lt;p&gt;Changing RAM settings depends on which IDE/compiler you are using. See &lt;a href="https://devzone.nordicsemi.com/tutorials/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;this tutorial&lt;/a&gt; for more details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FW works on nRF51 DK but when I flash in my target board it doesn't.</title><link>https://devzone.nordicsemi.com/thread/179402?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 08:16:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6512a6e6-1eb0-440e-9e60-b53126e7b819</guid><dc:creator>Sergio T</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not using 32.768kHz, instead I use 16MHz quartz. How can I config to use the internal oscillator or even better, the 16MHz quartz?&lt;/p&gt;
&lt;p&gt;I am using SDK12 and S130 softdevice. My code is based on ble_app_uart example.&lt;/p&gt;
&lt;p&gt;What changes do I need to make for the RAM size problem? Sorry, I&amp;#39;m new to Nordic...&lt;/p&gt;
&lt;p&gt;I can send you the schematic if you prefer...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FW works on nRF51 DK but when I flash in my target board it doesn't.</title><link>https://devzone.nordicsemi.com/thread/179399?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 08:11:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de5ee6e7-c296-41c0-be00-b8ac730d45a3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/compatibility_matrix/nRF51422_nRF51822_ic_rev_comp_with_dev_hw.html?cp=3_0_5"&gt;nRF51 DK comes with a QFAC chip&lt;/a&gt;, with 32 kB RAM, while the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/compatibility_matrix/nRF51822_ic_revision_overview.html?cp=3_0_1"&gt;QFAA chip&lt;/a&gt; of your board have only 16 kB. You should change the linker settings to reflect this.&lt;/p&gt;
&lt;p&gt;Do your board contain the 32.768 kHz LF crystal? If not, you should make sure that your firmware is configured to use the internal RC oscillator.&lt;/p&gt;
&lt;p&gt;Which SDK version are you using?&lt;/p&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: FW works on nRF51 DK but when I flash in my target board it doesn't.</title><link>https://devzone.nordicsemi.com/thread/179335?ContentTypeID=1</link><pubDate>Sat, 30 Mar 2019 12:29:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:959b8d4c-6425-4cb8-b3d7-dc1b90735245</guid><dc:creator>Sergio T</dc:creator><description>&lt;p&gt;Just a hint: the HEX file of my application is smaller than the softdevice, meaning that the code is not included.&amp;nbsp; Therefore I flashed the softdevice and my application separately&amp;nbsp;but it still doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;My application used nRF51822-QFAA controller but, as it is the same size as nRF51422 of the DK board, I think there is nothing I need to change. Also, I tried 2 samples so I believe a hardware problem is out of the question...&lt;/p&gt;
&lt;p&gt;I&amp;#39;m out of ideas. Anyone has some?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>