<?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>How to debug nrf24le1 devices on keil?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43581/how-to-debug-nrf24le1-devices-on-keil</link><description>Hi, I am a beginner to nrf24le1. My company has products made of nef24le1. I would like to debug nrf24le1 devices but couldnt able to , I would like to know the answers for following questions, Please educate me: 
 
 I recently purchased ulink2, Can i</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Feb 2019 15:50:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43581/how-to-debug-nrf24le1-devices-on-keil" /><item><title>RE: How to debug nrf24le1 devices on keil?</title><link>https://devzone.nordicsemi.com/thread/171200?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 15:50:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f02e6057-f471-4646-8377-fe3dd1785513</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="ashokraj"]I currently have the software of my company product built on nrf24le1, I would like to gain a better understanding of software through debugging. The hardware of that product has support of ISP but not JTAG. How can I debug ?&amp;nbsp;[/quote]
&lt;p&gt;If the hardware does not have the JTAG pins routed out, you cannot enter debug mode. Then you have to use UART or similar (set/clear unused GPIOs) to trace where you are in the code, unfortunately.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="ashokraj"]I am with an impression that if I combine nrfgo&amp;nbsp;mother board +nrf2722 i could download any program with target nrf24le1 and start debugging .&lt;strong&gt;&amp;nbsp;Is my impression wrong?&lt;/strong&gt; Because I could able to download program on to module but &amp;nbsp;keil&amp;nbsp;IDE hangs as soon as I start debugging session.&amp;nbsp;[/quote]
&lt;p&gt;This is correct. With the nRF2722 module, the JTAG is routed directly to the chip itself, so that you can enter debug mode.&lt;/p&gt;
&lt;p&gt;Note that you have to enable the debug bit in order to do this:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-01b8f3a30bed4ddd8e3883b86b2db48b/pastedimage1550159383536v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;After this is set, flash the device once, then enter debug mode.&lt;/p&gt;
&lt;p&gt;In this mode, it will await a connection over JTAG, and will not run before you attach the debugger. If you want to return back to &amp;quot;normal mode&amp;quot;, uncheck the debug section above, then flash again.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug nrf24le1 devices on keil?</title><link>https://devzone.nordicsemi.com/thread/170992?ContentTypeID=1</link><pubDate>Wed, 13 Feb 2019 21:32:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ee5d924-d2b0-474e-ad85-1e440c0cc9cd</guid><dc:creator>ashokraj</dc:creator><description>&lt;p&gt;Hi Hakon, I trying to understand the concept of debugging nrf24le1, could you please educate me in the following:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I currently have the software of my company product built on nrf24le1, I would like to gain a better understanding of software through debugging. The hardware of that product has support of ISP but not JTAG. How can I debug ?&amp;nbsp;&lt;/li&gt;
&lt;li&gt;I am with an impression that if I combine nrfgo&amp;nbsp;mother board +nrf2722 i could download any program with target nrf24le1 and start debugging .&lt;strong&gt;&amp;nbsp;Is my impression wrong?&lt;/strong&gt; Because I could able to download program on to module but &amp;nbsp;keil&amp;nbsp;IDE hangs as soon as I start debugging session.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug nrf24le1 devices on keil?</title><link>https://devzone.nordicsemi.com/thread/170772?ContentTypeID=1</link><pubDate>Wed, 13 Feb 2019 08:10:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9520aeac-0256-4876-aeeb-af3c49583af3</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;You could search for &amp;quot;8051 emulator&amp;quot;, but not sure how accurate this would be for the nRF24LE1 target, especially if you use peripherals like timers, ADC, radio, etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug nrf24le1 devices on keil?</title><link>https://devzone.nordicsemi.com/thread/170676?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 14:45:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccb4413d-c346-486e-a0df-0acdfbe4149d</guid><dc:creator>ashokraj</dc:creator><description>&lt;p&gt;I am thinking of emulators. ???&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug nrf24le1 devices on keil?</title><link>https://devzone.nordicsemi.com/thread/170585?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 11:17:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afaec2e5-e6fa-49de-a21f-9c83adb6e225</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I recently purchased ulink2, Can i use ulink2 to debug&amp;nbsp;my company products? If yes,&amp;nbsp;what is the hardware connection? These products have a 10 female pin slots to program via ISP. I could able to flash new software onto these products using nrfgo&amp;nbsp;studio and connecting via ISP from nrfgo&amp;nbsp;mother board.&amp;nbsp; can i use these pins for debugging?&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;You can debug the nRF5-series devices (ARM Cortex based) with it, but not the nRF24L-series devices, which are Intel 8051 based.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a list of the supported targets for ulink2:&amp;nbsp;&lt;a href="http://www.keil.com/arm/ulink2/chips.asp"&gt;http://www.keil.com/arm/ulink2/chips.asp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The nRF24L-series SoC devices from us uses a JTAG interface, which not many devices support. The nRFgo motherboard platform has support for debugging and programming.&lt;/p&gt;
[quote user=""]I have seen tutorials&amp;nbsp;and debugged a few projects by integrating nrfgo&amp;nbsp;motherboard(nRF6310 with&amp;nbsp; nrf2722 modules). I also used nrfprobe&amp;nbsp;debugger app in keil.&amp;nbsp;[/quote]
&lt;p&gt;This is the debugging / development platform that we support. I am not aware of any other debug probes available for a reasonable price for the nRF24LE1/nRF24LU1+ devices, unfortunately.&lt;/p&gt;
[quote user=""]Instead of using the real hardware is there&amp;nbsp;any other way of debugging software without the need of real hardware? Like dumping the&amp;nbsp;software into some custom device and performing debugging? after connecting nrf2722 module to nrfgo&amp;nbsp;motherboard, I could able to load the software( company&amp;#39;s) into the motherboard and perform debugging, not sure if it is the right approach but the speed is extremely slow!!!&amp;nbsp; &amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;Are you thinking of a simulator? I am not aware of a solution like that.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>