<?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: Flash programmer task error during flash ID reading in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Flash-programmer-task-error-during-flash-ID-reading/m-p/1929148#M9155</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;There is a method that depend of your flash,&lt;/P&gt;
&lt;DIV class="s-prose js-post-body"&gt;
&lt;P&gt;There is a method listed in both datasheets (&lt;A href="https://www.cypress.com/file/177981/download" rel="nofollow noreferrer" target="_blank"&gt;S29GL064S&lt;/A&gt; datasheet, &lt;A href="http://ww1.microchip.com/downloads/en/DeviceDoc/SST39VF6401B-SST39VF6402B-64-Mbit-x16-Multi-Purpose-Flash-Plus-Data-Sheet-DS20005008C.pdf" rel="nofollow noreferrer" target="_blank"&gt;SST39V6401B&lt;/A&gt; datasheet).&lt;/P&gt;
&lt;P&gt;From Table 6 for the SST part, we can get the device ID from this sequence:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the same as the sequence (named Autoselect) for the Spansion part:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The SST datasheet also helpfully includes a timing diagram:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Write: Address 0x555, data 0xXXAA (note that XX may be 00 or FF)
Write: Address 0x2AA, data 0xXX55
Write: Address 0x555, data 0xXX90
Read:  Address 0x0000, data &amp;lt;MFR ID&amp;gt;
Read:  Address 0x0001, data &amp;lt;Device ID&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then issue an exit code (write 0xF0 to any address for both parts).&lt;/P&gt;
&lt;P&gt;That should work consistently for both devices assuming the timing is solid.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 09 Aug 2024 14:07:19 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2024-08-09T14:07:19Z</dc:date>
    <item>
      <title>Flash programmer task error during flash ID reading</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Flash-programmer-task-error-during-flash-ID-reading/m-p/1928342#M9153</link>
      <description>&lt;P&gt;I have a board with MCF5216 CPU.&lt;/P&gt;&lt;P&gt;I need update firmware from one to another board. I successfully created Flash_dump task with USBDM interface. It works for both board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I create Flash_program task and its stopped during ID flash reading.&lt;/P&gt;&lt;P&gt;I attached diagnostic report.&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 14:46:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Flash-programmer-task-error-during-flash-ID-reading/m-p/1928342#M9153</guid>
      <dc:creator>vikrep</dc:creator>
      <dc:date>2024-08-08T14:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programmer task error during flash ID reading</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Flash-programmer-task-error-during-flash-ID-reading/m-p/1929148#M9155</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;There is a method that depend of your flash,&lt;/P&gt;
&lt;DIV class="s-prose js-post-body"&gt;
&lt;P&gt;There is a method listed in both datasheets (&lt;A href="https://www.cypress.com/file/177981/download" rel="nofollow noreferrer" target="_blank"&gt;S29GL064S&lt;/A&gt; datasheet, &lt;A href="http://ww1.microchip.com/downloads/en/DeviceDoc/SST39VF6401B-SST39VF6402B-64-Mbit-x16-Multi-Purpose-Flash-Plus-Data-Sheet-DS20005008C.pdf" rel="nofollow noreferrer" target="_blank"&gt;SST39V6401B&lt;/A&gt; datasheet).&lt;/P&gt;
&lt;P&gt;From Table 6 for the SST part, we can get the device ID from this sequence:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the same as the sequence (named Autoselect) for the Spansion part:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The SST datasheet also helpfully includes a timing diagram:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Write: Address 0x555, data 0xXXAA (note that XX may be 00 or FF)
Write: Address 0x2AA, data 0xXX55
Write: Address 0x555, data 0xXX90
Read:  Address 0x0000, data &amp;lt;MFR ID&amp;gt;
Read:  Address 0x0001, data &amp;lt;Device ID&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then issue an exit code (write 0xF0 to any address for both parts).&lt;/P&gt;
&lt;P&gt;That should work consistently for both devices assuming the timing is solid.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Aug 2024 14:07:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Flash-programmer-task-error-during-flash-ID-reading/m-p/1929148#M9155</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2024-08-09T14:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programmer task error during flash ID reading</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Flash-programmer-task-error-during-flash-ID-reading/m-p/1929163#M9156</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I found that cpu was faulty. Today I soldered new chip and it works fine.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 14:47:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Flash-programmer-task-error-during-flash-ID-reading/m-p/1929163#M9156</guid>
      <dc:creator>vikrep</dc:creator>
      <dc:date>2024-08-09T14:47:24Z</dc:date>
    </item>
  </channel>
</rss>

