<?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>nRF52832 flashing custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16141/nrf52832-flashing-custom-board</link><description>Hi, 
 I know that this question has been asked before but I was wondering if someone can help me understand if the problem is from the connections on my board or my chip is bricked and what the next step would be in my case. I have a custom board and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Jul 2021 21:08:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16141/nrf52832-flashing-custom-board" /><item><title>RE: nRF52832 flashing custom board</title><link>https://devzone.nordicsemi.com/thread/320514?ContentTypeID=1</link><pubDate>Fri, 16 Jul 2021 21:08:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10e9c8e0-29e6-4a64-a57b-58febe7290b0</guid><dc:creator>Mohsen_K</dc:creator><description>&lt;p&gt;I had the same exact problem. I found why that happens and I think it is a design flaw of the programmer! The only thing you need to do is to exchange the sides of the cable&amp;nbsp;connecting board to the programmer! Although connectors on both sides are identical it matters which side of the cable goes where!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 flashing custom board</title><link>https://devzone.nordicsemi.com/thread/61577?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2016 09:16:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd6e01bc-3ef8-410b-b9ee-7b3b23a70bf6</guid><dc:creator>Vala</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The problem was that the RESET pin of the chip was pull down in my circuit since I had considered it as an IO. In this mode the CPU does not respond to programmer either. I tested the same thing with nrf52DK. I connected the P0.21 of the nRF52832 to GND, then turned on the board and the CPU did not start working.&lt;/p&gt;
&lt;p&gt;I will ask about the RESET pin functionality in another question.&lt;/p&gt;
&lt;p&gt;-Vala&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 flashing custom board</title><link>https://devzone.nordicsemi.com/thread/61576?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 11:11:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45068491-04df-4f72-9a14-6b64fd2d646a</guid><dc:creator>Vala</dc:creator><description>&lt;p&gt;Yes, I am able to program the nRF52DK by the jLink EDU that I have.I have also used it for other SoCs/MCUs. But I have never used it with 1.8V.&lt;/p&gt;
&lt;p&gt;There is one strange thing happening with my jLink though. When I connect it to Debug out of the nRF52DK and disconnect the power from the nRF52DK the LED on the programmer turns orange for a little while (which is guess says that the target doesn&amp;#39;t have power) and then it turns green again.&lt;/p&gt;
&lt;p&gt;When I repeat exactly the same process with my custom board (which has the 1.8V power source) the LED never turns orange and it stays green.&lt;/p&gt;
&lt;p&gt;This seems to be a problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 flashing custom board</title><link>https://devzone.nordicsemi.com/thread/61575?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 11:06:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a71a410-ed83-450d-accf-c5c20930dfcb</guid><dc:creator>Vala</dc:creator><description>&lt;p&gt;Appreciate your follow-up Roger. Yes, there is 3.3 LDO on the board but there is a diode after that (for reverse voltage protection) which drops the voltage to 2.87 (what my multimeter shows). As expected, the output from the LDO is 3.3V and the output of the diod is 2.87V on my nRF52DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 flashing custom board</title><link>https://devzone.nordicsemi.com/thread/61574?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 11:01:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4992fc14-97c7-4488-8d6e-9096ccd0eedf</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Could be the Jlink is faulty,
Do you have any other SWD debuggers, e.g. STLink, or CMSIS DAP or BlackMagic probe. (Or do you have any other hardware that you could program to be any of the above.&lt;/p&gt;
&lt;p&gt;Or can you borrow another SWD programmer ?&lt;/p&gt;
&lt;p&gt;I have 2 JLink&amp;#39;s I bought from eBay, 2 STLinks, 1 CMSIS DAP and several boards flashed with Blackmagic probe ;-)  (but I guess I&amp;#39;m unusual)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 flashing custom board</title><link>https://devzone.nordicsemi.com/thread/61573?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 10:49:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1850c625-3019-46f5-83b8-823a9d96f81b</guid><dc:creator>Vala</dc:creator><description>&lt;p&gt;And I checked some other things:&lt;/p&gt;
&lt;p&gt;1- I checked the DEC outputs of the MCU to make sure that the power is in present for the MCU. I get all the expected values e.g. 0.9V and 1.3V. I also have DCC connected to DEC4 through two inductors.&lt;/p&gt;
&lt;p&gt;2- I checked if the SWDIO and SWDCLK pins have the pull-up and -down voltages. They are also OK.&lt;/p&gt;
&lt;p&gt;So I guess I have all the voltages and connections fine. Now I have only the last option, which is changing the chip, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 flashing custom board</title><link>https://devzone.nordicsemi.com/thread/61572?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 10:47:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec1cdc1e-2830-49b7-8ee6-e9ef3e327049</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Do you know why you only have 2.82V ? I don&amp;#39;t have the nRF52DK I only have various nRF51822 boards, and they all have 3.3V supplies mainly via regulators from 5V USB&lt;/p&gt;
&lt;p&gt;But I don&amp;#39;t know whether 2.8V is normal for the nRF52DK.  You may be able to get a schematic for that DK and check if its supposed to only be 2.8V though it seems a strange voltage to use&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 flashing custom board</title><link>https://devzone.nordicsemi.com/thread/61571?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 10:42:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5f12819-0dbb-46fe-b584-a8510955360f</guid><dc:creator>Vala</dc:creator><description>&lt;p&gt;And one update:&lt;/p&gt;
&lt;p&gt;In my first post I said that I was not able to program the nRF52DK without RESET pin connected to the programmer. It was wrong. I have no idea why. I tried it again and everything works perfectly with nRF52DK using Debug Out connector and without RESET pin used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 flashing custom board</title><link>https://devzone.nordicsemi.com/thread/61570?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 10:41:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25bc68ae-bc48-48e7-8217-a0d69f42d3b7</guid><dc:creator>Vala</dc:creator><description>&lt;p&gt;I powered up the MCU with 2.8V got from nRF52DK. jFlash reports the same:&lt;/p&gt;
&lt;p&gt;Connecting ...&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Connecting via USB to J-Link device 0&lt;/li&gt;
&lt;li&gt;Target interface speed: 200 kHz (Auto)&lt;/li&gt;
&lt;li&gt;VTarget = 2.832V&lt;/li&gt;
&lt;li&gt;ERROR: Failed to connect.
Could not establish a connection to target.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When I use 1.8V generated in  my own board I get this:&lt;/p&gt;
&lt;p&gt;Connecting ...&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Connecting via USB to J-Link device 0&lt;/li&gt;
&lt;li&gt;Target interface speed: 200 kHz (Auto)&lt;/li&gt;
&lt;li&gt;VTarget = 1.793V&lt;/li&gt;
&lt;li&gt;ERROR: Failed to connect.
Could not establish a connection to target.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;nrfjprog although gives a different report:&lt;/p&gt;
&lt;p&gt;λ nrfjprog --clockspeed 1000 --family nrf52 --recover
Recovering device. This operation might take 30s.
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure why it gives a DLL error. Because I am able to program the nrf52DK with same command and the same programmer (using Debug In connector).&lt;/p&gt;
&lt;p&gt;Also &lt;a href="https://devzone.nordicsemi.com/question/16665/jlinkexe-can-not-connect-to-target-nrf51822-g0-rev/"&gt;here&lt;/a&gt; some one was able to program the MCU with 1.7V. The minimum voltage for jLink is 1.2V.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 flashing custom board</title><link>https://devzone.nordicsemi.com/thread/61569?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 07:26:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ba32869-51d5-4cdd-9112-82d1bb3a41ab</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Can you connect VREF to another supply of 3.3V then see what voltage Jflash reports.&lt;/p&gt;
&lt;p&gt;It doesnt need to be connected to the actual board you are programming&lt;/p&gt;
&lt;p&gt;If your Jlink has a 3.3V output, (some do) just connect it to that voltage&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 flashing custom board</title><link>https://devzone.nordicsemi.com/thread/61568?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 07:17:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4e53999-6191-4c15-9876-f7ae2f54d920</guid><dc:creator>Vala</dc:creator><description>&lt;p&gt;Thanks for your comment Roger. By VREF in my post I meant VCC. So I have this pin connected. I cannot use jFlash for erasing or programming the MCU since I don&amp;#39;t have its license (I&amp;#39;m using jLink EDU). I can only use the option &amp;#39;connect&amp;#39; in jFlash. When I try to connect it (after choosing the right device in jFlash of course), it detects the voltage level correctly (about 1.8V) but gives me this error: ERROR: Failed to connect. The jLink datasheet says that the minimum voltage is 1.2V. So there shouldn&amp;#39;t be a problem with 1.8V. Additionally, I have tried feeding a 3V voltage to VCC sense pin of the programmer (which is not a good practice since the voltage level of the SWDIO and SWCLK is set according to VCC sense) but still getting the same error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 flashing custom board</title><link>https://devzone.nordicsemi.com/thread/61567?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2016 23:33:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:806287eb-267d-4dd1-b8fc-1d6e9430b5e9</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;I am not sure about the nRF52832 but the nRF51822 and all other ARM based devices I have worked with, only require 3 SWD pins GND SWCLK and SWDIO&lt;/p&gt;
&lt;p&gt;With JLink you also need to provide Vcc to its Vcc sense pin, otherwise it doesn&amp;#39;t think your board is powered up.&lt;/p&gt;
&lt;p&gt;So connect 3.3V to the Voltage sense pin&lt;/p&gt;
&lt;p&gt;I use both JLink and also the BlackMagic probe and I never have to connect reset (I don&amp;#39;t even know if Blackmagic probe has a reset pin - but it may do)&lt;/p&gt;
&lt;p&gt;Just try using JFlash, and select the correct template for the device. Make sure you have SWDIO and SWCLK around the right way&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>