<?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>Can&amp;#39;t program board when audio cable plugged into board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73842/can-t-program-board-when-audio-cable-plugged-into-board</link><description>I am developing a custom board with NRF52832 and an audio DAC which outputs to a headphone jack. When the headphones are plugged in I can&amp;#39;t program the board with my Segger programmer. I can connect and start the debugger without programming the chip</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Apr 2021 13:38:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73842/can-t-program-board-when-audio-cable-plugged-into-board" /><item><title>RE: Can't program board when audio cable plugged into board</title><link>https://devzone.nordicsemi.com/thread/304576?ContentTypeID=1</link><pubDate>Tue, 13 Apr 2021 13:38:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef511cb7-1177-4d75-9336-d6cacb02d4b1</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="cory123"]When I plug in an I2C device via a header and&amp;nbsp; 4cm wire I get the same problem independent of the headphone issue. It seems like the cables I&amp;#39;m plugging in are somehow messing with the stability of VCC and GND. I will probe with my multi-meter and report back. Thanks![/quote]
&lt;p&gt;Does your firmware handle this scenario? If the firmware asserts, the default behavior is to do a soft-reset, and if it also asserts (ie. resets) in the boot-up process; you can get into a scenario where it is hard to attach to the nRF. Try enabling blocking asserts via adding the preprocessor symbol &amp;quot;DEBUG&amp;quot;.&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: Can't program board when audio cable plugged into board</title><link>https://devzone.nordicsemi.com/thread/304347?ContentTypeID=1</link><pubDate>Mon, 12 Apr 2021 15:44:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:356113c5-4802-4cf9-b875-f1fa537e51c0</guid><dc:creator>cory123</dc:creator><description>&lt;p&gt;I&amp;#39;m pretty sure I had the same problem with an identical board. When you say the connector is shorted, are you referring to the programmer connection? I&amp;#39;m using a tagconnect cable which may not be making a great connection. But when I unplug the headphones I can program without any problem.&lt;/p&gt;
&lt;p&gt;When I plug in an I2C device via a header and&amp;nbsp; 4cm wire I get the same problem independent of the headphone issue. It seems like the cables I&amp;#39;m plugging in are somehow messing with the stability of VCC and GND. I will probe with my multi-meter and report back. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't program board when audio cable plugged into board</title><link>https://devzone.nordicsemi.com/thread/304287?ContentTypeID=1</link><pubDate>Mon, 12 Apr 2021 13:06:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66de4a36-c90b-4a9d-b7d3-d1f19020a1a7</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;It sounds like the connector is shorted or somehow interferes with the rest of the board.&lt;/p&gt;
&lt;p&gt;Have you tried measuring current consumption, seeing if there&amp;#39;s any shorts on the board?&lt;/p&gt;
&lt;p&gt;Does this happen to more than one custom board?&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>