<?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: Programming Flash on i.MX7D via JTAG in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Programming-Flash-on-i-MX7D-via-JTAG/m-p/692093#M107266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately we have no application can write the flash directly via JTAG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean it is possible to init i.MX system via JTAG debugger and run target application to write the flash.&lt;BR /&gt;However we have no such application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Victor&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>Thu, 03 Aug 2017 02:53:57 GMT</pubDate>
    <dc:creator>b36401</dc:creator>
    <dc:date>2017-08-03T02:53:57Z</dc:date>
    <item>
      <title>Programming Flash on i.MX7D via JTAG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Programming-Flash-on-i-MX7D-via-JTAG/m-p/692092#M107265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to recover a Boundary Devices Nitrogen7 board in HAB mode, where I uploaded a bum image to the flash.&amp;nbsp; The HAB mode is being problematic to using SDP to upload a new image, so I tried using a Segger J-Link JTAG interface to load a new image directly to the flash.&amp;nbsp; It turns out that the J-Link doesn't work with the i.MX7D and QSPI memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know of a JTAG interface that does work with the i.MX7D and QSPI memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 17:25:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Programming-Flash-on-i-MX7D-via-JTAG/m-p/692092#M107265</guid>
      <dc:creator>brianmiller</dc:creator>
      <dc:date>2017-08-02T17:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Programming Flash on i.MX7D via JTAG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Programming-Flash-on-i-MX7D-via-JTAG/m-p/692093#M107266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately we have no application can write the flash directly via JTAG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean it is possible to init i.MX system via JTAG debugger and run target application to write the flash.&lt;BR /&gt;However we have no such application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Victor&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>Thu, 03 Aug 2017 02:53:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Programming-Flash-on-i-MX7D-via-JTAG/m-p/692093#M107266</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2017-08-03T02:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Programming Flash on i.MX7D via JTAG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Programming-Flash-on-i-MX7D-via-JTAG/m-p/692094#M107267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this a limitation on the i.MX7 to QSPI interface, or is it a limitation on the JTAG adapter design?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 14:54:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Programming-Flash-on-i-MX7D-via-JTAG/m-p/692094#M107267</guid>
      <dc:creator>brianmiller</dc:creator>
      <dc:date>2017-08-03T14:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Programming Flash on i.MX7D via JTAG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Programming-Flash-on-i-MX7D-via-JTAG/m-p/692095#M107268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian&lt;/P&gt;&lt;P&gt;To elaborate on what Victor refers to, the process involves two things :&lt;/P&gt;&lt;P&gt;- initializing your board and DDR via JTAG&lt;/P&gt;&lt;P&gt;- running a code (e.g u-boot) out of RAM that is now initialized and&lt;/P&gt;&lt;P&gt;use it to program your QSPI flash.&lt;/P&gt;&lt;P&gt;As far as the JTAG adaptor design is concerned a standard design&lt;/P&gt;&lt;P&gt;should have no limitation on the above steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the step one above, you might ask your JTAG probe vendor (e.g j-link)&lt;/P&gt;&lt;P&gt;and their support team to provide you an init script. We did something&lt;/P&gt;&lt;P&gt;similar for BDI3000 and iMX6 and documented here :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-106493"&gt;https://community.nxp.com/docs/DOC-106493&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would need something similar for iMX7. Then you would have to&lt;/P&gt;&lt;P&gt;use an app or bootloader (e.g. u-boot) that you load and run out of&lt;/P&gt;&lt;P&gt;RAM via your JTAG probe. You can then utilize the flash programming&lt;/P&gt;&lt;P&gt;features of the bootloader (if the controller and your flash type is supported)&lt;/P&gt;&lt;P&gt;to program your flash and recover your board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There might also be JTAG debug probes that provide programming the&lt;/P&gt;&lt;P&gt;QSPI flash as part of their firmware. You would still need an init script&lt;/P&gt;&lt;P&gt;to initialize your board though.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this gives some insight.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 17:17:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Programming-Flash-on-i-MX7D-via-JTAG/m-p/692095#M107268</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2017-08-03T17:17:43Z</dc:date>
    </item>
  </channel>
</rss>

