<?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>reading hex-file from nrf52 with pynrfjprog</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74408/reading-hex-file-from-nrf52-with-pynrfjprog</link><description>Hi all: 
 If I want to use pynrfjprog to read hex-file from nrf52 , 
 Which example or API that I can refer to? 
 
 
 best regards, 
 Joe</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Apr 2021 04:32:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74408/reading-hex-file-from-nrf52-with-pynrfjprog" /><item><title>RE: reading hex-file from nrf52 with pynrfjprog</title><link>https://devzone.nordicsemi.com/thread/306901?ContentTypeID=1</link><pubDate>Tue, 27 Apr 2021 04:32:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:134d640c-3930-405a-bb71-dcc896ae7a14</guid><dc:creator>joe</dc:creator><description>&lt;p&gt;thanks your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reading hex-file from nrf52 with pynrfjprog</title><link>https://devzone.nordicsemi.com/thread/306843?ContentTypeID=1</link><pubDate>Mon, 26 Apr 2021 14:08:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:501ac100-2b10-403b-ae6e-783f420a58b1</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is done with &lt;a href="https://github.com/NordicSemiconductor/pynrfjprog/blob/a4b6ad0d77740017d411714b8fc4deca46e7884b/pynrfjprog/HighLevel.py#L321"&gt;Highlevel.DebugProbe.read_to_file()&lt;/a&gt;. You need to provide the hex file path for the export, and may optionally add further options.&lt;/p&gt;
&lt;p&gt;Unfortunately there are no examples using exactly this API call, but in theory the call can replace other read/write related operations from other examples.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>