<?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>Flashing the nRF52 DK fails on Ubuntu VM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33207/flashing-the-nrf52-dk-fails-on-ubuntu-vm</link><description>Hi Nordic Team, I&amp;#39;m trying to setup a gcc/eclipse based environment according to gustavovelascoh.wordpress.com/.../ on Linux/Ubuntu 16.04.1 64Bit. The Ubuntu system lives in a VirtualBox (Version 5.2.8 r121009 (Qt5.6.2)) VM on a Windows 10 host. I&amp;#39;ve</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Apr 2018 08:21:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33207/flashing-the-nrf52-dk-fails-on-ubuntu-vm" /><item><title>RE: Flashing the nRF52 DK fails on Ubuntu VM</title><link>https://devzone.nordicsemi.com/thread/129282?ContentTypeID=1</link><pubDate>Mon, 23 Apr 2018 08:21:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0caff79-bf9d-47d9-ad96-90e02cb8d0ba</guid><dc:creator>lhochstetter</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;and thanks for the input!&lt;br /&gt;&lt;br /&gt;About the workaround: it works fine i.e. using a &amp;quot;direct&amp;quot; (no hand through to the VM) connection to the nRF52 DevKit using the host Win10 in order to update the firmware.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve tested the &amp;quot;blinky&amp;quot; example using the VM (compiled using gcc and erased, flashed, and resetted using nrfjprog) and it works just fine!&lt;br /&gt;&lt;br /&gt;Best,&lt;br /&gt;&lt;br /&gt;lhochstetter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing the nRF52 DK fails on Ubuntu VM</title><link>https://devzone.nordicsemi.com/thread/128482?ContentTypeID=1</link><pubDate>Mon, 16 Apr 2018 12:59:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16848ca9-d11c-42db-9235-c30a39dcd1fe</guid><dc:creator>Rune Holmgren</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not completely understanding how far you got at resolving this issue on your own, and how well the workaround you are mentioning is working. Running the development environment&amp;nbsp;in a virtual machine is not something we are testing extensively, and Eclipse is not an officially supported development environment. You have to debug your own setup since it&amp;#39;s a combination none of us here have been working with as far as I can tell. I will, of course, help you out to the best of my ability, so let me know how far you have gotten.&lt;/p&gt;
&lt;p&gt;For now, I wanted to show you the setup I am running when doing Linux work. I am not using Eclipse and nrfjprog, but rather running it all though JLink and Segger Embedded Studio. With the correct USB settings in VirtualBox, I am able to compile, flash and debug nRF5 devices connected through USB.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is the setup I am running with examples of Segger Embedded studio debugging and JLink running as intended.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/1040x3152/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f948f6c14c3a4f9b82e92c971057b8e2/virtual-machine.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Rune Holmgren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing the nRF52 DK fails on Ubuntu VM</title><link>https://devzone.nordicsemi.com/thread/128191?ContentTypeID=1</link><pubDate>Fri, 13 Apr 2018 08:50:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a8981d9-bbdc-438d-a1a6-12b26fe78c32</guid><dc:creator>lhochstetter</dc:creator><description>&lt;p&gt;Update:&lt;br /&gt;&lt;br /&gt;I found a workaroud: &lt;br /&gt;&lt;br /&gt;I installed the JLink v630k software on the Win10 Host and it was able to flash the firmware without issues.&lt;br /&gt;&lt;br /&gt;The nrfjprog tool in the Ubuntu VM can now properly talk to the board as far as I can tell.&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t figured out where the real issue lies.&lt;br /&gt;&lt;br /&gt;I can faintly recall a hackathon where I briefly worked with JLink, a Ubuntu VM, and a Nordic Dev Kit to program a Ruuvi Tag.&amp;nbsp; If I recall correctly I had similar issues (no connection from the JLink in the VM to the Nordic Dev Kit) because a driver wasn&amp;#39;t properly loaded in the Ubuntu VM - unfortunately I don&amp;#39;t remember the details of the fix.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>