<?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>How to debug several nRF51 DKs using Eclipse</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9543/how-to-debug-several-nrf51-dks-using-eclipse</link><description>Hi,
I would like to have several nRF51 development cards connected to my computer at the same time using the USB debug port. The serial port and the RTT port work when several cards are connected, but when compiling and trying to start the debugger,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Oct 2015 08:45:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9543/how-to-debug-several-nrf51-dks-using-eclipse" /><item><title>RE: How to debug several nRF51 DKs using Eclipse</title><link>https://devzone.nordicsemi.com/thread/35265?ContentTypeID=1</link><pubDate>Fri, 09 Oct 2015 08:45:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6876f165-bc8f-4cfc-be0d-c54a90b0f7b6</guid><dc:creator>Elm</dc:creator><description>&lt;p&gt;Another question: If I would like to debug several cards in parallel, do I need to change the port numbers (red numbers 2 to 4), to be unique?&lt;/p&gt;
&lt;p&gt;regards,
Elm&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug several nRF51 DKs using Eclipse</title><link>https://devzone.nordicsemi.com/thread/35264?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2015 13:07:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef074027-67a1-4051-89c5-3d9a5edb5d66</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Segger will normally prompt you to choose the device through the &amp;#39;emulator selection&amp;#39; popup when starting a debug session (same as RTT). I wonder if it could be related to the &amp;#39;-nogui&amp;#39; option listed under &amp;#39;other options&amp;#39; in your screenshot above?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug several nRF51 DKs using Eclipse</title><link>https://devzone.nordicsemi.com/thread/35263?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2015 12:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf9e339b-ab39-4fed-b696-bd750918b5f3</guid><dc:creator>Elm</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I found an answer to that problem myself, from studying SEGGERs documentation and comparing to the Debug Configration screen.&lt;/p&gt;
&lt;p&gt;You can overcome this by problem adding the &lt;em&gt;USB serial number&lt;/em&gt; of the device to the Debug Configuration screen. (Look at the red &amp;quot;1&amp;quot;.)&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/JLINK1-m.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;I guess there is a way to find out the &lt;em&gt;USB serial number&lt;/em&gt; of the device in a better way than mine: I started the JLink RTT Viewer with two devices connected and got the following popp where i was asked to choose between devices:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/JLINK2.PNG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;regards,
Elm&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug several nRF51 DKs using Eclipse</title><link>https://devzone.nordicsemi.com/thread/35262?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2015 16:21:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b534ee6e-230a-4da5-9749-41fd9c662ae2</guid><dc:creator>Elm</dc:creator><description>&lt;p&gt;Hi, Vidar,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;[Vidar]: Do you have several GDB server instances running in the background, ...&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Ahem, ... I do not really know. I press the &amp;quot;Debug&amp;quot; button on Eclipse&amp;#39;s top menu and choose one of the targets. When the Makefile has compiled and linked the program, I get this error message. I &lt;em&gt;believe&lt;/em&gt; I only have one GDB server instance running, but I have not investigated what happens behind the scenes.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;[Vidar]: and are you getting the Emulator selection dialog when starting the debug session?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I see no &lt;em&gt;selection&lt;/em&gt; dialog.&lt;/p&gt;
&lt;p&gt;regards,
Elm&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug several nRF51 DKs using Eclipse</title><link>https://devzone.nordicsemi.com/thread/35261?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2015 13:18:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c4014a0-7b33-4fb3-ba97-3918cf871105</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, Do you have several GDB server instances running in the background, and are you getting the Emulator selection dialog when starting the debug session?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>