<?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>Keil + nrfjprog = true ( PCA10040) problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20675/keil-nrfjprog-true-pca10040-problems</link><description>I have done erase all thing. 
 But in the second step, I am getting following error. 
 nrfjprog --program s132_nrf52_3.0.0_softdevice.hex
ERROR: The --family option given with the command (or the default from
ERROR: nrfjprog.ini) does not match the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Mar 2017 14:38:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20675/keil-nrfjprog-true-pca10040-problems" /><item><title>RE: Keil + nrfjprog = true ( PCA10040) problems</title><link>https://devzone.nordicsemi.com/thread/80613?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 14:38:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fecd081-8906-488b-b1c9-db39ca494fb2</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If you use SDK 13 and have not renamed\moved any files, you should have this path (where the hex file is located): &lt;code&gt;C:\path\to\SDK\components\softdevice\s132\hex&lt;/code&gt; and this argument: &lt;code&gt;--family nrf52 --program s132_nrf52_4.0.2_softdevice.hex&lt;/code&gt;. You should however not get the family error because of wrong paths\filenames.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil + nrfjprog = true ( PCA10040) problems</title><link>https://devzone.nordicsemi.com/thread/80620?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 14:34:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b474562e-1fa0-4faa-a2a3-0399611f845a</guid><dc:creator>Usman Rashid</dc:creator><description>&lt;p&gt;OK to make thing clear. I have this folder nRF5_SDK_13.0.0_04a0bfd&lt;/p&gt;
&lt;p&gt;And I have following settings&lt;/p&gt;
&lt;p&gt;In menu I have given name program_s132_3.0.0&lt;/p&gt;
&lt;p&gt;Command: nrfjprog
Initial folder C:\Users\usman\Desktop\nRF5_SDK_13.0.0_04a0bfd\components\softdevice\s132
--family nrf52 --program s132_nrf52_4.0.2.hex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil + nrfjprog = true ( PCA10040) problems</title><link>https://devzone.nordicsemi.com/thread/80621?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 14:18:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5226d87-8918-467b-af56-d677088a93f7</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Your tools setup should look like this:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/keil_5F00_tools.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;And when running the tool, you should see this output in Keil:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/keil_5F00_tools_5F00_output.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil + nrfjprog = true ( PCA10040) problems</title><link>https://devzone.nordicsemi.com/thread/80619?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 14:13:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e894df4-40c1-45f0-a8e0-cc5915a8ff20</guid><dc:creator>Usman Rashid</dc:creator><description>&lt;p&gt;NRF52 is connected but I am not sure about settings stored. How can I make sure of that ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil + nrfjprog = true ( PCA10040) problems</title><link>https://devzone.nordicsemi.com/thread/80618?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 14:12:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37a42d48-1d8a-4469-a190-eabbca1723dd</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Are you sure that the settings were stored (is the family parameter shown in the Keil terminal)? And that you have a nRF52 device connected?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil + nrfjprog = true ( PCA10040) problems</title><link>https://devzone.nordicsemi.com/thread/80617?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 14:08:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1e29872-d6fe-4a8c-8cc8-78c90401eac3</guid><dc:creator>Usman Rashid</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;still the same error message. I have following settings&lt;/p&gt;
&lt;p&gt;command: nrfjprog
Initial folder: C:\Users\usman\Downloads\nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_uart&lt;/p&gt;
&lt;p&gt;Arguments: --family nrf52 --program s132_nrf52_3.0.0_softdevice.hex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil + nrfjprog = true ( PCA10040) problems</title><link>https://devzone.nordicsemi.com/thread/80616?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 14:02:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfbea055-c99b-467b-9a14-9080134797bb</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You also need to add it to the arguments of the programming task:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;--family nrf52 --program s132_nrf52_3.0.0_softdevice.hex
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I see that this might not be that well communicated in the post.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil + nrfjprog = true ( PCA10040) problems</title><link>https://devzone.nordicsemi.com/thread/80615?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 14:00:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43d948e1-5203-4d65-bc7f-4b0884881169</guid><dc:creator>Usman Rashid</dc:creator><description>&lt;p&gt;Yes, I added that as I said erase all is working but in second step&lt;/p&gt;
&lt;p&gt;Programming SoftDevice.&lt;/p&gt;
&lt;p&gt;I am getting this error message&lt;/p&gt;
&lt;p&gt;nrfjprog  --program s132_nrf52_3.0.0_softdevice.hex
ERROR: The --family option given with the command (or the default from
ERROR: nrfjprog.ini) does not match the device connected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil + nrfjprog = true ( PCA10040) problems</title><link>https://devzone.nordicsemi.com/thread/80614?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 13:57:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65cf9d78-2182-4191-8fa8-e78d53a9ac89</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you add the &lt;code&gt;--family nrf52&lt;/code&gt; parameter, as described above in the post?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>