<?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>Visual Studio Code and nRF Connect issue: The --family option given with the command does not match the device connected.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104689/visual-studio-code-and-nrf-connect-issue-the---family-option-given-with-the-command-does-not-match-the-device-connected</link><description>Hello, 
 I&amp;#39;m trying the simplest example; just blinking an LED on a nRF52840-DK. I&amp;#39;ve installed Visual Studio Code and nRF Connect. I used the example &amp;quot;blinky&amp;quot; and am trying to get it to work. The first hurdle I got over is the git configuration stuff</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Oct 2023 09:28:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104689/visual-studio-code-and-nrf-connect-issue-the---family-option-given-with-the-command-does-not-match-the-device-connected" /><item><title>RE: Visual Studio Code and nRF Connect issue: The --family option given with the command does not match the device connected.</title><link>https://devzone.nordicsemi.com/thread/450487?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 09:28:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4f3fcac-2b76-41c9-8d96-c7b1a64275f9</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This sounds strange,&lt;/p&gt;
&lt;p&gt;The error message regarding readback protection is expected as newer revisions of the nRF52840 has readback protection enabled by default. However, the nRF Command Line Tools should recognize the device automatically. Can you go through the steps in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/24592/my-nrf52-nrf51-dk-kit-doesn-t-work/96836"&gt;this &lt;/a&gt;list and see if any of them resolves your issue?&lt;/p&gt;
&lt;p&gt;Step 4 and 7 is not relevant for your board, so you can omit them.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also make sure that the device is connected directly to the computer .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>