<?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>nRF Connect SDK Intermediate Lesson 2 exercise 2, unable to locate the path</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110189/nrf-connect-sdk-intermediate-lesson-2-exercise-2-unable-to-locate-the-path</link><description>Hi, I need help with these tasks in Lesson 2 ex 2 (step 7. and 8.) 
 Looking for that path and python file everywhere, unable to find it, I don&amp;#39;t have zephyr folder, none of these. 
 Need help where I can get it from? 
 Thank you! 
 
 7. Convert the file</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Apr 2024 16:45:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110189/nrf-connect-sdk-intermediate-lesson-2-exercise-2-unable-to-locate-the-path" /><item><title>RE: nRF Connect SDK Intermediate Lesson 2 exercise 2, unable to locate the path</title><link>https://devzone.nordicsemi.com/thread/479526?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2024 16:45:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0454ace-bd9a-4da7-a4d2-f103d8f9fa44</guid><dc:creator>Svetlana M</dc:creator><description>&lt;p&gt;Ok Thank you,&lt;/p&gt;
&lt;p&gt;Also if anybody had that type of error would like to know how to fix that:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Input file dump.log&lt;br /&gt;Output file dump.bin&lt;/p&gt;
&lt;p&gt;binary_data = binascii.unhexlify(hex_str)&lt;br /&gt; ^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;br /&gt;binascii.Error: Odd-length string&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK Intermediate Lesson 2 exercise 2, unable to locate the path</title><link>https://devzone.nordicsemi.com/thread/479363?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2024 08:44:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56555504-e239-405e-ad67-ad74075186b6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The error indicate that it cannot find the file dump.log. As you write it exists, that must mean that the path is incorrect. Perhaps the simplest is to provide the full path?&lt;/p&gt;
&lt;p&gt;PS: This particular part of the course, regarding coredumps is quite excotic, so unless you feel a paricular need to deep-dive into it, it should be OK to skip it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK Intermediate Lesson 2 exercise 2, unable to locate the path</title><link>https://devzone.nordicsemi.com/thread/479316?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2024 00:21:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9961e85-3890-423e-b265-078035621ff8</guid><dc:creator>Svetlana M</dc:creator><description>&lt;p&gt;Hi Einar,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for reply,&lt;/p&gt;
&lt;p&gt;I was able to find the folders after reinstalling and updating nRF Connect SDK v.2.5.0 to v.2.6.0&lt;/p&gt;
&lt;p&gt;Now, after I ran&amp;nbsp;&lt;a class="gL9Hy" href="https://www.google.com/search?client=safari&amp;amp;sca_esv=5fd2585313e87e19&amp;amp;rls=en&amp;amp;sxsrf=ACQVn09KOXzJdBETc77do0mDtD3GK4Z_Qw:1713399241832&amp;amp;q=File+%22/opt/nordic/ncs/v2.6.0/zephyr/scripts/coredump/coredump+serial+log_parser.py%22,+line+99,+in+%3Cmodule%3E+main()+File+%22/opt/nordic/ncs/v2.6.0/zephyr/scripts/coredump/coredump_serial_log_parser.py%22,+line+32,+in+main+infile+%3D+open(args.infile,+%22r%22)+%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E+FileNotFoundError:+%5BErrno+2%5D+No+such+file+or+directory:+%27dump.log%27&amp;amp;spell=1&amp;amp;sa=X&amp;amp;ved=2ahUKEwjnwavJvcqFAxXuODQIHR5MDYoQBSgAegQICxAC"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;python3 ncs_install_path/nordic/ncs/v2.6.0/zephyr/scripts/coredump/coredump_serial_log_parser.py dump.log dump.bin&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I get an error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Traceback (most recent call last):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;File &amp;quot;ncs_install_path/nordic/ncs/v2.6.0/zephyr/scripts/coredump/coredump_serial_log_parser.py&amp;quot;, line 99, in &amp;lt;module&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;main()&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;File &amp;quot;/ncs_install_path/nordic/ncs/v2.6.0/zephyr/scripts/coredump/coredump_serial_log_parser.py&amp;quot;, line 32, in main&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;infile = open(args.infile, &amp;quot;r&amp;quot;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;^^^^^^^^^^^^^^^^^^^^^^&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;FileNotFoundError: [Errno 2] No such file or directory: &amp;#39;dump.log&amp;#39;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have created dump.log file&amp;nbsp;&lt;/span&gt;previously.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Python 3.12.1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What can be the reason for that?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK Intermediate Lesson 2 exercise 2, unable to locate the path</title><link>https://devzone.nordicsemi.com/thread/478769?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2024 12:16:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c545d13-63d0-4a6c-adb1-24aab5d35b3a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you have the nRF Connect SDK installed? If not, you need to install it. (You can learn about that in the nRF Connect SDK fundamentals course or in the SDK documentation under &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/installation.html"&gt;Installation&lt;/a&gt;). If you do, you will have the files refered to in the SDK where it is installed. You need to replace the &amp;quot;&lt;span&gt;ncs_install_path&lt;/span&gt;&amp;quot; with the path to wherever NCS is installed on your computer. There, you have a zephyr folder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>