<?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>GDB programming verify error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6289/gdb-programming-verify-error</link><description>Hi,
I have troubles programming my blinky in a nRF51DK. I have S110 v8 loaded and can flash blinky with nrfStudio. Not with GDB. It seems that the flash is not erased. After programming with studio gdb gdb reports verify ok.
Blinky starts at 0x18000</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Mar 2015 17:48:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6289/gdb-programming-verify-error" /><item><title>RE: GDB programming verify error</title><link>https://devzone.nordicsemi.com/thread/21968?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2015 17:48:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:793209a0-543c-4a7e-923a-fb78431fd374</guid><dc:creator>Dig Kleppe</dc:creator><description>&lt;p&gt;It helped a lot!
In fact changing the CPU from Cortex-M0 to nrf51 did it.
I should have read the Segger doc about the supported devices a bit longer...
Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GDB programming verify error</title><link>https://devzone.nordicsemi.com/thread/21967?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2015 12:52:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fc287ac-7f2f-4f25-b2a0-662eaeba66a8</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;I tried running JLinkGDBServer with the flags &lt;code&gt;-select USB -device nrf51 -if SWD&lt;/code&gt; in linux with the arm-none-eabi-gdb, and it seems to work. My .gdbinit that is loaded with the arm-none-eabi-gdb looks like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;target remote localhost:2331
monitor endian little
monitor speed 1000
monitor reset
monitor sleep 100
monitor speed 2000
monitor flash device = nrf51
load
break main
continue
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I don&amp;#39;t know if this helps.&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t tried this in windows though. Can try to set it up there if you still struggle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>