<?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>Uploading test code onto custom pcb with nRF51 chip</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10740/uploading-test-code-onto-custom-pcb-with-nrf51-chip</link><description>I have made a basic pcb for a school project, with just the nRF51422 chip, a J-LINK programmer and and antenna on it. I am trying to test the functionality of it. I have gotten the blinky example to work, but I cannot seem to get any of the other example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Dec 2015 10:37:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10740/uploading-test-code-onto-custom-pcb-with-nrf51-chip" /><item><title>RE: Uploading test code onto custom pcb with nRF51 chip</title><link>https://devzone.nordicsemi.com/thread/40144?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2015 10:37:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3961ac6a-38db-4948-9849-69f75b9470cb</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;If you are using packs some of the files will be locked yes. You can add your custom pinout by adding a file &amp;quot;custom_board.h&amp;quot; to your project with the pin definitions (see pca10028.h that is used for the DK) and change BOARD_PCA10028 to BOARD_CUSTOM in preprocessor symbols defines (options for target-&amp;gt;C/C++-&amp;gt;Preprocessor Symbols). See &lt;a href="https://devzone.nordicsemi.com/tutorials/13/"&gt;this&lt;/a&gt; tutorial and the board.h file for more information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uploading test code onto custom pcb with nRF51 chip</title><link>https://devzone.nordicsemi.com/thread/40140?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2015 10:28:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45b399c9-0a83-4524-a8f7-20fd68e07c34</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Could you update the question with the hardware files (schematic and layout)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uploading test code onto custom pcb with nRF51 chip</title><link>https://devzone.nordicsemi.com/thread/40141?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2015 05:10:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc5b7cc8-2252-45ef-8e12-beb2d13063f6</guid><dc:creator>esb</dc:creator><description>&lt;p&gt;We do have an external 32kHz and an external 16MHG oscillator on our board, but neither of them seem to be working correctly. I switched the SOFTDEVICE_HANDLER_INIT() to what you suggested, and the board at least attempts to advertise. Because of this, I am leaning towards the issue being in hardware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uploading test code onto custom pcb with nRF51 chip</title><link>https://devzone.nordicsemi.com/thread/40139?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2015 16:34:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0beba2d-f064-438d-b133-b4e9b49bcf1a</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Do you use an external 32 khz crystal? The examples use this and if you don&amp;#39;t have it, the code will be stuck in sd_softdevice_enable(...) waiting for the crystal to start. If you don&amp;#39;t have external clock change the softdevice init call to this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_TEMP_4000MS_CALIBRATION, NULL);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uploading test code onto custom pcb with nRF51 chip</title><link>https://devzone.nordicsemi.com/thread/40143?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2015 04:16:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9e1d50d-9fcf-499b-b97a-14eab382eaa2</guid><dc:creator>esb</dc:creator><description>&lt;p&gt;The mapping seems to be working fine. In testing the GPIOs, the 4 pins associated with the leds on the DK board are high, which is partially correct (one should be blinking).  I&amp;#39;m wondering if any of the example code utilizes the MCU on the DK, which I do not have on my board.  Also, in trying to change the pins being used for the GPIO outuputs, it appears that many of the .c files and .h files are locked. Is there a way to unlock these files for editing?  This is after I copy an example into my own directory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uploading test code onto custom pcb with nRF51 chip</title><link>https://devzone.nordicsemi.com/thread/40142?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2015 01:26:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c68eea1-3513-4d08-b421-d71c1cf95741</guid><dc:creator>Nick Pelis</dc:creator><description>&lt;p&gt;That really depends on the differences between your custom board and the nRF51 DK.  For instance, if you have buttons mapped to different GPIOs then you&amp;#39;ll need to edit your code to get those to work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>