<?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>Jlink debug in eclipse and mac</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2037/jlink-debug-in-eclipse-and-mac</link><description>I am able to debug in windows using uVision, and now I port it to use eclipse in mac,
however, I am getting GDBServer will be closed error, anything clue what did I do wrong? 
 SEGGER J-Link GDB Server V4.84 Command Line Version 
 JLinkARM.dll V4.84</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Apr 2014 00:12:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2037/jlink-debug-in-eclipse-and-mac" /><item><title>RE: Jlink debug in eclipse and mac</title><link>https://devzone.nordicsemi.com/thread/8757?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2014 00:12:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cb1603c-ecfa-441e-b17f-cedb0f39e239</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;disable CDC only need to be done once.  It stays until you reboot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Jlink debug in eclipse and mac</title><link>https://devzone.nordicsemi.com/thread/8756?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2014 22:16:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5718c01-1937-477a-b069-976a2ceb75c1</guid><dc:creator>julian</dc:creator><description>&lt;p&gt;I did not do anything, just do some debug in windows, and then switch back to mac,
now the debug works
totally no idea why&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Jlink debug in eclipse and mac</title><link>https://devzone.nordicsemi.com/thread/8755?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2014 15:36:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acb79e62-91e5-444b-b0fd-1b091c2413db</guid><dc:creator>julian</dc:creator><description>&lt;p&gt;Thanks for the reply
I did the  ./disable_cdc.sh&lt;/p&gt;
&lt;p&gt;without the  ./disable_cdc.sh&lt;/p&gt;
&lt;p&gt;it will not reach &amp;quot;J-Link is connected.&amp;quot; stage,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Jlink debug in eclipse and mac</title><link>https://devzone.nordicsemi.com/thread/8754?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2014 10:49:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eabd840-5196-43f8-91f0-3c28d714d321</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;JLink has an issue with CDC on the OSX.  You can get a shell script here &lt;a href="http://hg.cmason.com/nrf"&gt;http://hg.cmason.com/nrf&lt;/a&gt; to disable CDC driver on OSX in order for JLink to work properly.&lt;/p&gt;
&lt;p&gt;The best Eclipse plugins for OSX is here &lt;a href="http://gnuarmeclipse.livius.net/blog/"&gt;gnuarmeclipse.livius.net/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Jlink debug in eclipse and mac</title><link>https://devzone.nordicsemi.com/thread/8753?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2014 10:17:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd44baa5-f759-428f-a0a5-a02be002e5bc</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I suspect that what you see is an issue with OS X and the Segger OB&amp;#39;s CDC implementation, in that OS X&amp;#39;s CDC driver requires exclusive access that messes with the GDB server&amp;#39;s connection to the chip. If so, you should be able to get things working by unloading the CDC driver. Take a look at &lt;a href="http://www.segger2.com/index.php?page=Thread&amp;amp;threadID=1418"&gt;this question over at Segger&amp;#39;s forum for details&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Jlink debug in eclipse and mac</title><link>https://devzone.nordicsemi.com/thread/8752?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2014 04:02:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00224c9c-2924-4d9e-8211-3a7ca7d630bb</guid><dc:creator>julian</dc:creator><description>&lt;p&gt;on gdb trace
331,697 2-environment-cd /Users/julian/Documents/firmware/gcc
331,698 3-list-thread-groups
331,698 2^done
331,700 (gdb)
331,700 3^done,groups=[{id=&amp;quot;i1&amp;quot;,type=&amp;quot;process&amp;quot;}]
331,701 4-gdb-set breakpoint pending on
331,701 (gdb)
331,701 4^done
331,701 (gdb)
331,702 5-enable-pretty-printing
331,703 5^done
331,703 (gdb)
331,704 6-gdb-set python print-stack none
331,704 6^done
331,704 (gdb)
331,705 7-gdb-set print object on
331,706 7^done
331,706 (gdb)
331,708 8-gdb-set print sevenbit-strings on
331,711 8^done
331,711 (gdb)
331,713 9-gdb-set charset ISO-8859-1
331,714 9^done
331,714 (gdb)
331,716 10set mem inaccessible-by-default off
331,716 11source .gdbinit
331,717 &amp;amp;&amp;quot;set mem inaccessible-by-default off\n&amp;quot;
331,717 10^done
331,717 (gdb)
331,717 &amp;amp;&amp;quot;source .gdbinit\n&amp;quot;
331,718 &amp;amp;&amp;quot;.gdbinit: No such file or directory.\n&amp;quot;
331,718 11^error,msg=&amp;quot;.gdbinit: No such file or directory.&amp;quot;
331,718 (gdb)
331,719 12-gdb-set auto-solib-add on
331,719 12^done
331,719 (gdb)
331,721 13-target-select remote localhost:2331&lt;/p&gt;
&lt;p&gt;337,744 13^error,msg=&amp;quot;Remote communication error.  Target disconnected.: Connection reset by peer.&amp;quot;
337,744 (gdb)
337,745 &amp;amp;&amp;quot;\n&amp;quot;
337,745 ^done
337,746 (gdb)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>