<?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>nRF Connect couldn&amp;#39;t find the device of nRF52811 with a custom board?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50502/nrf-connect-couldn-t-find-the-device-of-nrf52811-with-a-custom-board</link><description>Hi, 
 Intention: 
 I&amp;#39;d like to build and run ble_app_uart example application on my custom nRF52811 PCB. 
 Development Setups: 
 OS: Windows 10 1803 
 MDK-ARM Professional Version: 5.23 
 SDK: nRF5_SDK_15.3.0 
 J-Link: V6.48a 
 Schematic: 
 
 Issue Description</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Aug 2019 11:18:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50502/nrf-connect-couldn-t-find-the-device-of-nrf52811-with-a-custom-board" /><item><title>RE: nRF Connect couldn't find the device of nRF52811 with a custom board?</title><link>https://devzone.nordicsemi.com/thread/203542?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2019 11:18:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bc62603-1fe3-48cc-8ed5-c57946e3bcac</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;If the board can&amp;#39;t run the precompiled hex files the issue has to be hardware related, since the hex files are known to work on the chip.&lt;/p&gt;
&lt;p&gt;Start with the blinky example in the SDK (examples\peripheral\blinky) and see if this is working. Then start the HF crystal and see if it&amp;#39;s running. Then start the LFXO and see what happens. The RTC example is a good starting point for this (examples\peripheral\rtc).&lt;/p&gt;
&lt;p&gt;When debugging, start with a break point in the top of main, and continue down the list. Check the return value and see if they all return with NRF_SUCCESS. If not you might get a hint on what is wrong by checking the return value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect couldn't find the device of nRF52811 with a custom board?</title><link>https://devzone.nordicsemi.com/thread/202065?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 09:01:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c3d0069-13b3-4fd7-bc64-0e71203d1d9e</guid><dc:creator>DragonEmperor</dc:creator><description>&lt;p&gt;&lt;strong&gt;Reply&amp;nbsp;1:&lt;/strong&gt; After checking the&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49353/tooling-for-custom-nrf52811-pcb-based-on-arm-gcc-and-pca10040"&gt;Tooling for custom nRF52811 PCB based on ARM-GCC and PCA10040&lt;/a&gt;, I thought&amp;nbsp;&amp;nbsp;there might be something wrong with the&amp;nbsp;&lt;span&gt;&amp;nbsp;external LF oscillator. So I want to use LF RC to&amp;nbsp;rule out the external LF oscillator failure possibility.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;But at the very beginning, I just left sdk_config.h default config. After&amp;nbsp; the same procedure, there wasn&amp;#39;t&amp;nbsp;any bluetooth device named &amp;quot;Nordic&amp;quot;&amp;nbsp;in nRF Connect App either. And I&amp;#39;v checked the pcbdoc again, the board has two external&amp;nbsp;&lt;span&gt;crystal&amp;nbsp;referring to the official&amp;nbsp;nrf52811_qcaa_dcdc design.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Reply 2:&lt;/strong&gt;&amp;nbsp;I&amp;nbsp;couldn&amp;#39;t locate the problem. But I could deploy &lt;em&gt;SDK_DIR\examples\ble_peripheral\ble_app_uart\pca10040\s132\arm5_no_packs\ble_app_uart_pca10040_s132.uvprojx&amp;nbsp;&lt;/em&gt;to&amp;nbsp; my custom nRF52832 board.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Reply 3:&amp;nbsp;&lt;/strong&gt;I tried to&amp;nbsp;&amp;nbsp;flash &lt;em&gt;SDK_DIR\examples\ble_peripheral\ble_app_uart\hex\ble_app_uart_pca10056e_s112.hex&lt;/em&gt; and &lt;em&gt;SDK_DIR\examples\ble_peripheral\ble_app_beacon\hex\ble_app_beacon_pca10056e_s112.hex, both don&amp;#39;t work.&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;&lt;strong&gt;Reply 4: &lt;/strong&gt;&lt;/em&gt;When debugging, the code falls on&amp;nbsp;NRF_BREAKPOINT_COND&amp;nbsp;in&amp;nbsp;app_error_fault_handler(). It seems that the program couldn&amp;#39;t debug with BLE program.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;&lt;strong&gt;Reply 5:&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;Could you please explain&amp;nbsp;&lt;em&gt;&lt;span class="skip"&gt;the&amp;nbsp;&lt;span&gt;wrong way in detail?&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect couldn't find the device of nRF52811 with a custom board?</title><link>https://devzone.nordicsemi.com/thread/201854?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 11:54:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2bbbb73-4bb5-4e4f-98a3-77882f761cb9</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;1. I see that you have a 32KHz crystal in your design, so why do you want to use LF RC? If you configure the project to use LFRC you must also set correct settings for the calibration interval: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45610/how-to-change-ble_app_uart-example-to-work-without-lfclk/179519#179519"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/45610/how-to-change-ble_app_uart-example-to-work-without-lfclk/179519#179519&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. Are you able to figure out if the problem lies with the firmware or the custom hardware? Can you flash the firmware on a development board you know is working.&lt;/p&gt;
&lt;p&gt;3. Can you try to flash any of the precompiled hex files in the SDK to see if they work?&lt;/p&gt;
&lt;p&gt;4. Can debug the firmware to see if it&amp;#39;s actually able to initialize the softdevice and start advertising? Use the debugging tool in the IDE you are using and check for any asserts.&lt;/p&gt;
&lt;p&gt;5. A common mistake is to solder the HF crystal the wrong way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>