<?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>Putting working program from nRF51DK onto a nRF51822 on custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8800/putting-working-program-from-nrf51dk-onto-a-nrf51822-on-custom-board</link><description>I&amp;#39;ve developed a PCB containing the nRF51822. I am trying to uploaded the example program &amp;quot;ble_app_uart_s110_pca10028&amp;quot; to it, but the chip is not broadcasting (so I assume the program isn&amp;#39;t uploaded correctly). I have uploaded the same program to the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Aug 2017 10:49:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8800/putting-working-program-from-nrf51dk-onto-a-nrf51822-on-custom-board" /><item><title>RE: Putting working program from nRF51DK onto a nRF51822 on custom board</title><link>https://devzone.nordicsemi.com/thread/32289?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2017 10:49:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d853812-9b0e-4530-aa80-38de09ffeb4b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@pavan: please try to create a new case and describe your issue. Piggy packing your question is not suggested. You can create a new case and send the OP a private message to the case if you want.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting working program from nRF51DK onto a nRF51822 on custom board</title><link>https://devzone.nordicsemi.com/thread/32288?ContentTypeID=1</link><pubDate>Sat, 26 Aug 2017 06:25:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36069a21-7ce2-40e7-b5c2-4c0ed54782fe</guid><dc:creator>pavan</dc:creator><description>&lt;p&gt;Hello Mr.Andy,&lt;/p&gt;
&lt;p&gt;Have you solved the above issue because even i stuck at same place my custom board is not broadcasting anything&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting working program from nRF51DK onto a nRF51822 on custom board</title><link>https://devzone.nordicsemi.com/thread/32287?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2015 14:44:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3d86659-d6e9-409b-ba6b-2b1bac82a9ab</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Andy: L2 should be 27nH, could you explain why you used 10nH ? C48 should be 1.0 pF.&lt;/p&gt;
&lt;p&gt;My suggestion is to test with the blinky example in the SDK. You can find that we have 2 setup, one with s110 and one is blank. You can test first by erase the chip completely and test the blank one. You may need some modification to match with your hardware setup (the chip and the GPIO pins). After you have your LED blinking, you should try the blinky_s110_pca100028. To test this, you flash the s110 softdevice first, and then flash the application after. You should use the correct softdevice version, for SDK v8.0 and SDK v9.0 you should use S110 v8.0.&lt;/p&gt;
&lt;p&gt;After you have the blinky_s110, you can test with other BLE example , such as the ble_app_hrm, make sure you have used :&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, NULL);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting working program from nRF51DK onto a nRF51822 on custom board</title><link>https://devzone.nordicsemi.com/thread/32286?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2015 01:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ab5f323-b856-43aa-bef6-43af1aa4a6de</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Your RAM setting should be 0x4000 not 0x8000.  What is your chip revision ?  Chip Rev 1 will not work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting working program from nRF51DK onto a nRF51822 on custom board</title><link>https://devzone.nordicsemi.com/thread/32285?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2015 17:21:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fbcd80e-3241-47eb-aa07-340affc65235</guid><dc:creator>andy</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I have attached the schematic for the nRF chip on our custom board. Is the cause of the problem because we are only using one 16MHz crystal? If so, how should I adjust for that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting working program from nRF51DK onto a nRF51822 on custom board</title><link>https://devzone.nordicsemi.com/thread/32284?ContentTypeID=1</link><pubDate>Tue, 01 Sep 2015 09:12:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd2903d4-fa49-4890-af39-3b88c8607c0c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@andy: Have you made sure you have flashed the softdevice  ?
IROM1 start at 0x0 is wrong. If the softdevice is flashed, the application should start at 0x18000, IRAM1 should start at 0x20002000. Please try again with an unmodified stock example.&lt;/p&gt;
&lt;p&gt;You can edit the question to attach file in the question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting working program from nRF51DK onto a nRF51822 on custom board</title><link>https://devzone.nordicsemi.com/thread/32283?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2015 15:19:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:971ac191-4786-4833-80cd-f603f546d982</guid><dc:creator>andy</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Unfortunately, changing the Softdevice init did not help. Do I need to select the correct Options for Target in Keil uVision?&lt;/p&gt;
&lt;p&gt;Right now these are my settings:
Device: nRF51433_xxAC (however I tried changing this to nRF51822_xxAA but it did not help).&lt;/p&gt;
&lt;p&gt;Target: Xtal (MHz) -- &amp;quot;12.0&amp;quot;               Operating system -- &amp;quot;None&amp;quot;                ARM Compiler -- &amp;quot;Use default compiler version&amp;quot;       Read/Only Memory Areas -- IROM1 (box is checked) Start-- &amp;quot;0x0&amp;quot;   Size -- &amp;quot;0x40000&amp;quot;   Startup (circle is checked)&lt;br /&gt;
Read/Write Memory Areas -- IRAM1 (box is checked) Start -- &amp;quot;0x20000000&amp;quot;    Size -- &amp;quot;0x8000&amp;quot;&lt;/p&gt;
&lt;p&gt;C/C++:
Define: BLE_STACK_SUPPORT_REQD BOARD_PCA10028 S110 NRF51 SOFTDEVICE_PRESENT SWI_DISABLE0
One ELF Section per Function (box is checked)&lt;/p&gt;
&lt;p&gt;Asm:
Define: BLE_STACK_SUPPORT_REQD BOARD_PCA10028 S110 NRF51 SOFTDEVICE_PRESENT SWI_DISABLE0&lt;/p&gt;
&lt;p&gt;Also, I cannot attach a photo on this thread, so I am not sure how to share my board schematic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting working program from nRF51DK onto a nRF51822 on custom board</title><link>https://devzone.nordicsemi.com/thread/32282?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2015 11:40:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f3ef5e2-9c99-4cc7-9a20-760762b9a939</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@andy: if you look into the code in main.c you can find this line:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Change it to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, NULL);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Will make the stack uses the 32kHz RC instead of the 32kHz crystal.&lt;/p&gt;
&lt;p&gt;You can send me your board schematic and PCB layout for checking.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting working program from nRF51DK onto a nRF51822 on custom board</title><link>https://devzone.nordicsemi.com/thread/32281?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2015 17:53:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5faf8c5a-4822-4081-abba-c751ef6b2b0b</guid><dc:creator>andy</dc:creator><description>&lt;p&gt;Here is a note about my setup:
The chip on my custom PCB is connected to the SWCLK, SWDIO, GND, VREF pins on the nRF51DK. When I give power to the PCB, nRFgo Studio recognizes the chip is nRF51822 (instead of the nRF51DK chip which is nRF51422).
I am using Kiel uVision5 to compile the examples from NRF51_SDK_9.0.0.  I then go to nRFgo Studio and do the following: 1) Erase All. 2) In the Program SoftDevice tab, I select &amp;quot;nRF51_SDK_9.0.0_2e23562/components/softdevice/s110/hex/s110_softdevice.hex&amp;quot;, and click Program. 3) In the Program Application tab, I select &amp;quot;nRF51_SDK_9.0.0_2e23562/examples/ble_peripheral/ble_app_hrs/pca10028/s110/arm5_no_packs/_build/nrf51422_xxac_s110.hex&amp;quot; and click Program. The nRFgo Log says Softdevice programmed successfully and Application programmed successfully.
I open nRF Toolbox on my iPhone, select HRM, and press Connect, but nothing is broadcasting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting working program from nRF51DK onto a nRF51822 on custom board</title><link>https://devzone.nordicsemi.com/thread/32280?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2015 17:46:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:300d8ced-c002-4ef1-ab59-eaeb6de61a85</guid><dc:creator>andy</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;Following your suggestion, I was able to successfully toggle a pin on my custom board. However, I tried to upload the HRM example from SDK9 with the softdevice110 that is in SDK9. The chip did not broadcast to my phone. I uploaded the same example with the same softdevice to the nRF51DK and it worked fine.&lt;/p&gt;
&lt;p&gt;I did not configure the softdevice init to 32kHz, though. Could you tell me how to do that? (I am very new to this). I hope that will solve my problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting working program from nRF51DK onto a nRF51822 on custom board</title><link>https://devzone.nordicsemi.com/thread/32279?ContentTypeID=1</link><pubDate>Wed, 19 Aug 2015 13:03:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bb1494c-7e6e-4143-bf4e-86aa0ec04536</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@andy: I would suggest you to start first by uploading a firmware that blink an LED or toggle a GPIO pin on your custom board. Having that you can verify if you can properly flash a hex file on your board and your chip on the board can work properly.&lt;/p&gt;
&lt;p&gt;After that you can try flashing the softdevice, and a simple BLE example, HRM for example. It should work regardless the incompatible GPIOTE onthe DK and your board. Make sure you have configure the softdevice init to match with your 32kHz clock source.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>