<?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>Why can&amp;#39;t I debug SR3 v1.1 in MDK-ARM ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23932/why-can-t-i-debug-sr3-v1-1-in-mdk-arm</link><description>Hi,
I am porting my code from SR3 v1.0 to SR3 v1.1 now.
I have a problem in debugging SR3 v1.1. 
 In SR3 v1.0, it&amp;#39;s fine in MDK-ARM debug session. I can set break point or trace code&amp;#39;s execution.
But in SR3 v1.1, I can&amp;#39;t set break point or single</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Aug 2017 06:29:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23932/why-can-t-i-debug-sr3-v1-1-in-mdk-arm" /><item><title>RE: Why can't I debug SR3 v1.1 in MDK-ARM ?</title><link>https://devzone.nordicsemi.com/thread/94226?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 06:29:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:848fb538-5bb7-48f0-8d0c-69c3368f1782</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi PiZi,&lt;/p&gt;
&lt;p&gt;Thanks for your information.&lt;/p&gt;
&lt;p&gt;I can debug SR3v1.1 now.&lt;/p&gt;
&lt;p&gt;Updated MDK to lasted version eliminated the error 59 message.&lt;/p&gt;
&lt;p&gt;To debug firmware, the bootloader has to be erased first. Just like you mentioned earlier.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't I debug SR3 v1.1 in MDK-ARM ?</title><link>https://devzone.nordicsemi.com/thread/94229?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 05:29:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54ce53b3-aae1-4447-9888-d45613d68de5</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi.
Thanks for the information.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve updated the MDK-ARM to 5.24a and the error message is gone.&lt;/p&gt;
&lt;p&gt;I still can&amp;#39;t debug the SR3v1.1!&lt;/p&gt;
&lt;p&gt;I can debug the bootloader now and can&amp;#39;t debug fimrware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't I debug SR3 v1.1 in MDK-ARM ?</title><link>https://devzone.nordicsemi.com/thread/94230?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 10:15:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a201c1da-781b-4f30-ac75-1a679e62aaa9</guid><dc:creator>Piotr Ziecik</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Look here: &lt;a href="https://devzone.nordicsemi.com/question/120428/experimental_ble_app_eddystone-cannot-be-debugged/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't I debug SR3 v1.1 in MDK-ARM ?</title><link>https://devzone.nordicsemi.com/thread/94225?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 08:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec0afc3f-aed8-4364-b5a1-2b52e32500af</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SR3V1_5F00_1_5F00_KEIL.png" alt="image description" /&gt;
The image is a screen shoot of keil window.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't I debug SR3 v1.1 in MDK-ARM ?</title><link>https://devzone.nordicsemi.com/thread/94228?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 08:04:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e82b4f0-8082-4119-9300-d444e6501cad</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi.
Thanks for your response.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried the following things and the results are the same.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Erase the chip and program the SoftDevice only with nRFgo Studio. Then, start a debug session in Keil-ARM. The result is NG.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open the bootloader project. Rebuild and start debug session. The result is NG.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Ralph&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't I debug SR3 v1.1 in MDK-ARM ?</title><link>https://devzone.nordicsemi.com/thread/94227?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 06:12:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b7cb9cd-3fd9-4dd0-af32-a50bd744bd2a</guid><dc:creator>Piotr Ziecik</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The SR3 for nRF52 v1.1 has support for firmware upgrade over Bluetooth. As result, the complete firmware consists of SoftDevice, Bootloader and the SR3 application. After every reset and wake up the bootloader is executed. Then application is started if it is valid. Otherwise the remote will stay in DFU mode.&lt;/p&gt;
&lt;p&gt;I suppose that you cannot debug the application because the remote stays in bootloader (this is why you might see irrelevant disassembly).&lt;/p&gt;
&lt;p&gt;I recommend checking if you can debug the application if there is no bootloader in the system.
In order to remove the bootloader you should erase the chip (using nrfjprog with --eraseall switch) and then flash only SoftDevice and your firmware.&lt;/p&gt;
&lt;p&gt;Update:
Regarding error code. Maybe this will help you: &lt;a href="http://www.keil.com/support/docs/3692.htm"&gt;www.keil.com/.../3692.htm&lt;/a&gt;
Which version of Keil are you using? Could you post a screenshoot of the Keil window?&lt;/p&gt;
&lt;p&gt;Best Regards,
PiZi.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>