<?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>TPARTNO in romtable for nrf52/51 series</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85976/tpartno-in-romtable-for-nrf52-51-series</link><description>Hello everyone. 
 I&amp;#39;m currently implementing a target autodetect for a debugging toolkit. The basic identification is done by reading out the class 1 romtable to get the manufacturer jedec and part id. 
 The part id is what I&amp;#39;m interested in because I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Mar 2022 12:43:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85976/tpartno-in-romtable-for-nrf52-51-series" /><item><title>RE: TPARTNO in romtable for nrf52/51 series</title><link>https://devzone.nordicsemi.com/thread/359121?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 12:43:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8d223c1-8c45-4695-b87e-fc11623149e2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The team confirmed t&lt;span&gt;he numbers provided by you match the expected numbers. I have raised a request to update the PS. Thanks for the feedback.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TPARTNO in romtable for nrf52/51 series</title><link>https://devzone.nordicsemi.com/thread/358873?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2022 13:03:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a855996e-ded6-4b74-bcb9-356216035432</guid><dc:creator>TeyKey1</dc:creator><description>&lt;p&gt;Hello Amanda.&lt;/p&gt;
&lt;p&gt;Thanks for your help. I know about those registers but they are of no use for me, at least if I want a clean solution without trying to read out addresses that may not return the expected value (base address and layout of ficr is different for 51/51 vs 53 series)&lt;/p&gt;
&lt;p&gt;In general a debugger needs to have some basic means of device identification, which can be done by using the peripheral identification registers of a debug component described in ADIv5.2 section D1.2.2 (I&amp;#39;m after the PART_1 and PART_0 values which result in the abovementioned values) (This is also how we find out the manufacturer of the device to call the appropriate target detection subroutines). However, a multitude of manufacturers seem to use those vastly different. For example: STM fills these registers with &amp;quot;unique&amp;quot; part id&amp;#39;s that more or less identify certain subfamilies, while samd/e/10/11/21/51/53/54 all have the same value of 0xcd0 to indicate that a DSU is present. Both cases enable me to identify the proper way to handle device identification without having to guess where the relevant registers may reside. Given the values differ between several nrf models I own, I assume that nordic as well has some kind of system in place. I just can&amp;#39;t find any info on it to find out whether it is suitable for my needs.&lt;/p&gt;
&lt;p&gt;There&amp;#39;s also the DPv2 registers (&lt;span&gt;ADIv5.2 section B2.1.4&lt;/span&gt;) which seem to be used by the nrf5340 which should allow for a more unified device identification procedure, but those do not seem to be that widespread among mcu&amp;#39;s for now at least.&lt;/p&gt;
&lt;p&gt;Worst case, if I can&amp;#39;t use the peripheral device id, I have to use the part registers you mentioned and just read all possible addresses to find the actual register containing a valid part id. For now I&amp;#39;d just like to find out whether a cleaner way is possible just like with stm or samd targets using the peripheral part id of the romtable.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Thierry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TPARTNO in romtable for nrf52/51 series</title><link>https://devzone.nordicsemi.com/thread/358843?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2022 12:15:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:668103e7-3b07-4196-98a6-b50a7e7f422d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think you can use nRF52832&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/ficr.html#register.INFO.PART"&gt;&lt;span&gt;INFO.PART&lt;/span&gt;&lt;/a&gt;&amp;nbsp;and nRF52840&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/ficr.html?resultof=%22%49%4e%46%4f%2e%50%41%52%54%22%20#register.INFO.PART"&gt;&lt;span&gt;INFO.PART&lt;/span&gt;&lt;/a&gt;. That should be enough.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>