<?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>Command line program nRF5340 error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77354/command-line-program-nrf5340-error</link><description>Hi Nordic Tech Support, 
 Our company is evaluating nRF5340 for future project. I have brought one nRF5340 DK, and I am following the online guide to build and program the DK board. 
 https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/nrf/ug_nrf5340</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Jul 2021 15:29:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77354/command-line-program-nrf5340-error" /><item><title>RE: Command line program nRF5340 error</title><link>https://devzone.nordicsemi.com/thread/319878?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 15:29:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:798455fa-8742-4e10-b911-155619801608</guid><dc:creator>wangben85</dc:creator><description>&lt;p&gt;Thanks. I have found the root cause. The&amp;nbsp;&lt;span&gt;nrfjprog tool I used is not the latest one.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Command line program nRF5340 error</title><link>https://devzone.nordicsemi.com/thread/319584?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 12:09:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a61608e-c627-47b1-b685-03161b375d39</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you install the toolchain manually or through the Toolchain Manager?&lt;/p&gt;
&lt;p&gt;Are you using the most recent version of the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools/Download"&gt;nRF Command Line Tools&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Command line program nRF5340 error</title><link>https://devzone.nordicsemi.com/thread/319502?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 02:10:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23534c47-d66a-4724-91c7-a7fad258045f</guid><dc:creator>wangben85</dc:creator><description>&lt;p&gt;Looks like the snapshot does not show correctly. Below is the error pop up&lt;/p&gt;
&lt;p&gt;C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg&amp;gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;west flash --erase&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;-- west flash: rebuilding&lt;br /&gt;[0/1] cmd.exe /C &amp;quot;cd /D C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg\zephyr\cmake\flash &amp;amp;&amp;amp; C:\ncs\v1.5.0\toolchain\opt\bin\cmake.exe -E echo &amp;quot;&lt;/p&gt;
&lt;p&gt;-- west flash: using runner nrfjprog&lt;br /&gt;-- runners.nrfjprog: mass erase requested&lt;br /&gt;Using board 960113271&lt;br /&gt;-- runners.nrfjprog: Flashing file: C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg\zephyr\merged_CPUNET.hex&lt;br /&gt;-- runners.nrfjprog: Generating CP_NETWORK hex file C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg\zephyr\GENERATED_CP_NETWORK_merged_CPUNET.hex&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;ERROR: An invalid argument was provided. Use --help for a list of valid&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;ERROR: arguments.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;FATAL ERROR: command exited with status 11: nrfjprog --program &amp;#39;C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg\zephyr\GENERATED_CP_NETWORK_merged_CPUNET.hex&amp;#39; --chiperase -f NRF53 --coprocessor CP_NETWORK --snr 960113271&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg&amp;gt;&lt;br /&gt;C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg&amp;gt;&lt;br /&gt;C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg&amp;gt;&lt;br /&gt;C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg&amp;gt;west flash --erase&lt;br /&gt;-- west flash: rebuilding&lt;br /&gt;[0/1] cmd.exe /C &amp;quot;cd /D C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg\zephyr\cmake\flash &amp;amp;&amp;amp; C:\ncs\v1.5.0\toolchain\opt\bin\cmake.exe -E echo &amp;quot;&lt;/p&gt;
&lt;p&gt;-- west flash: using runner nrfjprog&lt;br /&gt;-- runners.nrfjprog: mass erase requested&lt;br /&gt;Using board 960113271&lt;br /&gt;-- runners.nrfjprog: Flashing file: C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg\zephyr\merged_CPUNET.hex&lt;br /&gt;-- runners.nrfjprog: Generating CP_NETWORK hex file C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg\zephyr\GENERATED_CP_NETWORK_merged_CPUNET.hex&lt;br /&gt;ERROR: An invalid argument was provided. Use --help for a list of valid&lt;br /&gt;ERROR: arguments.&lt;br /&gt;FATAL ERROR: command exited with status 11: nrfjprog --program &amp;#39;C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg\zephyr\GENERATED_CP_NETWORK_merged_CPUNET.hex&amp;#39; --chiperase -f NRF53 --coprocessor CP_NETWORK --snr 960113271&lt;/p&gt;
&lt;p&gt;C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg&amp;gt;&lt;br /&gt;C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg&amp;gt;&lt;br /&gt;C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg&amp;gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;nrfjprog -f NRF53 --coprocessor CP_NETWORK --program zephyr/zephyr.hex --chiperase&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;ERROR: An invalid argument was provided. Use --help for a list of valid&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;ERROR: arguments.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;C:\ncs\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>