<?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>Mbed OS not work on nRF52840-DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36972/mbed-os-not-work-on-nrf52840-dk</link><description>I received nRF52840-DK from Mouser : 
 
 
 
 
 
 Sales Order No: Web Order No: Order Date: 
 242789421 14270760 29-May-18 
 
 
 
 I started to use it and some problems exist: 
 
 1. I placed power selector to &amp;quot;USB&amp;quot; and connected USB cable but board is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Aug 2018 06:50:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36972/mbed-os-not-work-on-nrf52840-dk" /><item><title>RE: Mbed OS not work on nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/142724?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 06:50:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f1161b2-d726-4972-b9f4-5b5560ccef95</guid><dc:creator>UriC</dc:creator><description>&lt;p&gt;If you look at start of discuss I started with&amp;nbsp;&lt;span&gt;nRF52DK as platform and always&amp;nbsp;power cycle the board.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;ARMbed found bug in last version of mbed 5.9.2 When I swapped to 5.9.1 led is worked.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mbed OS not work on nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/142721?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 06:01:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e9bac5f-7ba3-4f9b-aac2-4142289b73be</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I guess that the nRF52840 platform is not working yet. If you compile the project that you linked with this main.cpp:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;quot;mbed.h&amp;quot;

DigitalOut led1(P0_13); //LED1 = 13 on nRF52840 DK

// main() runs in its own thread in the OS
int main() {
    while (true) {
        led1 = !led1;
        wait(0.5);
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And use the nRF52DK as platform, it works.&lt;/p&gt;
&lt;p&gt;After uploading the binary, you have to power cycle the board(!) not just the reset button.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I know that this is not ideal. But I have no better solution, until a stable version of the nRF52840 platform is released on mbed.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mbed OS not work on nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/142658?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 14:38:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:967ef60f-33c6-44e8-8230-dea726cc2b86</guid><dc:creator>UriC</dc:creator><description>&lt;p&gt;I told it many times that I know it and it work. Examples&amp;nbsp;I tried with SEGGER Embedded Studio&amp;nbsp;worked.&lt;/p&gt;
&lt;p&gt;Problem in code that generated by online compiler. Nordic + ARMbed need to solve this problem.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mbed OS not work on nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/142604?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 12:19:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9dd7a52-e5e3-47f4-9cd7-1c6c8c7c6d26</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I am just trying to figure out whether your issue is in the project/compiler or if it is in the upload procedure.&lt;/p&gt;
&lt;p&gt;Can you try to power cycle the DK after uploading the .hex file using drag&amp;#39;n&amp;#39;drop?&lt;/p&gt;
&lt;p&gt;nRFgo Studio is a quite easy-to-use, and self explaining application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mbed OS not work on nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/142588?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 11:29:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f624646e-39b2-4213-b121-6d0c548f729a</guid><dc:creator>UriC</dc:creator><description>&lt;p&gt;1.I used introduction link :&lt;a href="https://os.mbed.com/docs/v5.9/tutorials/quick-start-online.html"&gt;https://os.mbed.com/docs/v5.9/tutorials/quick-start-online.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;&lt;span&gt;&amp;nbsp;I don&amp;#39;t have this Studio and not CL tools.&lt;/span&gt;&lt;span&gt;I want to use&amp;nbsp;high-level programming language with less code as possible. for this kind users was created Mbed and I wan&amp;#39;t to use it. So please make it work/&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mbed OS not work on nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/142581?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 11:20:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dda36bba-c47d-4599-be1c-ddcd3522275d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I was not able to follow your link. It opens my compiler environment, but not with the project that you are linking to.&lt;/p&gt;
&lt;p&gt;Sorry. I am not very familiar with mbed. But I found an example called mbed-os-example-blinky. I suspect it is the same as you use. I found it &lt;a href="https://os.mbed.com/users/szqt/code/nRF52840-Preview-DK-blinky/rev/a0c2e5593bf8/"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I compiled it, and downloaded the .hex file. I tried to drag&amp;#39;n&amp;#39;drop it, but with no luck. All the LEDs remained on.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then I used nrfjprog or nRFgo Studio, and erased the board, and programmed the .hex file via that. Then I reset the board, and it worked. Can you try to use either &lt;a href="https://www.nordicsemi.com/eng/node_176/2.4GHz-RF/nRFgo-Studio"&gt;nRFgo Studio&lt;/a&gt; or &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.tools%2Fdita%2Ftools%2Fnrf5x_command_line_tools%2Fnrf5x_installation.html"&gt;nrfjprog (command line tools)&lt;/a&gt;&amp;nbsp;with the project that I linked to? (which hopefully is the same project that you linked to.)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mbed OS not work on nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/142547?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 08:53:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b733432-761b-4f56-91e4-2b23cceb09da</guid><dc:creator>UriC</dc:creator><description>&lt;p&gt;I also received this link from&amp;nbsp;Ralph Fulchiero (Arm Mbed).&amp;nbsp;&lt;/p&gt;
&lt;div&gt;I have&amp;nbsp;NRF52840_DK, powered by USB cable connected directly to PC.See attached pic.&lt;/div&gt;
&lt;div&gt;I updated firmware by &amp;quot;0246_sam3u2c_mkit_dk_dongle_nrf5x_0x5000&amp;quot;&lt;/div&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IMG_5F00_20180802_5F00_085036.jpg" /&gt;I&lt;/p&gt;
&lt;p&gt;When I connect to PC Led5 is blink twice. In PC explorer I see&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5165.Capture.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;When I compile&amp;nbsp;&lt;a href="https://os.mbed.com/compiler/#nav:/mbed-os-example-blinky/main.cpp"&gt;https://os.mbed.com/compiler/#nav:/mbed-os-example-blinky/main.cpp;&lt;/a&gt;&amp;nbsp;with&amp;nbsp;&lt;span&gt;NRF52840_DK platform I receive a lot of warnings :&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/2146.image.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can do it also and check what a problems.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;After I drop &amp;quot;mbed-os-example-blinky_NRF52840_DK.bin&amp;quot; to DAPLINK and reset&amp;nbsp; board no one Led is not on.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can also make it with same board ( I suppose you must have).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mbed OS not work on nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/142516?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 07:23:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93c6b6d8-1f21-4549-bc8b-1c5eb599db32</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It was not the purpose to be rude. Sorry if it was interpreted that way.&lt;/p&gt;
&lt;p&gt;I found this site:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://os.mbed.com/platforms/Nordic-nRF52840-DK/"&gt;https://os.mbed.com/platforms/Nordic-nRF52840-DK/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I can also see, e.g. from &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/23545/nrf52840-preview-dk-mbed-bootloader"&gt;this case on DevZone&lt;/a&gt;, that others have used the nRF52840 DK on mbed.&lt;/p&gt;
&lt;p&gt;The nRF52832 and nRF52840 DKs use the same compiler. It is only some differences in the radio, and the memory size, and the GPIO pinout.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you use the usb port that I highlighted in the figure in my previous reply, and are the switches in the position described in the figure? Does the board seem to respond?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can try e.g. this example, which will run on the nRF52840 DK. Does it work? It should toggle the lights on button presses when uploaded successfully.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mbed OS not work on nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/142422?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 13:23:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5406ef8a-309e-4f90-8efa-69c1159797c6</guid><dc:creator>UriC</dc:creator><description>&lt;p&gt;you are partners :&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7737.Capture.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;What&amp;nbsp; kind of partner that say &amp;quot; it not my business &amp;quot; ? If you want to buy chips you must provide easiest way to customer and Mbed do it. I can&amp;#39;t waste years to learn all libraries and API of current chip. I want to use&amp;nbsp;high-level programming language with less code as possible.&lt;/p&gt;
&lt;p&gt;Please make cooperation with ARMbed to add this board to compiler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mbed OS not work on nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/142401?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 12:36:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cc3035b-3956-45ac-829c-682021de16c1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;mbed is not driven by Nordic, so you&amp;nbsp;have to&amp;nbsp;ask mbed to add the nRF52840_DK to&amp;nbsp;&lt;a href="https://os.mbed.com/platforms/"&gt;https://os.mbed.com/platforms/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As for the first question:&lt;/p&gt;
&lt;p&gt;Which usb port on the DK do you use?&lt;/p&gt;
&lt;p&gt;You should use the one on the left in the upper picture&amp;nbsp;in &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52%2Fdita%2Fnrf52%2Fdevelopment%2Fnrf52840_pdk%2Fhw_drawings.html"&gt;this link&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The switches should be in position VDD and DEFAULT.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-75d93199b8ab4d88990d5b08f92aa864/pastedimage1533126792268v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;So if you want to program the nRF52840 DK, you should use the USB connector with the red circle around, SW9 - nRF power source: VDD and SW6: DEFAULT.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not familiar with mbed, but if the nRF52840 is not yet supported there, you can check out our &lt;a href="http://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/"&gt;SDK&lt;/a&gt;, which contains a lot of examples you can play around with. Segger Embedded Studio (Segger&amp;#39;s IDE platform) is also supported, which is free of charge to use, with no limitations.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mbed OS not work on nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/142263?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 20:37:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e858df13-66ef-4663-ad24-62c0caa06df5</guid><dc:creator>UriC</dc:creator><description>&lt;p&gt;Please add nRF52840_DK to boards &lt;a href="https://os.mbed.com/platforms/?pvend=11"&gt;os.mbed.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>