<?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>SW device &amp;quot;no target connected &amp;quot; nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95058/sw-device-no-target-connected-nrf52840</link><description>Hello 
 Im developping in nrf52840 , and created a pcb using nrf52840 qiaa 7x7 
 configuration 
 
 are we need to do something to first time? 
 because im trying to program but keil shows this 
 
 
 i have no idea if need to charge a bootloader something</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Jan 2023 08:43:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95058/sw-device-no-target-connected-nrf52840" /><item><title>RE: SW device "no target connected " nRF52840</title><link>https://devzone.nordicsemi.com/thread/403996?ContentTypeID=1</link><pubDate>Tue, 10 Jan 2023 08:43:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c49f2be-5824-4583-a58c-1dfcd216cae8</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;Great to hear that the programming/recovering is now working!&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><item><title>RE: SW device "no target connected " nRF52840</title><link>https://devzone.nordicsemi.com/thread/403902?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2023 15:22:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b774f773-e22b-4b17-85f9-222a5dee2002</guid><dc:creator>Marcos Tadeo</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;i did it, you right , i used the command nrfjprog --recover using a j-link debugger and now my IDE detected the micro i can program it also&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks and regards&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SW device "no target connected " nRF52840</title><link>https://devzone.nordicsemi.com/thread/403248?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2023 17:59:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8ba4b8d-2f6b-4229-a0ca-081b4557636b</guid><dc:creator>Marcos Tadeo</dc:creator><description>[quote userid="2115" url="~/f/nordic-q-a/95058/sw-device-no-target-connected-nrf52840/403169"]are you certain that it enumerates properly as a J-Link device?[/quote]
&lt;p&gt;I have these one&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1672854083670v1.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;segger web site&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/"&gt;Converting ST-LINK On-Board Into a J-Link&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:134px;max-width:357px;" height="134" src="https://devzone.nordicsemi.com/resized-image/__size/714x268/__key/communityserver-discussions-components-files/4/pastedimage1672854350730v2.png" width="357" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will buy a J-link debugger, and im going to try again&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;thanks and regards&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SW device "no target connected " nRF52840</title><link>https://devzone.nordicsemi.com/thread/403169?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2023 12:06:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbc0d047-567d-45e8-9150-7b005da31a83</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="Marcos Tadeo"]Can I do it using hardware (pin&amp;nbsp; P0.18 press reset)? [/quote]
&lt;p&gt;No, you will need to issue SWD AP commands over the SWD interface to recover the nRF.&lt;/p&gt;
[quote user="Marcos Tadeo"]I tried to convert stlink to jlink also, no changes the result&amp;nbsp;[/quote]
&lt;p&gt;The picture that you posted shows that nrfjprog cannot find any jlink capable debuggers. are you certain that it enumerates properly as a J-Link device?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have a nRF5-series DK, you can use that as a debugger.&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><item><title>RE: SW device "no target connected " nRF52840</title><link>https://devzone.nordicsemi.com/thread/403059?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2023 22:54:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64787bea-c927-4bed-9dfe-2c07d47562cd</guid><dc:creator>Marcos Tadeo</dc:creator><description>&lt;p&gt;hello,&lt;/p&gt;
&lt;p&gt;thank you for your reply&lt;/p&gt;
&lt;p&gt;Can I do it using hardware (pin&amp;nbsp; P0.18 press reset)? if no, then i need to buy a segger debuger&amp;nbsp;&lt;/p&gt;
&lt;p&gt;becasue&amp;nbsp;&amp;nbsp;im using ST Link v2,&amp;nbsp; I tried to send the command but not works,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:43px;max-width:405px;" height="43" src="https://devzone.nordicsemi.com/resized-image/__size/810x86/__key/communityserver-discussions-components-files/4/pastedimage1672781477437v1.png" width="405" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I tried to convert stlink to jlink also, no changes the result&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thnaks and regards&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SW device "no target connected " nRF52840</title><link>https://devzone.nordicsemi.com/thread/402773?ContentTypeID=1</link><pubDate>Mon, 02 Jan 2023 09:55:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cea2b5d5-70de-44bb-867a-4a00946fb20e</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;With newer IC revisions of the nRF52-series, an improved APPROTECT has been implemented, meaning that a recover must be performed first in order to open up the device. Please see this informational notice for more details:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/pdf/in_141_v1.1.pdf?cp=4_0_2_7"&gt;https://infocenter.nordicsemi.com/pdf/in_141_v1.1.pdf?cp=4_0_2_7&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This effectively means that you need to issue an ERASEALL command first, then program your firmware. I would recommend that you reach out to the openocd community to ask if this feature is implemented.&lt;/p&gt;
&lt;p&gt;If you use a segger based debugger, you can use &amp;quot;nrfjprog --recover&amp;quot; and &amp;quot;nrfjprog --program &amp;lt;hexfile&amp;gt; --sectorerase --verify&amp;quot; to program.&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><item><title>RE: SW device "no target connected " nRF52840</title><link>https://devzone.nordicsemi.com/thread/402574?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2022 17:01:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3909df0b-a1c9-4f61-b842-d93613a1f9d0</guid><dc:creator>Marcos Tadeo</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was checking the circuit and i did some modifications , now i was traying to add a bootloader to my IC&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i have seen the tutorial&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the cmd shows this error&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:179px;max-width:498px;" height="179" src="https://devzone.nordicsemi.com/resized-image/__size/996x358/__key/communityserver-discussions-components-files/4/pastedimage1672332655897v1.png" width="498" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;i saw the datasheet nrf52840&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:164px;max-width:410px;" height="164" src="https://devzone.nordicsemi.com/resized-image/__size/820x328/__key/communityserver-discussions-components-files/4/pastedimage1672332738482v2.png" width="410" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;and this post also&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/87996/disabling-ctrl-ap-for-nrf52840-dk-does-not-work-for-new-nrf52833-board/368460"&gt;Disabling CTRL-AP for nRF52840 DK does not work for new nRF52833 board&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;i didn&amp;#39;t catch that , how can i disable CTRL -AP, i was thinking that is the reason that i cant to program my IC,&amp;nbsp; because&amp;nbsp;&lt;span&gt;according to the post , &amp;quot;&lt;em&gt;The newest revision&amp;nbsp;devices (with improved APPROTECT) always requires a recover as the first step to program a blank IC (as it is locked by default, and the&amp;nbsp;recover unlocks it, allowing you to write to the UICR and include firmware that unlocks it semi-permanently).&amp;quot;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;can you help me ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;thanks regards&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SW device "no target connected " nRF52840</title><link>https://devzone.nordicsemi.com/thread/402053?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2022 09:40:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b49447aa-97df-4421-8b61-a5fea0b6a4db</guid><dc:creator>ketiljo</dc:creator><description>[quote user="Marcos Tadeo"]yes, we checked the power supply and its ok apparently , 1.8v in &amp;quot;VDD nrf&amp;quot; tag[/quote]
&lt;p&gt;Check if the debugger supports 1.8 V. Not all does that.&lt;/p&gt;
&lt;p&gt;You can program the device using the SWD interface without any bootloader.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SW device "no target connected " nRF52840</title><link>https://devzone.nordicsemi.com/thread/402001?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 17:49:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a5c10d5-c9f8-46f7-bc9a-9bdfbb8cfa21</guid><dc:creator>Marcos Tadeo</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks for your reply&lt;/p&gt;
[quote userid="2125" url="~/f/nordic-q-a/95058/sw-device-no-target-connected-nrf52840/401854"]There&amp;#39;s no bootloader in the nRF52840 when it hasn&amp;#39;t been programmed before. [/quote]
&lt;p&gt;do you mean that i can charge my code without flashing a bootloader before?, I customized a board for nrf52840 and I bought a Chip micontrollorer with Nordic distributors&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was testing whit nrf52840 dk generic over SWDIO and&amp;nbsp; SWCLK with st link v2 debugger, no problem&amp;nbsp;&lt;/p&gt;
&lt;p&gt;when i created a custom board the keil IDE no detected the micro , my custom board has not been&amp;nbsp; programmed before,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;im following this tutorioal:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=kCEhT5kDCm4&amp;amp;t=326s"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Does nRF52840 need Bootloader for the first time?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;sorry my english grammar is not good&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SW device "no target connected " nRF52840</title><link>https://devzone.nordicsemi.com/thread/401854?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 08:55:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e34abefe-25e0-42fb-905e-a105459fb501</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;There&amp;#39;s no bootloader in the nRF52840 when it hasn&amp;#39;t been programmed before. What programmer are you using? If it&amp;#39;s the ST-Link, it may or may not work. Hard to say as it&amp;#39;s not supported.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Download this:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download"&gt;https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and write nrfjprog --recover&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SW device "no target connected " nRF52840</title><link>https://devzone.nordicsemi.com/thread/401780?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 16:16:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b20e0fe2-eb59-4cbe-bc28-6edffb973cb0</guid><dc:creator>Marcos Tadeo</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;/p&gt;
&lt;p&gt;yes, we checked the power supply and its ok apparently , 1.8v in &amp;quot;VDD nrf&amp;quot; tag&lt;br /&gt;I saw a post says the chip dont have a &amp;quot;bootloader &amp;quot; precharged, then that reason i cant to program the microcontroller , is this correct?&lt;/p&gt;
&lt;p&gt;i was thinking, didnt need to do it&lt;/p&gt;
&lt;p&gt;if yes , how can i do that ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks and regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SW device "no target connected " nRF52840</title><link>https://devzone.nordicsemi.com/thread/401625?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 04:52:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d7d4539-bffa-45ea-bc78-a87078b754fa</guid><dc:creator>Senchoi</dc:creator><description>&lt;p&gt;Are you supplying the power to the device? As debuggers don&amp;#39;t supply power when connected, I guess it could be a similar issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>