<?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>Taiyo Yuden EYAGJNZXX - Softdevice Flashing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12295/taiyo-yuden-eyagjnzxx---softdevice-flashing</link><description>I&amp;#39;ve experienced some struggles programming for Taiyo Yuden&amp;#39;s EYAGJNZXX board. According to the user manual provided its chip is nrf51822 (which supposedly works with s210 softdevice). However, I was able to run one of Nordic&amp;#39;s sample ADC projects with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Oct 2016 06:32:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12295/taiyo-yuden-eyagjnzxx---softdevice-flashing" /><item><title>RE: Taiyo Yuden EYAGJNZXX - Softdevice Flashing</title><link>https://devzone.nordicsemi.com/thread/46496?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2016 06:32:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f023e57-cd1a-41e0-9bdd-fa1b5c947f02</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;This may a little late answer (somehow I didn&amp;#39;t see this thread..).
With SDK 11 and 12,  the LFCLK clock source is set with nrf_clock_lf_cfg_t.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Taiyo Yuden EYAGJNZXX - Softdevice Flashing</title><link>https://devzone.nordicsemi.com/thread/46495?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2016 12:45:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a835092c-ad03-44a0-9510-66e490be5d85</guid><dc:creator>Vehring</dc:creator><description>&lt;p&gt;You mean to check the return value of &lt;code&gt;err_code = sd_ble_gap_scan_start(&amp;amp;m_scan_params);&lt;/code&gt; in scan start?
It returns me NRF_SUCCESS. I also checked the BLE stack init and all is successfully done.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Taiyo Yuden EYAGJNZXX - Softdevice Flashing</title><link>https://devzone.nordicsemi.com/thread/46494?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2016 10:22:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73d1205e-0c12-49b5-854e-1e82c04707b8</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Try to run the chip in debug mode, and check if the device starts to advertise successfully.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Taiyo Yuden EYAGJNZXX - Softdevice Flashing</title><link>https://devzone.nordicsemi.com/thread/46493?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2016 09:56:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a40dfb3c-6811-4009-aefd-176edbbd63e6</guid><dc:creator>Vehring</dc:creator><description>&lt;p&gt;I´m using the same board and i experience similar problems.
There seems to be a problem with the settings&lt;/p&gt;
&lt;p&gt;My Taiyo Yuden EBAGJNZXX Evaluation Board has a EYAGJNZXX bluetooth module with a nRF51422 Chip (CFACA00 (0x0088)). I´m using Softdevice S130 2.0.0. and tried to make the ble_app_uart_c example to work.&lt;/p&gt;
&lt;p&gt;According to the Taiyo Yuden Manual i set the HFCLK:XTALFREQ register to 32MHz with the cmd prompt:
nrfjprog.exe --snr  --memwr 0x10001008 --val 0xFFFFFF00&lt;/p&gt;
&lt;p&gt;Then the manual says i should set the LFCLK to RC-Oscillator with:
SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION, false);&lt;/p&gt;
&lt;p&gt;That matches Kristin´s proposal. However NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION is unknown. Where should it be defined?
So i decided to adjust the settings of NRF_LFCLKSRC in the pca10028.h like described in the nrf_sdm.h to match the settings Taiyo Yuden proposes.&lt;/p&gt;
&lt;p&gt;The program is running but the BLE still is not visible in the nRF Toolbox on my iPhone. Via Termite i see that BLE should be advertising (i have no LED´s so i added a uart message to the LED_0 switching).&lt;/p&gt;
&lt;p&gt;What is going wrong? Are there also changes in the target settings?&lt;/p&gt;
&lt;p&gt;I also wanna mention that i also tried a peripherical ble example (ble_app_cscs). With the changes i did in the uart example i can see the module in the nRF Toolbox App directly after flashing but connection will fail and i don´t see the board anymore, even after reset, on the Toolbox App.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Taiyo Yuden EYAGJNZXX - Softdevice Flashing</title><link>https://devzone.nordicsemi.com/thread/46492?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2016 08:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:666de7d8-55e5-48c7-91c5-802917ceca05</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;If you run an example that uses the softdevice, i.e. a BLE example, SOFTDEVICE_HANLDER_INIT(..)  has to be called. In our examples is it being called in ble_stack_init(..).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Taiyo Yuden EYAGJNZXX - Softdevice Flashing</title><link>https://devzone.nordicsemi.com/thread/46491?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2016 14:57:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44d054e0-1a97-4313-b294-40418adfdfb2</guid><dc:creator>CM</dc:creator><description>&lt;p&gt;We do not have an external clock connected to the board; just using the one provided by the board. We don&amp;#39;t have any SOFTDEVICE_HANDLER_INIT() method in our code. To reiterate, our code was working fine before I attempted to load the S130-SD 1.0.0 and S130-SD-v2 2.0 softdevice hex files through the NRFGo application so I would imagine the issue is with the softdevice and not with the code itself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Taiyo Yuden EYAGJNZXX - Softdevice Flashing</title><link>https://devzone.nordicsemi.com/thread/46490?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2016 09:40:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25557ef6-6f4c-4fab-9a7b-b48e7aa2a39f</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Does your board have an external  32 kHz crystal? If your board doesn&amp;#39;t have an external 32 kHz crystal, you will have to use the internal RC oscillator. You can change the low frequency clock source in SOFTDEVICE_HANLDER_INIT(..) to the following:&lt;/p&gt;
&lt;p&gt;SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, NULL);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Taiyo Yuden EYAGJNZXX - Softdevice Flashing</title><link>https://devzone.nordicsemi.com/thread/46489?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 17:52:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e9d2476-158f-4b67-8c3a-d3ef6940ec48</guid><dc:creator>CM</dc:creator><description>&lt;p&gt;I updated my settings as discussed in the linked thread. It helped in allowing me to load the program into the board. Running through the debugger I can see the main loop getting executed. However, BLE advertising doesn&amp;#39;t seem to be working as the board is not showing up as a BLE device in Nordic&amp;#39;s nRF Master Control or nRF Toolbox Android apps. I didn&amp;#39;t not change the code in my project (just installed different softdevices) so not sure what could be the source of the problem. Any other suggestions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Taiyo Yuden EYAGJNZXX - Softdevice Flashing</title><link>https://devzone.nordicsemi.com/thread/46488?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 12:03:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b1860c6-07dd-42c8-9549-c7f8bb231f19</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;The last questions first:&lt;/p&gt;
&lt;p&gt;The nRF51422 can use all softdevices, the nRF51822 can use all softdevices except the ones with the ANT protocol. If the chip on your module is the nRF51822, you cannot run ANT on it, and you will not be able to program S210 and S310.  If you try to flash a softdevice that doesn&amp;#39;t work on your chip, your chip will not be damaged.&lt;/p&gt;
&lt;p&gt;The latest versions of the SDK, SDK 10 and SDK 11.0-alpha, should both be used with S130 v1.0.0. When you say &lt;em&gt;&amp;quot;flashing the program into the board results in a failure&lt;/em&gt;&amp;quot;, do you mean that the device never enters the main( )? If that is the case, please verify that the Keil settings for ROM/RAM are correct. &lt;a href="https://devzone.nordicsemi.com/question/70203/sdk-v10-ble_app_hrs_rscs_relay-can-not-work/?answer=70252#post-id-70252"&gt;This&lt;/a&gt; tread shows the correct settings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>