<?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>nrfutil No such option: --json</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105625/nrfutil-no-such-option---json</link><description>hi, 
 i am trying test the software tool (nrfutil) log option, but some errors are appearcing. 
 the nrfutil.exe was download at nordic official website, and i install the nrf5sdk-tools by command line. And then i add the path to system&amp;#39;s PATH on Windows</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Nov 2023 13:59:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105625/nrfutil-no-such-option---json" /><item><title>RE: nrfutil No such option: --json</title><link>https://devzone.nordicsemi.com/thread/455548?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 13:59:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5bd50c4-9a59-46c5-ad8f-041991aa6aa5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Happy to help &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil No such option: --json</title><link>https://devzone.nordicsemi.com/thread/455442?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 03:22:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd342fc4-0ca8-4491-91b4-d86880b84a2a</guid><dc:creator>phineas0</dc:creator><description>&lt;p&gt;hi, Amanda H,&lt;/p&gt;
&lt;p&gt;Thank you so much.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i want to monitor nrfutil log at computer, and i have been used bootloader with debug version.&lt;/p&gt;
&lt;p&gt;My logging problem has been solved by the method you provided.&lt;/p&gt;
&lt;p&gt;i appreciate all your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil No such option: --json</title><link>https://devzone.nordicsemi.com/thread/455373?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2023 15:31:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c409b04-e5c6-4fa1-954e-6a61a7d00687</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can check the command supported by&amp;nbsp;nrfutil nrf5sdk-tools with this command:&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;gt;nrfutil nrf5sdk-tools --help
Usage: pc_nrfutil_legacy_v6.1.7.exe [OPTIONS] COMMAND [ARGS]...

Options:
  -v, --verbose            Increase verbosity of output. Can be specified more
                           than once (up to -v -v -v -v).  [x&amp;gt;=0]
  -o, --output &amp;lt;filename&amp;gt;  Log output to file
  --help                   Show this message and exit.

Commands:
  dfu       Perform a Device Firmware Update over serial, BLE, Thread, Zigbee
            or ANT transport given a DFU package (zip file).
  keys      Generate and display private and public keys.
  pkg       Display or generate a DFU package (zip file).
  settings  Generate and display Bootloader DFU settings.
  version   Display nrfutil version.
  zigbee    Zigbee-related commands and utilities.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;It seems that passing &lt;code&gt;-o filename&lt;/code&gt; should make it log to the file. I haven&amp;#39;t tested logs with&amp;nbsp;nrfutil dfu serial, so I am not sure what gets logged there.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;If you want to debug serial DFU, you should use the bootloader with debug version like&amp;nbsp;pca10040_uart_debug to get the log instead of the log from&amp;nbsp;nrfutil.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>