<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PN7462: unable to program flash in NFC</title>
    <link>https://community.nxp.com/t5/NFC/PN7462-unable-to-program-flash/m-p/984559#M6336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan, thank you for your interest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know about get feature of&amp;nbsp;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;phhalSysSer_OTP_SecrowConfig, but:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;unfortunately to apply such solution I'd need to write a program into flash, which isn't possible anymore;&lt;/LI&gt;&lt;LI&gt;to overcome previous point, I changed the default linker configuration file in order to place and run that program from EEPROM, but the get variant of &lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;phhalSysSer_OTP_SecrowConfig&lt;/SPAN&gt;&lt;/SPAN&gt; doesn't return.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Finally I managed to place and run in EEPROM a program to read the reserved area of EEPROM itself, and it succeeded, so now I know the content of reserved area, but I need to know how to decode that content (or at least where SECROW is encoded).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peppe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2019 08:04:28 GMT</pubDate>
    <dc:creator>piergiuseppe_tu</dc:creator>
    <dc:date>2019-11-07T08:04:28Z</dc:date>
    <item>
      <title>PN7462: unable to program flash</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-unable-to-program-flash/m-p/984557#M6334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;I am no longer able to program the flash of some PN7462 parts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;I know about SECROW feature, which I didn't intentionally change using the phhalSysSer_OTP_SecrowConfig call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN title=""&gt;&lt;STRONG&gt;I would like to know the address of the SECROW word&lt;/STRONG&gt; in the reserved EEPROM just to verify it isn't protected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Furthermore, in section 3.2.1 “PN7462 family ROM primary download EEPROM config” of the "&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;family &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Software User Manual" (UM10913), table 4 shows some parameters in the range 0-3 that manage access to the EEPROM and to the flash; these parameters are of course stored in the &lt;/SPAN&gt;&lt;SPAN class="" title=""&gt;reserved part of EEPROM: &lt;STRONG&gt;I would like to know the exact (undocumented) address of these parameters&lt;/STRONG&gt;, to further verify my issue.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Just to add more elements, on affected parts I'm able to read/write EEPROM and attach to the target using SWD: the only problem is programming the flash, which can only be read.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;KR,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;P.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2019 15:03:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-unable-to-program-flash/m-p/984557#M6334</guid>
      <dc:creator>piergiuseppe_tu</dc:creator>
      <dc:date>2019-10-30T15:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462: unable to program flash</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-unable-to-program-flash/m-p/984558#M6335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="346636" data-username="piergiuseppe.tundo@mermecgroup.com" href="https://community.nxp.com/people/piergiuseppe.tundo@mermecgroup.com" style="color: #2989c5; text-decoration: none;"&gt;Piergiuseppe Tundo&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;to know the status of the SECROW you can use the&amp;nbsp;&lt;SPAN&gt;phhalSysSer_OTP_SecrowConfig&amp;nbsp; if you send the first parameter as 0 is to set configuration and if you send 1 is to get the configuration&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;please check the example :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;phStatus_t status;&lt;BR /&gt;phhalSysSer_Secrow_Config_t SecRow;&lt;BR /&gt;phUser_MemSet(&amp;amp;SecRow , 0 , sizeof(SecRow));&lt;BR /&gt;status = phhalSysSer_OTP_SecrowConfig (PH_SYSRV_GET_DATA, &amp;amp;SecRow);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2019 17:17:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-unable-to-program-flash/m-p/984558#M6335</guid>
      <dc:creator>Jonathan_Iglesias</dc:creator>
      <dc:date>2019-11-06T17:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462: unable to program flash</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-unable-to-program-flash/m-p/984559#M6336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan, thank you for your interest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know about get feature of&amp;nbsp;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;phhalSysSer_OTP_SecrowConfig, but:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;unfortunately to apply such solution I'd need to write a program into flash, which isn't possible anymore;&lt;/LI&gt;&lt;LI&gt;to overcome previous point, I changed the default linker configuration file in order to place and run that program from EEPROM, but the get variant of &lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;phhalSysSer_OTP_SecrowConfig&lt;/SPAN&gt;&lt;/SPAN&gt; doesn't return.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Finally I managed to place and run in EEPROM a program to read the reserved area of EEPROM itself, and it succeeded, so now I know the content of reserved area, but I need to know how to decode that content (or at least where SECROW is encoded).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peppe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 08:04:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-unable-to-program-flash/m-p/984559#M6336</guid>
      <dc:creator>piergiuseppe_tu</dc:creator>
      <dc:date>2019-11-07T08:04:28Z</dc:date>
    </item>
  </channel>
</rss>

