<?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 download</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101906/nrfutil-download</link><description>I want to download the nrfutil program so that I can program the nrf52480dongle from the command line. I attempted to download it from one place on your website but it would not open. 
 I may already have it somewhere but your tool chain is so complicated</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 15 Jul 2023 15:57:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101906/nrfutil-download" /><item><title>RE: nRFutil download</title><link>https://devzone.nordicsemi.com/thread/436594?ContentTypeID=1</link><pubDate>Sat, 15 Jul 2023 15:57:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b26c03c-f685-4ec1-9b33-a2db7f882e03</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;Well, never mind, I was able to muddle my way through this; no need tto respond.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jerry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFutil download</title><link>https://devzone.nordicsemi.com/thread/436593?ContentTypeID=1</link><pubDate>Sat, 15 Jul 2023 15:44:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b92f482c-443a-4ccb-b7c7-1e0d4f108a8b</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;I solved the above but now have the following:&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --hw-version 52 --sd-req=0x00 \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --application zephyr.hex \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --application-version 1 blinky.zip&lt;br /&gt;&lt;br /&gt;|===============================================================|&lt;br /&gt;|##&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ##&amp;nbsp;&amp;nbsp;&amp;nbsp; ###&amp;nbsp;&amp;nbsp;&amp;nbsp; ########&amp;nbsp; ##&amp;nbsp;&amp;nbsp;&amp;nbsp; ## #### ##&amp;nbsp;&amp;nbsp;&amp;nbsp; ##&amp;nbsp; ######&amp;nbsp; |&lt;br /&gt;|##&amp;nbsp; ##&amp;nbsp; ##&amp;nbsp;&amp;nbsp; ## ##&amp;nbsp;&amp;nbsp; ##&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## ###&amp;nbsp;&amp;nbsp; ##&amp;nbsp; ##&amp;nbsp; ###&amp;nbsp;&amp;nbsp; ## ##&amp;nbsp;&amp;nbsp;&amp;nbsp; ## |&lt;br /&gt;|##&amp;nbsp; ##&amp;nbsp; ##&amp;nbsp; ##&amp;nbsp;&amp;nbsp; ##&amp;nbsp; ##&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## ####&amp;nbsp; ##&amp;nbsp; ##&amp;nbsp; ####&amp;nbsp; ## ##&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;|##&amp;nbsp; ##&amp;nbsp; ## ##&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## ########&amp;nbsp; ## ## ##&amp;nbsp; ##&amp;nbsp; ## ## ## ##&amp;nbsp;&amp;nbsp; ####|&lt;br /&gt;|##&amp;nbsp; ##&amp;nbsp; ## ######### ##&amp;nbsp;&amp;nbsp; ##&amp;nbsp;&amp;nbsp; ##&amp;nbsp; ####&amp;nbsp; ##&amp;nbsp; ##&amp;nbsp; #### ##&amp;nbsp;&amp;nbsp;&amp;nbsp; ## |&lt;br /&gt;|##&amp;nbsp; ##&amp;nbsp; ## ##&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## ##&amp;nbsp;&amp;nbsp;&amp;nbsp; ##&amp;nbsp; ##&amp;nbsp;&amp;nbsp; ###&amp;nbsp; ##&amp;nbsp; ##&amp;nbsp;&amp;nbsp; ### ##&amp;nbsp;&amp;nbsp;&amp;nbsp; ## |&lt;br /&gt;| ###&amp;nbsp; ###&amp;nbsp; ##&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## ##&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## ##&amp;nbsp;&amp;nbsp;&amp;nbsp; ## #### ##&amp;nbsp;&amp;nbsp;&amp;nbsp; ##&amp;nbsp; ######&amp;nbsp; |&lt;br /&gt;|===============================================================|&lt;br /&gt;|You are not providing a signature key, which means the DFU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;|files will not be signed, and are vulnerable to tampering.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;|This is only compatible with a signature-less bootloader and is|&lt;br /&gt;|not suitable for production environments.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;|===============================================================|&lt;br /&gt;&lt;br /&gt;Zip created at blinky.zip&lt;br /&gt;jerry@JerrysDesktopUbuntu:~/zephyrproject/zephyr/build/zephyr$ nrfutil dfu usb-serial -pkg blinky.zip -p /dev/ttyACM0&lt;br /&gt;&amp;nbsp; [------------------------------------]&amp;nbsp;&amp;nbsp;&amp;nbsp; 0%&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt;&amp;nbsp; File &amp;quot;serial/serialposix.py&amp;quot;, line 322, in open&lt;br /&gt;PermissionError: [Errno 13] Permission denied: &amp;#39;/dev/ttyACM0&amp;#39;&lt;br /&gt;&lt;br /&gt;During handling of the above exception, another exception occurred:&lt;br /&gt;&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi/dfu/dfu_transport_serial.py&amp;quot;, line 198, in open&lt;br /&gt;&amp;nbsp; File &amp;quot;serial/serialutil.py&amp;quot;, line 244, in __init__&lt;br /&gt;&amp;nbsp; File &amp;quot;serial/serialposix.py&amp;quot;, line 325, in open&lt;br /&gt;serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyACM0: [Errno 13] Permission denied: &amp;#39;/dev/ttyACM0&amp;#39;&lt;br /&gt;&lt;br /&gt;During handling of the above exception, another exception occurred:&lt;br /&gt;&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi/__main__.py&amp;quot;, line 1555, in &amp;lt;module&amp;gt;&lt;br /&gt;&amp;nbsp; File &amp;quot;click/core.py&amp;quot;, line 1137, in __call__&lt;br /&gt;&amp;nbsp; File &amp;quot;click/core.py&amp;quot;, line 1062, in main&lt;br /&gt;&amp;nbsp; File &amp;quot;click/core.py&amp;quot;, line 1668, in invoke&lt;br /&gt;&amp;nbsp; File &amp;quot;click/core.py&amp;quot;, line 1668, in invoke&lt;br /&gt;&amp;nbsp; File &amp;quot;click/core.py&amp;quot;, line 1404, in invoke&lt;br /&gt;&amp;nbsp; File &amp;quot;click/core.py&amp;quot;, line 763, in invoke&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi/__main__.py&amp;quot;, line 1032, in usb_serial&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi/__main__.py&amp;quot;, line 988, in do_serial&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi/dfu/dfu.py&amp;quot;, line 127, in dfu_send_images&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi/dfu/dfu.py&amp;quot;, line 88, in _dfu_send_image&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi/dfu/dfu_transport_serial.py&amp;quot;, line 202, in open&lt;br /&gt;pc_ble_driver_py.exceptions.NordicSemiException: Serial port could not be opened on /dev/ttyACM0. Reason: could not open port /dev/ttyACM0: [Errno 13] Permission denied: &amp;#39;/dev/ttyACM0&amp;#39;&lt;br /&gt;[6355] Failed to execute script &amp;#39;__main__&amp;#39; due to unhandled exception!&lt;br /&gt;jerry@JerrysDesktopUbuntu:~/zephyrproject/zephyr/build/zephyr$ &lt;/p&gt;
&lt;p&gt;I just need a way to program the dongle from the command line (Ubuntu) if there is another solution I would be happy with that.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jerry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFutil download</title><link>https://devzone.nordicsemi.com/thread/436591?ContentTypeID=1</link><pubDate>Sat, 15 Jul 2023 15:24:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5490fe4b-8a62-425f-9c9c-577891028e65</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;I was able to find and install nrfuti. however I cannot get it to work..&lt;/p&gt;
&lt;p&gt;Under Ubuntu I attempted to program my nrf52840 dongle with the follow command:&lt;/p&gt;
&lt;p&gt;&amp;quot;$ nrfutil dfu usb-serial --package zephyr.hex --port /dev/ttyACM0&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi/__main__.py&amp;quot;, line 1555, in &amp;lt;module&amp;gt;&lt;br /&gt;&amp;nbsp; File &amp;quot;click/core.py&amp;quot;, line 1137, in __call__&lt;br /&gt;&amp;nbsp; File &amp;quot;click/core.py&amp;quot;, line 1062, in main&lt;br /&gt;&amp;nbsp; File &amp;quot;click/core.py&amp;quot;, line 1668, in invoke&lt;br /&gt;&amp;nbsp; File &amp;quot;click/core.py&amp;quot;, line 1668, in invoke&lt;br /&gt;&amp;nbsp; File &amp;quot;click/core.py&amp;quot;, line 1404, in invoke&lt;br /&gt;&amp;nbsp; File &amp;quot;click/core.py&amp;quot;, line 763, in invoke&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi/__main__.py&amp;quot;, line 1032, in usb_serial&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi/__main__.py&amp;quot;, line 982, in do_serial&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi/dfu/dfu.py&amp;quot;, line 69, in __init__&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi/dfu/package.py&amp;quot;, line 664, in unpack_package&lt;br /&gt;&amp;nbsp; File &amp;quot;zipfile.py&amp;quot;, line 1267, in __init__&lt;br /&gt;&amp;nbsp; File &amp;quot;zipfile.py&amp;quot;, line 1334, in _RealGetContents&lt;br /&gt;zipfile.BadZipFile: File is not a zip file&lt;br /&gt;[5799] Failed to execute script &amp;#39;__main__&amp;#39; due to unhandled exception!&lt;/p&gt;
&lt;p&gt;The zephyr.hex file was created by a west build command; a file command returns:&lt;/p&gt;
&lt;p&gt;file zephyr.hex&lt;br /&gt;zephyr.hex: ASCII text, with CRLF line terminators&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jerry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>