<?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>No source available for &amp;quot;0x6d2&amp;quot; ???</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30143/no-source-available-for-0x6d2</link><description>Hi everyone, I&amp;#39;m working on the nrf51822 QFAAH I tried to flash the ble_app_uart example and it didn&amp;#39;t work. So I debug it and it stops here 
 As you can see in the picture there is nothing at 0x6d2 
 I can build it and flash it, I wrote my linker ldscript</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Mar 2018 14:08:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30143/no-source-available-for-0x6d2" /><item><title>RE: No source available for "0x6d2" ???</title><link>https://devzone.nordicsemi.com/thread/126130?ContentTypeID=1</link><pubDate>Tue, 27 Mar 2018 14:08:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:faa23247-e0a2-49f6-917d-e8b514f3acec</guid><dc:creator>bigturtle</dc:creator><description>&lt;p&gt;I changed the RAM_BASE start address as you suggest and it works ^^.&lt;/p&gt;
&lt;p&gt;Thank You&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No source available for "0x6d2" ???</title><link>https://devzone.nordicsemi.com/thread/123368?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 08:54:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13aaaf57-3293-4c52-9182-192121454484</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;I am not able to compile your project successfully, so I have to debug it based on your .out file, and it looks like you have optimization enabled. How does your .ld file look like? The .ld script was missing from your .zip file. From your .map file, it looks like the RAM_BASE start address is 0x20001870, which is too low. You should be at&amp;nbsp;0x20002080 for s130 with 1 peripheral, and 0 central roles.&lt;/p&gt;
&lt;p&gt;Could you try adjusting your RAM start address to match other SDK examples and see if that works?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;H&amp;aring;kon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No source available for "0x6d2" ???</title><link>https://devzone.nordicsemi.com/thread/123215?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 11:02:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0bd5568-fc4c-4648-8ca9-b6a3dbbc9652</guid><dc:creator>bigturtle</dc:creator><description>&lt;p&gt;I commented out the printf() call and I disabled the flow control but it did not work... My device is still invisible on my phone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No source available for "0x6d2" ???</title><link>https://devzone.nordicsemi.com/thread/122947?ContentTypeID=1</link><pubDate>Tue, 06 Mar 2018 07:57:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c760a70-720b-4ba8-831a-e29b53971952</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Thanks for uploading the project.&lt;/p&gt;
&lt;p&gt;You&amp;#39;re calling printf in your project, but you do not have retarget.c included in your build. This will cause issues, as the printf call will rely on finding _write() and _read(), and when it does not; it will go into a undefined state.&lt;/p&gt;
&lt;p&gt;In addition, you have using UART with flow control enabled:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    const app_uart_comm_params_t comm_params =
    {
        RX_PIN_NUMBER,
        TX_PIN_NUMBER,
        RTS_PIN_NUMBER,
        CTS_PIN_NUMBER,
        APP_UART_FLOW_CONTROL_ENABLED,
        false,
        UART_BAUDRATE_BAUDRATE_Baud115200
    };&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This requires that you open the terminal before the application will continue.&lt;/p&gt;
&lt;p&gt;Could you try adding retarget.c to your build (or comment out the printf() call) ?&lt;/p&gt;
&lt;p&gt;For debugging purposes, you can also disable the flow control, as this would require you to open the terminal in order for the application to run properly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No source available for "0x6d2" ???</title><link>https://devzone.nordicsemi.com/thread/122883?ContentTypeID=1</link><pubDate>Mon, 05 Mar 2018 15:46:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6bd77aa-faeb-465f-ad82-1167cf3d70aa</guid><dc:creator>bigturtle</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_uart_5F00_test_5F00_sdk11.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_uart_5F00_test_5F00_sdk11.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;like this ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No source available for "0x6d2" ???</title><link>https://devzone.nordicsemi.com/thread/122871?ContentTypeID=1</link><pubDate>Mon, 05 Mar 2018 15:11:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b64bcfe5-ed5d-4f4f-a8c5-73fd081e0997</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;You can .zip the whole example and attach it to your post when replying (Insert -&amp;gt; Insert image/video/file)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No source available for "0x6d2" ???</title><link>https://devzone.nordicsemi.com/thread/122836?ContentTypeID=1</link><pubDate>Mon, 05 Mar 2018 13:41:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7af89cc8-bc38-46cf-910f-2399ad7912bd</guid><dc:creator>bigturtle</dc:creator><description>&lt;p&gt;can you explain me how to send it please ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No source available for "0x6d2" ???</title><link>https://devzone.nordicsemi.com/thread/120347?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2018 20:14:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3382156-8385-4a67-a9ce-652a6e965e5e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Could you share one example that does not work at your end (just .zip the whole example)? one of the example applications from any SDK that you&amp;#39;ve altered should do.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No source available for "0x6d2" ???</title><link>https://devzone.nordicsemi.com/thread/120334?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2018 16:54:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41cc1195-68dd-4df1-9868-5e089c13153b</guid><dc:creator>bigturtle</dc:creator><description>&lt;p&gt;I do a &amp;quot;mass_erase&amp;quot; before flashing softdevice thanks to openOCD. Judging from&amp;nbsp; &lt;a href="http://openocd.org/doc/pdf/openocd.pdf"&gt;this openocd document &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;at page 87 we can read :&lt;/p&gt;
&lt;p&gt;nrf5 mass_erase &lt;br /&gt;Erases the contents of the code memory and user information configuration&lt;br /&gt;registers as well. It must be noted that this command works only for chips that&lt;br /&gt;do not have factory pre-programmed region 0 code.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So I think it erases all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No source available for "0x6d2" ???</title><link>https://devzone.nordicsemi.com/thread/120310?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2018 15:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b02aaa99-782c-43c3-a013-8ea026f02cbd</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Revision 3 includes all variants (128k/16k, 256k/16k, and 256k/32k), it is just that SDK 12 has projects for the &amp;quot;nRF51x22_xxAC&amp;quot; variant, which is the one with 32k RAM.&lt;/p&gt;
&lt;p&gt;You are stuck in the softdevice MBR, which is seldom a good sign. Could it be that you have an older bootloader present in flash and UICR? I see that you&amp;#39;re using openOCD, do you have the ability to do a erase_all from that debugger?&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s the sequence for issuing an erase_all to a nRF51 device:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/recover-the-nrf51-when-nrjprog-and-nrfgo-studio-co"&gt;https://devzone.nordicsemi.com/b/blog/posts/recover-the-nrf51-when-nrjprog-and-nrfgo-studio-co&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No source available for "0x6d2" ???</title><link>https://devzone.nordicsemi.com/thread/120169?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2018 20:16:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20b6851c-e650-4d45-86dc-35cd67946e03</guid><dc:creator>bigturtle</dc:creator><description>&lt;p&gt;Thanks for your reply&lt;/p&gt;
&lt;p&gt;Q1: Yes&lt;/p&gt;
&lt;p&gt;Q2: Yes&lt;/p&gt;
&lt;p&gt;Q3: No&lt;/p&gt;
&lt;p&gt;This turned out to be a big headache so I tried to change SDK and SD&lt;/p&gt;
&lt;p&gt;And... I made this work 2 days ago by using SDK 10.0.0 and S130 v1.0.0... but these are old versions.&lt;/p&gt;
&lt;p&gt;Does it mean all of the SDK and softdevice which are compatible with rev. 3 judging from &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf51%2Fdita%2Fnrf51%2Fcompatibility_matrix%2FnRF51422_nRF51822_ic_rev_sdk_sd_comp_matrix.html"&gt;this &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;are not compatible with every version of rev 3 ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No source available for "0x6d2" ???</title><link>https://devzone.nordicsemi.com/thread/119753?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 13:54:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdac3d0a-0a8d-467e-bff2-ded33c57530c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q1: Could you ensure that you have set the clock_lf_cfg equal to what is &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/27171/nordic51822-no-external-32-768-k-of-crystals-in-the-routine-what-configuration/107034#107034"&gt;stated in this thread&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Q2: Are you always stuck in the same address space (looping in 0x750)?&lt;/p&gt;
&lt;p&gt;Q3: Are you able to run any other ble example successfully (remember to change LFCLK source first!)?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;H&amp;aring;kon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No source available for "0x6d2" ???</title><link>https://devzone.nordicsemi.com/thread/119706?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 10:46:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f4bf233-3d6f-4b45-8457-b5676949a53e</guid><dc:creator>bigturtle</dc:creator><description>&lt;p&gt;Ok now I&amp;#39;m stuck in SVCALL(SD_SOFTDEVICE_ENABLE, uint32_t, sd_softdevice_enable(nrf_clock_lf_cfg_t const * p_clock_lf_cfg, nrf_fault_handler_t fault_handler)) in ble_stack_init().&lt;/p&gt;
&lt;p&gt;When I step into this function it stops and shows me this:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;No source available for &amp;quot;0x750&amp;quot;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I tried to use internal RC clock but it didn&amp;#39;t work...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No source available for "0x6d2" ???</title><link>https://devzone.nordicsemi.com/thread/119581?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2018 16:20:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:171a3db8-6462-430e-9bbc-68d38b2ebd48</guid><dc:creator>bigturtle</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/error_5F00_code.png" /&gt;&lt;/p&gt;
&lt;p&gt;this is why it stops... in main.c in the function buttons_leds_init the function bsp_init returns 8 and that error code means :&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Invalid state, operation disallowed in this state&lt;/strong&gt; (judging from nrf_error.h)&lt;/p&gt;
&lt;p&gt;Can I have some explanation on this error please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>