<?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>Failed to power up DAP Cannot connect to targe</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93206/failed-to-power-up-dap-cannot-connect-to-targe</link><description>Hello, 
 
 I have been working with a custom board that incorporates an nRF52840 in a similar way to the dongle (PCA10059). A problem had arisen in which there was no bootloader present on our boards and so I got to work trying to work out how to add</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Oct 2022 11:34:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93206/failed-to-power-up-dap-cannot-connect-to-targe" /><item><title>RE: Failed to power up DAP Cannot connect to targe</title><link>https://devzone.nordicsemi.com/thread/392594?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 11:34:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95c7ad16-117d-4452-9a9f-1f4520190fdd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Ok so my understanding is that you only got into this issue after you flashed a firmware (bootloader?) to the chip ?&amp;nbsp;&lt;br /&gt;There could be a chance that if there is a firmware that trigger reset too early in the code it may block the debugger from accessing the chip.&lt;/p&gt;
&lt;p&gt;But it&amp;#39;s pretty small chance that you have such firmware.&amp;nbsp;&lt;br /&gt;So I&amp;#39;m not so sure if it was because of the firmware you flashed on the board that blocking the debugger or it&amp;#39;s something else was wrong with the chip, possibly with the hardware.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;No there is no way to erase the chip without the debugger.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to power up DAP Cannot connect to targe</title><link>https://devzone.nordicsemi.com/thread/392580?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 10:44:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:941c3dde-380b-4599-8e7c-9c163e50b5cd</guid><dc:creator>dgibson2</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That&amp;#39;s what I thought, the chip is powered properly, our board has a number of testpoints and all are at the expected values.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately it seems as though it may be a lost cause as I am unable to connect via JLink, I was hoping there was a way possibly to flash it without a connection however I understood that it was unlikely,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I had attempted both nrfjprog --eraseall and erasing through JLink to no avail.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks anyway&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to power up DAP Cannot connect to targe</title><link>https://devzone.nordicsemi.com/thread/392578?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 10:35:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d438bc42-fecf-40f5-a7fd-1a937aa2776c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Darren,&amp;nbsp;&lt;br /&gt;If you connect the nordic dongle to a SWD interface you can erase the whole chip the same way as you do with a Dev Kit.&amp;nbsp;&lt;br /&gt;You can either use nrfjprog --eraseall or you can use Jlink Commander to do that.&amp;nbsp;&lt;br /&gt;But from what I can see in the log is that the Jlink was not able to connect to the chip hence can&amp;#39;t do anything with it.&amp;nbsp;&lt;br /&gt;Please double check if you have powered the chip properly and if&amp;nbsp; you have all the pins for SWD connected correctly.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to power up DAP Cannot connect to targe</title><link>https://devzone.nordicsemi.com/thread/392557?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 09:31:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0138b11b-c6cd-4b1b-9655-3c71c1fbd5f9</guid><dc:creator>dgibson2</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The device has an SWD interface however it isn&amp;#39;t working right now, the jlink itself has a steady orange light when connected to the problemed board. I know this problem doesn&amp;#39;t lie with my Jlink ultra as I was able to use it to program another one of the boards we have.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The setup we&amp;#39;re using is essentially a nordic dongle with an SWD header attached,&amp;nbsp; they&amp;#39;re functionally near identical as it is being used to replace a dongle in our systems.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The reason that I required a bootloader to be added is because we were adding an assembled zip file via nrfutil to program the chip, this is not my problem anymore as this aspect is working fine and up to our requirements.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The problem lies solely with the board that I had been working with initially and I believe I may have bricked it/corrupted the memory. Would you know if there is any easy way to wipe a nordic dongle? As this would function just as well on our custom board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to power up DAP Cannot connect to targe</title><link>https://devzone.nordicsemi.com/thread/392552?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 09:16:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70eeb80b-997c-4735-a755-cb6974e5cda8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Gibson,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have access to the SWD interface of the chip, I don&amp;#39;t see much point to&amp;nbsp; have a bootloader on the dongle.&amp;nbsp;&lt;br /&gt;You can just directly write to the flash of the nRF52840 without using the bootloader.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Of course if you want to only use the dongle with USB and don&amp;#39;t have to connect to a debugger then a bootloader would be useful.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I would suggest to test is to try read and write to flash before you test with writing the bootloader. Just try testing if you can use nrfjprog or Jlink commander to read the flash, erase and write. Just to be sure the SWD interface is correctly working.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Could you send a photo of your set-up ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>