<?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>chip doesn&amp;#39;t advertise</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15833/chip-doesn-t-advertise</link><description>Hi all, 
 I&amp;#39;m having a error on my code, and wanted to understand it better. I&amp;#39;m using a custom board with a Rev.3 CTAA chip, 256k Flash and 16k Ram. I have BLE initialized and SPI too, using SD130. And when I start advertising and go to my power manage</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Aug 2016 11:22:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15833/chip-doesn-t-advertise" /><item><title>RE: chip doesn't advertise</title><link>https://devzone.nordicsemi.com/thread/60453?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2016 11:22:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46b15c6d-682d-4e11-9098-810eacc6f651</guid><dc:creator>Jorge</dc:creator><description>&lt;p&gt;I think you forgot to link something on the &amp;quot;this&amp;quot;.&lt;/p&gt;
&lt;p&gt;I reduced the RAM size to &lt;code&gt;15952 = 0x3E50&lt;/code&gt; , because I understood that my RAM is 16K and so this number would be correct.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have a crystal connected to the nRF so I change the &lt;code&gt;clock_lf_cfg&lt;/code&gt; to be like:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_clock_lf_cfg_t rc_clock_lf_cfg = {.source=NRF_CLOCK_LF_SRC_RC,\
.rc_ctiv = 4,\
.rc_temp_ctiv = 1};
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: chip doesn't advertise</title><link>https://devzone.nordicsemi.com/thread/60452?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2016 10:02:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93d0f321-8db1-4bec-a6c2-74820a9e881d</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Please see &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;this&lt;/a&gt; for what I meant with watch window. You reduced RAM size with 8496 bytes? But you have 16384 less bytes? What internal clock? Do you mean that you don&amp;#39;t have crystals? Which? 16MHz or 32kHz?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: chip doesn't advertise</title><link>https://devzone.nordicsemi.com/thread/60451?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2016 08:58:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35985a76-36f7-4423-9c71-6b3034bd7a3e</guid><dc:creator>Jorge</dc:creator><description>&lt;p&gt;I got the same error as on the question if I use the ble_app_uart example from the SDK11. And it goes through all the inits but when enters on the power_manage it goes to the app_error.c with that information. The only change I made was to use the internal clock, I&amp;#39;ll try to use the synthesized one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: chip doesn't advertise</title><link>https://devzone.nordicsemi.com/thread/60450?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2016 08:27:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0754afa6-2512-43b2-a711-ec2d0778380e</guid><dc:creator>Jorge</dc:creator><description>&lt;p&gt;It seems that the problem is happening on the ble_advertising_start function. I can&amp;#39;t debug, because for some reason the program cuts my access to the chip after 2 seconds. But it continues to work without advertising.&lt;/p&gt;
&lt;p&gt;Could it be the advertising mode (using FAST_MODE)? I&amp;#39;m using also the internal clock on this chip, could it be the problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: chip doesn't advertise</title><link>https://devzone.nordicsemi.com/thread/60449?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2016 14:25:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43e7057b-bd70-4410-9a01-b209daffb7ba</guid><dc:creator>Jorge</dc:creator><description>&lt;p&gt;I changed my RAM size from 0x5F80 to 0x3E50 because I only had 16k of RAM available. don&amp;#39;t know if this was a problem, because it still compiled without any errors.&lt;/p&gt;
&lt;p&gt;I started with the ble_app_uart example of the SDK11 but then I added a lot of things that I had to use such as I2C and SPI connections. But I&amp;#39;m not able to run the BLE advertising anymore, or at least it doesn&amp;#39;t show me on the scanners.&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t understand what I needed to add to the watch window, I already can see the line, file and error, my problem is that I don&amp;#39;t understand what it is. The line number is easy, because is the line on the file, but I don&amp;#39;t understand what file is this 0x000006D1.&lt;/p&gt;
&lt;p&gt;And thank you for the help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: chip doesn't advertise</title><link>https://devzone.nordicsemi.com/thread/60448?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2016 14:14:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:092635c7-3a9d-4185-b563-43c89fe58a0d</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The nRF51 DK has 32kB of RAM. Have you changed the RAM settings in the example? What example are you running? When debugging, turn of optimization, and add the variables to a watch window. Then you should see what the error is, at which line number, in which file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>