<?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>nrfjprog: cannot combine --reset with --program?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8015/nrfjprog-cannot-combine---reset-with---program</link><description>I am following the Makefile provided by Nordic, but using --reset with --program seems to fail: 
 &amp;gt;nrfjprog --reset --program _build/nrf51422_xxac_s110.hex
ERROR: Two arguments were provided that cannot be combined. Use --help to read
ERROR: about</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Sep 2015 22:52:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8015/nrfjprog-cannot-combine---reset-with---program" /><item><title>RE: nrfjprog: cannot combine --reset with --program?</title><link>https://devzone.nordicsemi.com/thread/28716?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2015 22:52:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:205a6ec1-753c-4b94-9d57-cd41a4e99502</guid><dc:creator>Chuan-Zheng Lee</dc:creator><description>&lt;p&gt;Does this also break the Nordic DFU BLE bootloader example (dual_bank_ble_s110_pca10028), for the same reason? The &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/bledfu_example_running.html?cp=4_1_0_4_3_1_0"&gt;suggested settings&lt;/a&gt; include both --reset and --program, and because the configuration dialog admits only one command, splitting the command as suggested above can&amp;#39;t be used as a workaround.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog: cannot combine --reset with --program?</title><link>https://devzone.nordicsemi.com/thread/28709?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2015 12:08:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1f89b52-27b3-46c6-9e6f-ac132d34fba4</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;ahha, misunderstood. Yes yes, hang on, we are very soon there, lot of redesign has been done to achieve that goal. Can&amp;#39;t say anything more than that :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog: cannot combine --reset with --program?</title><link>https://devzone.nordicsemi.com/thread/28708?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2015 11:55:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4617cc51-f343-4ca2-bd4e-58e2c8651a82</guid><dc:creator>Mahesh Venkitachalam</dc:creator><description>&lt;p&gt;I meant cross-platform as in OS - my understanding is that this program does not exist on OS X or Linux?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog: cannot combine --reset with --program?</title><link>https://devzone.nordicsemi.com/thread/28710?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2015 11:54:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28800327-556b-4617-b615-67ff6826199f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;nrfjprog will only be for nRF (Nordic) chips. The latest version supports nRF51 and nRF52. We do not support any other platforms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog: cannot combine --reset with --program?</title><link>https://devzone.nordicsemi.com/thread/28711?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2015 11:32:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1df2538d-5e43-4c01-b7e5-1762d8426d7a</guid><dc:creator>Mahesh Venkitachalam</dc:creator><description>&lt;p&gt;Nice to know. I hope you will consider making nrfjprog cross-platform.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog: cannot combine --reset with --program?</title><link>https://devzone.nordicsemi.com/thread/28714?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2015 11:28:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:040041b2-540b-456d-b57f-9dcfd19fe856</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;nrfjprog internally uses JLink dll but wraps a lot of useful and safe operations that are not present directly with Jlink.
You can very easily write a script in Jlink and brick your device, nrfjprog does many checks that prevents unsafe operations. We recommend you to use JLink directly if you are sure of what you are doing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog: cannot combine --reset with --program?</title><link>https://devzone.nordicsemi.com/thread/28712?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2015 11:19:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57e9dcd2-c225-4773-8c5b-2414948067ec</guid><dc:creator>Mahesh Venkitachalam</dc:creator><description>&lt;p&gt;Thanks. I&amp;#39;ve switched to segger jlink for this step. Is there anything nrfjprog does that jlink cannot do in the context of nRF-DK? It might be better for Nordic to just recommend jlink since it&amp;#39;s cross-platform, unlike nrfjprog.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog: cannot combine --reset with --program?</title><link>https://devzone.nordicsemi.com/thread/28715?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2015 10:58:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31faec69-939b-4386-ac2b-6e2f688b51c7</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Yes , they are broken, I&amp;#39;ll create a bug for it. I hope that you can continue with your development with this modification in your scripts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog: cannot combine --reset with --program?</title><link>https://devzone.nordicsemi.com/thread/28713?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2015 10:48:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cb0f325-183e-43e1-8271-3c363f51c6da</guid><dc:creator>Mahesh Venkitachalam</dc:creator><description>&lt;p&gt;Thanks. But doesn&amp;#39;t that mean that the Nordic example Makefiles are broken? They combine the options.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog: cannot combine --reset with --program?</title><link>https://devzone.nordicsemi.com/thread/28707?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2015 09:09:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1f7433a-f7a0-40e5-8bf1-171d340b4dcd</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;It has changed and it is now not allowed to mix reset with programming the chip. I am not sure the  reason behind this. You can just split your command and it should work.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog --program _build/nrf51422_xxac_s110.hex
nrfjprog --reset
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>