<?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>Can mbed hex app run on custom board?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12615/can-mbed-hex-app-run-on-custom-board</link><description>Hi, I have done the following: 
 
 Built a custom board with a brand new 128Kb nRF51822. On the board I only have the 16MHz xtal. 
 Routed out SWD IO/CLK and connected to an nRF51 DK external debug-out P20, with VDD/VSS connection as well. 
 I created</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Apr 2016 09:23:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12615/can-mbed-hex-app-run-on-custom-board" /><item><title>RE: Can mbed hex app run on custom board?</title><link>https://devzone.nordicsemi.com/thread/47896?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2016 09:23:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7a4dc88-9225-4c7e-92e6-8f468cd2b62d</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;It is possible that the mBed code requires an external 32 Khz crystal. That is why i asked you if you had any BLE libraries in your project. Can you either send a link to the project, or export the project to Keil, and then upload it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can mbed hex app run on custom board?</title><link>https://devzone.nordicsemi.com/thread/47895?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2016 15:44:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e93ed6c-e723-4c86-b336-c3761b79dff8</guid><dc:creator>gdou</dc:creator><description>&lt;p&gt;Thanks Anders - Yes it will work on a nRF51 DK, but it does not work on the custom board. I made it pin11 high instead of blinky just to make it simple - and HIGH should light the LED in my board. I am wondering if the mbed compiles the HEX with a setting that does not work with my nRF51822 version, which is NRF51822-QFAB-R7. Is that possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can mbed hex app run on custom board?</title><link>https://devzone.nordicsemi.com/thread/47893?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2016 13:09:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:045fff5a-f2ca-4da3-a74d-bc226246b4de</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;I flashed your hex to a nRF51 DK. Pin 11 is high. If you are making a &amp;quot;blinky&amp;quot;, you should turn it off AND on, then it is easier to see if anything happens. Many LED&amp;#39;s will turn on when the output is LOW. Maybe this is why your led is not lighting up?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can mbed hex app run on custom board?</title><link>https://devzone.nordicsemi.com/thread/47894?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2016 05:24:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9844edb-0e0f-4779-9958-434e49ef8f54</guid><dc:creator>gdou</dc:creator><description>&lt;p&gt;I have added the HEX file in the original post. Thanks for the help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can mbed hex app run on custom board?</title><link>https://devzone.nordicsemi.com/thread/47892?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2016 12:14:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6fcdf1f-1371-4fb4-beb3-85b6326f08c8</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;The hex generated from mbed should work.&lt;/p&gt;
&lt;p&gt;Does your blinky project include any BLE libraries, or is it a pure blinky?
Since you do not have a 32Khz crystal, a softdevice might not work because it uses an external 32kHz crystal by default.&lt;/p&gt;
&lt;p&gt;The softdevice is places in the bottom of flash (address 0x00). The softdevice region error you get, is given because the blinky app is also compiled to be at address 0x00.
Can you try the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/gpio_example.html?cp=4_0_0_4_5_1"&gt;blinky&lt;/a&gt; example from our &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/nrf51_getting_started.html?cp=4_0_0_1"&gt;SDK&lt;/a&gt;, and see if that works? By doing this, we can eliminate the custom hardware.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Yes, but it does not mean that the application will run without errors.&lt;/li&gt;
&lt;li&gt;It should work.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Can you send a link to the mbed project, or attach the hex file?&lt;/p&gt;
&lt;p&gt;-Anders&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>