<?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>Eclipse, GDB, MacOS...So Close...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1338/eclipse-gdb-macos-so-close</link><description>I am seeing signs of the chip wanting to be debugged by Eclipse on my Mac. It really does. I can feel it. 
 Two things seem to be plaguing me: 
 
 
 90% of the time it fails to download the code from gdb, citing a &amp;quot;block verification error&amp;quot;. Would</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Aug 2016 07:45:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1338/eclipse-gdb-macos-so-close" /><item><title>RE: Eclipse, GDB, MacOS...So Close...</title><link>https://devzone.nordicsemi.com/thread/6101?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2016 07:45:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58b494a7-41af-40c2-bf7a-31773b9237ae</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;i am getting same issue how to solve this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse, GDB, MacOS...So Close...</title><link>https://devzone.nordicsemi.com/thread/6100?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2015 19:05:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b65a7b4a-d8c5-48bb-977e-a8202b29c56c</guid><dc:creator>jdavid75</dc:creator><description>&lt;p&gt;I have the same problem but in Windows 7.  My Segger output looks like this:&lt;/p&gt;
&lt;p&gt;SEGGER J-Link GDB Server V5.02d Command Line Version&lt;/p&gt;
&lt;p&gt;JLinkARM.dll V5.02d (DLL compiled Sep 18 2015 20:21:49)&lt;/p&gt;
&lt;p&gt;-----GDB Server start settings-----
GDBInit file:                  none
GDB Server Listening port:     2331
SWO raw output listening port: 2332
Terminal I/O port:             2333
Accept remote connection:      localhost only
Generate logfile:              off
Verify download:               on
Init regs on start:            on
Silent mode:                   off
Single run mode:               on
Target connection timeout:     0 ms
------J-Link related settings------
J-Link Host interface:         USB
J-Link script:                 none
J-Link settings file:          none
------Target related settings------
Target device:                 Cortex-M4
Target interface:              SWD
Target interface speed:        1000kHz
Target endian:                 little&lt;/p&gt;
&lt;p&gt;Connecting to J-Link...
J-Link is connected.
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Aug 28 2015 19:26:24
Hardware: V1.00
S/N: 682869800
Checking target voltage...
Target voltage: 3.30 V
Listening on TCP/IP port 2331
Connecting to target...Connected to target
Waiting for GDB connection...Connected to 127.0.0.1
Reading all registers
Read 4 bytes @ address 0x00000000 (Data = 0xFFFFFFFF)
Target interface speed set to 1000 kHz
Resetting target
Halting target CPU...
...Target halted (PC = 0xFFFFFFFE)
R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000
R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000
R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000
R12= 00000000, R13= FFFFFFFC, MSP= FFFFFFFC, PSP= 00000000
R14(LR) = FFFFFFFF, R15(PC) = FFFFFFFE
XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000
CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00
Reading all registers
Read 4 bytes @ address 0xFFFFFFFE (Data = 0xFFFF0000)
Select auto target interface speed (1000 kHz)
Flash breakpoints enabled
Semi-hosting enabled (Handle on BKPT)
Semihosting I/O set to TELNET Client
Read 4 bytes @ address 0xFFFFFFFE (Data = 0xFFFF0000)
Downloading 3244 bytes @ address 0x00000000 - Verify failed
Downloading 8 bytes @ address 0x00000CAC - Verify failed
Downloading 1344 bytes @ address 0x00000CB4 - Verify failed
Writing register (PC = 0x00000a18)
Read 4 bytes @ address 0x00000A18 (Data = 0xFFFFFFFF)
Read 2 bytes @ address 0x000008E6 (Data = 0xFFFF)
Read 2 bytes @ address 0x000008E6 (Data = 0xFFFF)
Resetting target
Halting target CPU...
...Target halted (PC = 0xFFFFFFFE)
Read 2 bytes @ address 0x000008E6 (Data = 0xFFFF)
Read 2 bytes @ address 0x000008E6 (Data = 0xFFFF)
Read 2 bytes @ address 0x000008E6 (Data = 0xFFFF)
R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000
R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000
R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000
R12= 00000000, R13= FFFFFFFC, MSP= FFFFFFFC, PSP= 00000000
R14(LR) = FFFFFFFF, R15(PC) = FFFFFFFE
XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000
CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00
Reading all registers
Read 4 bytes @ address 0xFFFFFFFE (Data = 0xFFFF0000)
Setting breakpoint @ address 0x000008E6, Size = 2, BPHandle = 0x0001
Starting target CPU...
...Target halted (PC = 0xFFFFFFFE)
Reading all registers
Read 4 bytes @ address 0xFFFFFFFE (Data = 0xFFFFFFFF)
Removing breakpoint @ address 0x000008E6, Size = 2
Read 4 bytes @ address 0xFFFFFFF4 (Data = 0x00000000)
Read 4 bytes @ address 0xFFFFFFF0 (Data = 0x00000000)
Read 4 bytes @ address 0x00000000 (Data = 0xFFFFFFFF)
Reading 64 bytes @ address 0x00000000
Reading 64 bytes @ address 0x00000040
Read 4 bytes @ address 0xFFFFFFEC (Data = 0x00000000)
Read 4 bytes @ address 0xFFFFFFEC (Data = 0x00000000)
Read 4 bytes @ address 0x00000000 (Data = 0xFFFFFFFF)
Read 4 bytes @ address 0xFFFFFFF4 (Data = 0x00000000)
Read 4 bytes @ address 0xFFFFFFEC (Data = 0x00000000)
Read 4 bytes @ address 0x00000000 (Data = 0xFFFFFFFF)
Reading 64 bytes @ address 0xFFFFFF80
Reading 64 bytes @ address 0xFFFFFFC0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse, GDB, MacOS...So Close...</title><link>https://devzone.nordicsemi.com/thread/6099?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2014 15:58:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:430cc944-52cb-435b-aa90-6a39904ea147</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Jim, that was a great couple of posts :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse, GDB, MacOS...So Close...</title><link>https://devzone.nordicsemi.com/thread/6098?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2014 07:34:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e5ad8a5-27c6-40dc-84e1-4eb64888ba73</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Thanks for updating with this! Feel free to also accept your own answer, if it is useful!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse, GDB, MacOS...So Close...</title><link>https://devzone.nordicsemi.com/thread/6097?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2014 06:24:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b0632ea-4fc4-4992-be11-419f784dfcdc</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;I love answering my own questions.&lt;/p&gt;
&lt;p&gt;I took a chance at trying the &amp;quot;Standard GDB Hardware Debugging Launcher&amp;quot; instead of the &amp;quot;GDB (DSF) Hardware Debugging Launcher&amp;quot; that NAN-29 suggests.  This is a little bit of fine print at the bottom of the &amp;quot;Main&amp;quot; tab in the debug configuration editor.  You have to override the default.&lt;/p&gt;
&lt;p&gt;And voila, it works within eclipse, and seemingly quite well.  I&amp;#39;m only debugging blinky right now; I&amp;#39;ll take on a real BLE sample next, but I am no longer slowly going insane trying random settings.&lt;/p&gt;
&lt;p&gt;I hope this helps any of you out there trying to use your mac for development.&lt;/p&gt;
&lt;p&gt;-Jim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse, GDB, MacOS...So Close...</title><link>https://devzone.nordicsemi.com/thread/6096?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2014 06:05:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:342c443c-dd1b-4460-9b5a-c00ab9416fc6</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;Update:  running gdb locally, connecting to the JLink GDB server, seems to work quite robustly.  An ugly way to debug, but maybe better than nothing.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m running the same gdb from the command line that I am telling eclipse to use, with the same commands in the startup script.  Suspicious.  Timing maybe?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>