<?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>JFlash to read nRF52832 serial number</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115831/jflash-to-read-nrf52832-serial-number</link><description>Hello, I am developing a solution based on nrf52-DK, using nRF52832. 
 I am trying to use JFlash to read Device Serial Number. I could read it with JLink , with command &amp;quot;mem32 0x10000060 2&amp;quot; I could read it with nrfjprog , with command &amp;quot;nrfjprog --memrd</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Nov 2024 07:22:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115831/jflash-to-read-nrf52832-serial-number" /><item><title>RE: JFlash to read nRF52832 serial number</title><link>https://devzone.nordicsemi.com/thread/509194?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2024 07:22:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d723c9f-6249-444a-bee8-060d6d937bb8</guid><dc:creator>mike1369</dc:creator><description>&lt;p&gt;OK, thanks for this&lt;br /&gt;This confirms my thoughts that this is a limitation, unfortunately not documented.&lt;/p&gt;
&lt;p&gt;Consider this ticket as Closed ; I will read it using JLink instead&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JFlash to read nRF52832 serial number</title><link>https://devzone.nordicsemi.com/thread/508471?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2024 09:18:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:521992ba-ff8c-4273-a64f-df44b3cd7ee3</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;I did some tests and I think I know the issue.&lt;/p&gt;
&lt;p&gt;J-Flash can only read the memory in the flash section, see for example here: &lt;a href="https://forum.segger.com/index.php/Thread/5922-SOLVED-How-can-I-use-jflash-to-read-device-memory-and-save-to-file/"&gt;https://forum.segger.com/index.php/Thread/5922-SOLVED-How-can-I-use-jflash-to-read-device-memory-and-save-to-file/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you look into flash bank for this device in J-Flash, you can also see, that the serial number address is outside the flash bank memory space (as it should be).&lt;/p&gt;
&lt;p&gt;So unfortunately, it is a limitation of J-Flash.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/jflash_5F00_nrf52dk.png" /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JFlash to read nRF52832 serial number</title><link>https://devzone.nordicsemi.com/thread/508456?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2024 07:18:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95b1a5b8-f4f8-49da-a818-f1288dd0b3fb</guid><dc:creator>mike1369</dc:creator><description>&lt;p&gt;Yes if I read a flash memory range with :&lt;br /&gt;JFlash.exe -openprj nrf52_dk.jflash -jflashlogC:\tmp\jflash.log -readrange 0x0000060,0x0000067 -exit&lt;br /&gt;that works and I get this log and the data is read:&amp;nbsp;&lt;br /&gt;&lt;br /&gt; - Target memory read successfully. (8 bytes, 1 range) - Completed after 0.349 sec&lt;br /&gt;J-Flash V8.10a: Target memory read successfully. (8 bytes, 1 range) - Completed after 0.349 sec&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JFlash to read nRF52832 serial number</title><link>https://devzone.nordicsemi.com/thread/508435?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2024 19:22:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab82de1b-c893-4b43-94fa-cff7b7cc080e</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Can you read anything else successfully using JFlash?&lt;/p&gt;
&lt;p&gt;I think that you may actually want to direct that question to the SEGGER forums.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JFlash to read nRF52832 serial number</title><link>https://devzone.nordicsemi.com/thread/508223?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 16:32:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec269fa4-5587-4401-8179-d774684a23a4</guid><dc:creator>mike1369</dc:creator><description>&lt;p&gt;Just to confirm that &amp;quot;&lt;span&gt;read successfully. (0 bytes, 0 ranges)&amp;nbsp;&lt;/span&gt;&amp;quot; is an issue&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I still cannot read the serial number with JFlash&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JFlash to read nRF52832 serial number</title><link>https://devzone.nordicsemi.com/thread/507922?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2024 11:57:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b87149c5-db39-4877-b44e-2e77e26f9097</guid><dc:creator>mike1369</dc:creator><description>&lt;p&gt;Yes, sorry, I tried both actually, and made the wrong copy / paste&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;JFlash.exe -openprj nrf52_dk.jflash -jflashlogC:\tmp\jflash.log&amp;nbsp;-readrange 0x10000060,0x10000067 -exit&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;gives the following log :&amp;nbsp;&lt;br /&gt;&lt;br /&gt; - Connected successfully&lt;br /&gt; - Target memory read successfully. (0 bytes, 0 ranges) - Completed after 0.234 sec&lt;br /&gt;J-Flash V8.10a: Target memory read successfully. (0 bytes, 0 ranges) - Completed after 0.234 sec&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JFlash to read nRF52832 serial number</title><link>https://devzone.nordicsemi.com/thread/507918?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2024 11:29:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c74d51a8-787a-451c-a1f8-eaa0360f482b</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;According to the chapter 5.2 of the J-Flash manual: &lt;a href="https://www.segger.com/downloads/jlink/um08003"&gt;https://www.segger.com/downloads/jlink/um08003&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;-readrange&amp;lt;SADDR&amp;gt;,&amp;lt;EADDR&amp;gt; &amp;nbsp; &amp;nbsp;&amp;nbsp; | &amp;nbsp;&amp;nbsp; Read specified range of target memory.&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You need both the start and end address as the arguments.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>