<?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>nRF52840 - Old one works, new one doesn&amp;#39;t</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119211/nrf52840---old-one-works-new-one-doesn-t</link><description>We had three nRF52840DK boards (PCA10056) for several years for use in development. Then one died (or to be fair, I killed it), so we got two more that turned out to be newer. 
 I&amp;#39;ve got both the nRF Command Line Tools (e.g., nrfjprog) and nrfutil. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Feb 2025 17:12:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119211/nrf52840---old-one-works-new-one-doesn-t" /><item><title>RE: nRF52840 - Old one works, new one doesn't</title><link>https://devzone.nordicsemi.com/thread/524419?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2025 17:12:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5b0e845-52c2-43f4-975e-c62b5f769fcd</guid><dc:creator>David Ormand</dc:creator><description>&lt;p&gt;As mentioned above, I&amp;#39;m using a Tag-Connect TC2030 cable for programming.&amp;nbsp; TC2030 is a six-pin footprint.&amp;nbsp; Of the ten signals from P19, pins 7 and 8 are not connected, and pins 3, 5, and 9 are connected together _in the cable_.&amp;nbsp; I see that pin 3 is SWDO_SELECT.&amp;nbsp; So when the cable is connected to P19, SWDO_SELECT will be shorted to ground _in the cable_.&lt;/p&gt;
&lt;p&gt;Also as mentioned, I&amp;#39;m not powering the target through the cable.&amp;nbsp; So SB47 (corresponds to SB32 on the nRF52DK) remains in its as-delivered &amp;quot;open&amp;quot; state.&lt;/p&gt;
&lt;p&gt;Question: In the previous ODB, was P19 used if BOTH SWDO_SELECT is grounded AND pin 1 sees target voltage?&amp;nbsp; This would explain why my older DK doesn&amp;#39;t care if the cable is present.&amp;nbsp; And in the newer ODB, P19 is used if SWDO_SELECT is grounded without looking if pin 1 sees target voltage?&amp;nbsp; So by merely having the cable connected, it thinks there&amp;#39;s a target connected, but since there isn&amp;#39;t actually a powered target connected, the JLink won&amp;#39;t work?&amp;nbsp; This would explain why the newer DK won&amp;#39;t do anything when the cable is connected but just hanging (a stub).&lt;/p&gt;
&lt;p&gt;If this is the case, this explains why programming doesn&amp;#39;t work.&amp;nbsp; It doesn&amp;#39;t explain so much why&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; nrfutil device device-info&lt;/span&gt;&lt;br /&gt;doesn&amp;#39;t work, which appears to be talking directly to the OBD (reports board ID and firmware version, nothing to do with an external target).&lt;/p&gt;
&lt;p&gt;Interesting: The PCA10056 schematic shows a SB19 that connects pin 1 of P19 to VIO_REF.&amp;nbsp; On the newer DK, I see SB19 right next to SB47 adjacent to P19.&amp;nbsp; On the older DK, there is only SB47, which suggests to me that on the older DK, the voltage on P19-1 is being monitored under all circumstances.&amp;nbsp; Aha!&amp;nbsp; Yes, if I pull down the hardware files for board version 2.1.0, P19-1 is connected to EXT_VTG; no solder bridge.&amp;nbsp; Furthermore, the DK User Guide lists all the solder bridges EXCEPT for SB19.&amp;nbsp; Hence the statement in the DK User Guide (which apparently has not been updated for the newer design):&lt;/p&gt;
&lt;p&gt;&amp;quot;When the external board is powered, the interface MCU will detect the supply voltage of the board and&lt;br /&gt;program/debug the target chip on the external board instead of the onboard nRF52840 SoC.&amp;quot;&lt;/p&gt;
&lt;p&gt;This is interesting, but this doesn&amp;#39;t explain why my customer is having problems reliably programming powered external targets through P19 / TC2030.&amp;nbsp; There does not appear to be a technical reason.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 - Old one works, new one doesn't</title><link>https://devzone.nordicsemi.com/thread/524209?ContentTypeID=1</link><pubDate>Sun, 23 Feb 2025 15:29:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:097aa390-505b-48ca-a406-8940e6e09914</guid><dc:creator>PaKa</dc:creator><description>&lt;p&gt;There was a change in how the kit determines what programming port to use when we moved from the older OBDs to the nRF5340 OBDs. If you have followed the instructions to the letter and have ALL the signals wired then it should work seamlessly but if you have not wired all/done something not standard then you may see unexpected behavior.&lt;/p&gt;
&lt;p&gt;Recommendation is to check out the nRF52 DK user guide on our documentation siite,&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf52832_dk/page/UG/dk/ext_programming_support_P19.html"&gt;docs.nordicsemi.com/.../ext_programming_support_P19.html&lt;/a&gt;, (I have not gotten all the DK user guides updated yet) and see if your setup is correct according to this user guide (the new nRF52840 DKs have the same circuitry for external programming as new nRF52 DKs).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 - Old one works, new one doesn't</title><link>https://devzone.nordicsemi.com/thread/524174?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 22:54:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3b79f77-7bbb-45b9-8200-089dc30732ec</guid><dc:creator>David Ormand</dc:creator><description>&lt;p&gt;I&amp;#39;m not powering the target from the DK.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve just finished using the &amp;quot;new&amp;quot; DK to reprogram a set of target hardware today.&amp;nbsp; Worked every time.&amp;nbsp; My customer, OTOH, is having spotty results.&amp;nbsp; I can&amp;#39;t actually say I have a lot of personal experience with programming with the &amp;quot;new&amp;quot; DK, since I&amp;#39;ve got my &amp;quot;old&amp;quot; DK serving in that role.&amp;nbsp; I think I&amp;#39;m going to swap them, though.&lt;/p&gt;
&lt;p&gt;What really blows me away, though, is how an &amp;quot;old&amp;quot; DK doesn&amp;#39;t care if the stub cable is on P19 but the &amp;quot;new&amp;quot; DK absolutely refuses to do anything.&amp;nbsp; Like you say, a 6-inch stub isn&amp;#39;t much of a stub.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 - Old one works, new one doesn't</title><link>https://devzone.nordicsemi.com/thread/524172?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 22:35:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c797f75c-3f42-4cd8-98fe-a162f1b56107</guid><dc:creator>sly</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;I do not have the exact nRF52840-DK that you are using.&amp;nbsp; But yes our newer nRF52 and nRF5340-DK are using the nrf5340 with special firmware from Segger as the Segger J-Link OB.&amp;nbsp; I definitely don&amp;#39;t recommend reprogramming that SoC -- the firmware that goes on this nRF5340 is not available.&amp;nbsp; We stopped using the JLink OB chip (non Nordic version) on the DKs since we could not purchase them during the 2020-2022 allocation days.&lt;/p&gt;
&lt;p&gt;Yes nRF Command Line Tool is slated to be obsoleted but you are good for the near term.&amp;nbsp; And you have the correct version of nRF Util installed.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;I am not sure which of the the following you are doing but you might want to try the other method to see if that makes a difference.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;It&amp;#39;s recommended to power the external board separately from the DK. The voltage on the external board must match that of the DK (typically 3V when powered through USB).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt; If you&amp;#39;re using the DK to power the target, make sure you&amp;#39;ve shorted the solder bridge SB47, but be cautious not to connect a separate power supply to the external board when SB47 is shorted&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;&amp;nbsp;&lt;/span&gt;&lt;a style="font-family:inherit;" href="https://docs.nordicsemi.com/bundle/ug_nrf52840_dk/page/UG/dk/hw_debug_out.html#ariaid-title1" rel="noopener noreferrer" target="_blank"&gt;nRF52840 DK User Guide&lt;/a&gt;&lt;span style="font-family:inherit;"&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;I have used the same Tag-Connect TC2030-CTX-NL cable so I don&amp;#39;t think there should be any issues there.&amp;nbsp; It is not that long of a cable.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;I will turn control of this ticket back to our support team.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;Thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Mike Sly&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 - Old one works, new one doesn't</title><link>https://devzone.nordicsemi.com/thread/524155?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 18:37:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb9a2011-71b0-4d89-99c5-009e59e0ca52</guid><dc:creator>David Ormand</dc:creator><description>&lt;p&gt;Should have mentioned:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;D:\home\dormand&amp;gt;nrfutil --version&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;nrfutil 7.13.0 (8289424 2024-07-01)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;commit-hash: 82894242d19ff24a1541712312b3ea3af0ca8f85&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;commit-date: 2024-07-01&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;host: x86_64-pc-windows-msvc&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;build-timestamp: 2024-07-01T07:37:50.864803700Z&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;classification: nrf-external&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;D:\home\dormand&amp;gt;nrfjprog --version&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;nrfjprog version: 10.24.2 external&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;JLinkARM.dll version: 8.14&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;And I should have generated a log like the error message requested.&amp;nbsp; Now attached.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4382.log.log"&gt;devzone.nordicsemi.com/.../4382.log.log&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and the debug log for nrfutil&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/20250221_2D00_T183603.064471800UTC_2D00_e911cf14db53440fa3ea252bb93a30ce_2D00_nrfutil_2D00_device.txt"&gt;devzone.nordicsemi.com/.../20250221_2D00_T183603.064471800UTC_2D00_e911cf14db53440fa3ea252bb93a30ce_2D00_nrfutil_2D00_device.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>