<?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>Debug nRF52840-PDK with arm-none-eabi-gdb</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30935/debug-nrf52840-pdk-with-arm-none-eabi-gdb</link><description>My kit is a nRF52840 PDK, i&amp;#39;ve installed SDK_14.2.0 and succesfully built and flashed the ble_app_hrs example project, but i&amp;#39;m not able to work as expected with the debugger. 
 
 Below the details on my setup, 
 Any help is welcome! 
 Attilio 
 
 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Jun 2018 09:13:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30935/debug-nrf52840-pdk-with-arm-none-eabi-gdb" /><item><title>RE: Debug nRF52840-PDK with arm-none-eabi-gdb</title><link>https://devzone.nordicsemi.com/thread/136696?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 09:13:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc7665f8-9d87-495a-9a33-acd429a2738e</guid><dc:creator>Sridhar Jonnavittula</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I followed the above method but when I hit CTRL+C suppose in order to keep another break point error ASM for breakpoint is showing up as below screenshot&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529399571360v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Please help.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug nRF52840-PDK with arm-none-eabi-gdb</title><link>https://devzone.nordicsemi.com/thread/123260?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 13:48:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edd3847a-3ad5-4bc4-a981-d05974a54e7e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, this is correct. There is no JTAG on the nRF5x devices, we use &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/dif.html?cp=2_1_0_15_0#dap"&gt;SWD interface&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug nRF52840-PDK with arm-none-eabi-gdb</title><link>https://devzone.nordicsemi.com/thread/122696?ContentTypeID=1</link><pubDate>Sat, 03 Mar 2018 14:05:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb58bbc0-5495-465b-9525-942f0099aa87</guid><dc:creator>Attilio Dona&amp;amp;#39;</dc:creator><description>&lt;p&gt;The doubt is not about the meaning of reset ...&lt;/p&gt;
&lt;p&gt;For what I understand the ble_stack_init has to be invoked in a well know state otherwise it throws an hard fault.&lt;/p&gt;
&lt;p&gt;This is valid for loading from JTAG and also from firmware update from OTA.&lt;/p&gt;
&lt;p&gt;Is it right my understanding?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug nRF52840-PDK with arm-none-eabi-gdb</title><link>https://devzone.nordicsemi.com/thread/122403?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 09:21:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06301f4a-3905-40cd-9cef-773d06788eed</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The&amp;nbsp;&lt;em&gt;monitor reset&lt;/em&gt; command will reset the chip, to make sure it is in a known state.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug nRF52840-PDK with arm-none-eabi-gdb</title><link>https://devzone.nordicsemi.com/thread/122352?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 17:00:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf302726-a4cf-4264-8bbb-fb3526ce0c4d</guid><dc:creator>Attilio Dona&amp;amp;#39;</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;Yes, I&amp;#39;ve flashed with s140_nrf52840_5.0.0-2.alpha_softdevice.hex.&lt;/p&gt;
&lt;p&gt;Meantime I have discovered&amp;nbsp; that executing a &lt;em&gt;monitor reset&lt;/em&gt; after the &lt;em&gt;load&lt;/em&gt; command resolve the problem.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The question now is: what is the reason of this behavoir?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Many thanks&lt;/p&gt;
&lt;p&gt;Attilio&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug nRF52840-PDK with arm-none-eabi-gdb</title><link>https://devzone.nordicsemi.com/thread/122332?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 15:19:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ddbd13d-108b-4144-ad18-1466ef0095a3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It looks like you are&amp;nbsp;getting hardfaults in your application. Did you &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/getting_started_softdevice.html?cp=4_0_0_1_3_0#getting_started_sd"&gt;flash the softdevice&lt;/a&gt; along the application?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>