<?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>pynrfjprog: loading elf file for symbols</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106787/pynrfjprog-loading-elf-file-for-symbols</link><description>Hello, 
 I have just started exploring pynrfjprog api to be used for automation. I am wondering is there a possibility to load .elf file, so that the symbols instead of the address could be used to read and write from memory ? 
 Thank you.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jan 2024 12:20:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106787/pynrfjprog-loading-elf-file-for-symbols" /><item><title>RE: pynrfjprog: loading elf file for symbols</title><link>https://devzone.nordicsemi.com/thread/462673?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 12:20:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b11507c0-6e68-47eb-b80d-4784f54087ce</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;m glad to hear that you were able to use the pyelftools package, thank you for the update!&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog: loading elf file for symbols</title><link>https://devzone.nordicsemi.com/thread/462670?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 12:15:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d030318-0fdb-4f61-ab6d-f99374a9a9a7</guid><dc:creator>skam1</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for your reponse. &amp;#39;pyelftools&amp;#39; offered a clean solution&amp;nbsp;for parsing elf files.&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog: loading elf file for symbols</title><link>https://devzone.nordicsemi.com/thread/461033?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 12:11:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9b1fef2-ceef-458f-8e8b-7fdb80b0a52e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The nrfjprog libraries does not include support for this as far as I can tell. However, you could try using something like&amp;nbsp;&lt;a href="https://github.com/eliben/pyelftools"&gt;&amp;#39;pyelftools&amp;#39;&lt;/a&gt;&amp;nbsp;to load the elf file and retrieve address information from the debug symbols.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>