<?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>NFC中的主题 PN7462 Flash write problem</title>
    <link>https://community.nxp.com/t5/NFC/PN7462-Flash-write-problem/m-p/831627#M4432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have previously successfully downloaded (and Flashed) and run the "PN7462AU_ex_phExMain" example on the&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;OM27462CDK development kit.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;I have a simple board with the same PN7462 with SWD interface. It seem to be able to download the firmware but "flashing it" cause error.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;QUESTION:&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;1. Is there anything else that needs to be configured (besides writing " &lt;SPAN class=""&gt;user_ee.bin" onto&amp;nbsp;&lt;/SPAN&gt;EEPROM at locations 0x201200 which I have already done) on a PN7462&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;2. What part of the hardware/configuration is likely to be "faulty".&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Below is the detailed message when trying to download/flash and run the example:&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;(Window with title: Error reported by target)&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;15: Target error from Commit Flash write&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Cannot access core regs when target runnng.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;(in another window&amp;nbsp; with title: Problem Occured)&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;'Launching xxx(some config name) encountered a problem.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Error in final launch sequence.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;(under details)&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Error in final launch sequence&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp; &amp;nbsp;Failed to execute MI command:&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -target-download&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Error message from debugger back end:&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Error finishing flash operation&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Error finishing flash operation&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Console window:&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;,,,,&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Opening flash driver PN7xxxxx_158.cfx&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Sending SYSRESETREQ to run flash driver&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Writing 148676 bytes to address 0x00203000 in Flash&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Erased/Wrote page 0-72 with 148676 bytes in 3470msec&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Closing flash driver PN7xxxxx_158.cfx&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Flash Write Done&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Flash Program Summary: 148676 bytes in 3.47 seconds (41.84 KB/sec)&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;=============&amp;nbsp;SCRIPT: PN7xxxxx_Reset.scp=============&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;============= END SCRIPT =======================&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Target error from Commit Flash write: Ep(08). Cannot access core regs when target running.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;GD8 stub (crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GD8&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;(window clears)&lt;/P&gt;&lt;P&gt;GNU gdb (GNU Tools for ARM Embedded Processors) 7.12.0.20161204-git&lt;BR /&gt;Copyright (C) 2016 Free Software Foundation, Inc.&lt;BR /&gt;&lt;SPAN&gt;License GPLv3+: GNU GPL version 3 or later &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgnu.org%2Flicenses%2Fgpl.html" rel="nofollow" target="_blank"&gt;http://gnu.org/licenses/gpl.html&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law. Type "show copying"&lt;BR /&gt;and "show warranty" for details.&lt;BR /&gt;This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".&lt;BR /&gt;Type "show configuration" for configuration details.&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fgdb%2Fbugs%2F" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/gdb/bugs/&lt;/A&gt;&lt;SPAN&gt;&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;Find the GDB manual and other documentation resources online at:&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fgdb%2Fdocumentation%2F" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/gdb/documentation/&lt;/A&gt;&lt;SPAN&gt;&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;For help, type "help".&lt;BR /&gt;Type "apropos word" to search for commands related to "word".&lt;/P&gt;&lt;P&gt;Program stopped.&lt;BR /&gt;0xfffffffe in ?? ()&lt;BR /&gt;warning: Remote failure reply: E22&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Oct 2018 10:42:58 GMT</pubDate>
    <dc:creator>huang_hw</dc:creator>
    <dc:date>2018-10-25T10:42:58Z</dc:date>
    <item>
      <title>PN7462 Flash write problem</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-Flash-write-problem/m-p/831627#M4432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have previously successfully downloaded (and Flashed) and run the "PN7462AU_ex_phExMain" example on the&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;OM27462CDK development kit.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;I have a simple board with the same PN7462 with SWD interface. It seem to be able to download the firmware but "flashing it" cause error.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;QUESTION:&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;1. Is there anything else that needs to be configured (besides writing " &lt;SPAN class=""&gt;user_ee.bin" onto&amp;nbsp;&lt;/SPAN&gt;EEPROM at locations 0x201200 which I have already done) on a PN7462&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;2. What part of the hardware/configuration is likely to be "faulty".&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Below is the detailed message when trying to download/flash and run the example:&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;(Window with title: Error reported by target)&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;15: Target error from Commit Flash write&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Cannot access core regs when target runnng.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;(in another window&amp;nbsp; with title: Problem Occured)&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;'Launching xxx(some config name) encountered a problem.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Error in final launch sequence.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;(under details)&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Error in final launch sequence&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp; &amp;nbsp;Failed to execute MI command:&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -target-download&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Error message from debugger back end:&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Error finishing flash operation&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Error finishing flash operation&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Console window:&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;,,,,&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Opening flash driver PN7xxxxx_158.cfx&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Sending SYSRESETREQ to run flash driver&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Writing 148676 bytes to address 0x00203000 in Flash&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Erased/Wrote page 0-72 with 148676 bytes in 3470msec&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Closing flash driver PN7xxxxx_158.cfx&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Flash Write Done&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Flash Program Summary: 148676 bytes in 3.47 seconds (41.84 KB/sec)&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;=============&amp;nbsp;SCRIPT: PN7xxxxx_Reset.scp=============&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;============= END SCRIPT =======================&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Target error from Commit Flash write: Ep(08). Cannot access core regs when target running.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;GD8 stub (crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GD8&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;(window clears)&lt;/P&gt;&lt;P&gt;GNU gdb (GNU Tools for ARM Embedded Processors) 7.12.0.20161204-git&lt;BR /&gt;Copyright (C) 2016 Free Software Foundation, Inc.&lt;BR /&gt;&lt;SPAN&gt;License GPLv3+: GNU GPL version 3 or later &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgnu.org%2Flicenses%2Fgpl.html" rel="nofollow" target="_blank"&gt;http://gnu.org/licenses/gpl.html&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law. Type "show copying"&lt;BR /&gt;and "show warranty" for details.&lt;BR /&gt;This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".&lt;BR /&gt;Type "show configuration" for configuration details.&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fgdb%2Fbugs%2F" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/gdb/bugs/&lt;/A&gt;&lt;SPAN&gt;&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;Find the GDB manual and other documentation resources online at:&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fgdb%2Fdocumentation%2F" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/gdb/documentation/&lt;/A&gt;&lt;SPAN&gt;&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;For help, type "help".&lt;BR /&gt;Type "apropos word" to search for commands related to "word".&lt;/P&gt;&lt;P&gt;Program stopped.&lt;BR /&gt;0xfffffffe in ?? ()&lt;BR /&gt;warning: Remote failure reply: E22&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 10:42:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-Flash-write-problem/m-p/831627#M4432</guid>
      <dc:creator>huang_hw</dc:creator>
      <dc:date>2018-10-25T10:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 Flash write problem</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-Flash-write-problem/m-p/831628#M4433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it the same "PN7462AU_ex_phExMain" to download ? have you tried with other example like "NfcrdlibEx1_BasicDiscoveryLoop"? and what about the version of the NFC reader library? 5.19? and what about the tool for downloading? MCUXpresso?&amp;nbsp; Please kindly clarify.Thanks for your patience!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 03:28:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-Flash-write-problem/m-p/831628#M4433</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2018-10-30T03:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 Flash write problem</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-Flash-write-problem/m-p/831629#M4434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just found that the reason is because I am using 3.3V supply&amp;nbsp;(instead of 5V).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If one is using 3.3V, the internal LDOs cannot be used and thus I have to&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;re-wire some pins. Specifically,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;a) PVDD_OUT to GND and PVDD_IN and PVDD_M_IN direct to 3.3V&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;b) TVDD_IN and TVDD_OUT to 3.3V&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;After that, the firmware (configuration or source) should be checked that it works with 3.3V instead of 5V.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hope this helps anyone who happen to be in the similar situation.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks everyone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 06:45:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-Flash-write-problem/m-p/831629#M4434</guid>
      <dc:creator>huang_hw</dc:creator>
      <dc:date>2018-10-30T06:45:42Z</dc:date>
    </item>
  </channel>
</rss>

