<?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>Moving from pca10056 to pca10059, unable to debug in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62738/moving-from-pca10056-to-pca10059-unable-to-debug-in-segger-embedded-studio</link><description>I&amp;#39;m moving a project from pca10056 to pca10059. When programming the pca10059 via the JLink Edu Programmer, the application uploads fine, however it hangs entering debug and doesn&amp;#39;t execute the program when using Segger Embedded Studio. 
 If I take the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jun 2020 03:53:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62738/moving-from-pca10056-to-pca10059-unable-to-debug-in-segger-embedded-studio" /><item><title>RE: Moving from pca10056 to pca10059, unable to debug in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/255654?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 03:53:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c557b8a-b1c3-4337-8963-f3bc8aad7129</guid><dc:creator>clell</dc:creator><description>&lt;p&gt;Answering my own foo, this solved it:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34212/howto-flash-bootloader-settings-for-dfu-using-ses-at-debug-time"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/34212/howto-flash-bootloader-settings-for-dfu-using-ses-at-debug-time&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Segger requires an extra build step for the settings to be able to debug if an bootloader is present.&lt;/p&gt;
&lt;p&gt;Contrary to that link, on OSX, I found:&lt;/p&gt;
&lt;p&gt;1. The installed python3.7.4 worked fine with nrfutil&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;/Library/Frameworks/Python.framework/Versions/3.7/bin/nrfutil settings generate --family NRF52840 --application $(ProjectDir)/Output/$(Configuration)/Exe/$(ProjectName).hex &amp;nbsp;--application-version 1 --bootloader-version 1 --bl-settings-version 1 settings.hex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>