<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: ram_flashWriteSector issue????</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ram-flashWriteSector-issue/m-p/177127#M6994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to be only writing every second byte.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What hardware are you based on?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What FLASH chip was in the development board (that you've replaced)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you changed the bus width of the FLASH from 8 &amp;lt;--&amp;gt; 16 &amp;lt;--&amp;gt; 32 bits and not told the software about the width change?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are the write-enable pins connected to the right pins on the FLASH. Are they all enabled on the CPU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jan 2011 12:39:41 GMT</pubDate>
    <dc:creator>TomE</dc:creator>
    <dc:date>2011-01-18T12:39:41Z</dc:date>
    <item>
      <title>ram_flashWriteSector issue????</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ram-flashWriteSector-issue/m-p/177126#M6993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am really confused with my current situation.&lt;/P&gt;&lt;P&gt;I am trying to program this new flash device which is 2Meg flash part SST29c020PLCC32.&lt;/P&gt;&lt;P&gt;When it comes to Reading Entire sector before Erase and Write operation everything seems to be working ok.... that is...it reads entire sector into the Ram_buffer then Erases entire flash sector, and when it comes to Flash write sector which gets executed from RAM.... i cant write the odd address bytes,,,,, what gets written is:&lt;/P&gt;&lt;P&gt;At address: 0x27000 this is my configuration buffer:&lt;/P&gt;&lt;P&gt;@0x27000: 0x07 0xFF 0x45 0xFF&lt;/P&gt;&lt;P&gt;So every odd address is filled with 0xFF instead of real data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is driving me nuts &lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-mad.gif"&gt;&lt;IMG alt=":smileymad:" class="emoticon-smileymad emoticon" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-mad.gif" title="Smiley Mad" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some this else which confuses me is:&lt;/P&gt;&lt;P&gt;When RAM_WriteSector is defined as function pointer .... my init.s has defined the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ds.w&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RAM_WriteSector&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ds.b&amp;nbsp;&amp;nbsp;&amp;nbsp; 102&amp;nbsp;&amp;nbsp;&amp;nbsp; ; this is for 256 byte of data per sector&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do i need to change the alignment? or it is something else i need to worrry about?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion or advise would be greatly appreciated?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 08:07:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ram-flashWriteSector-issue/m-p/177126#M6993</guid>
      <dc:creator>jojoba</dc:creator>
      <dc:date>2011-01-18T08:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: ram_flashWriteSector issue????</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ram-flashWriteSector-issue/m-p/177127#M6994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to be only writing every second byte.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What hardware are you based on?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What FLASH chip was in the development board (that you've replaced)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you changed the bus width of the FLASH from 8 &amp;lt;--&amp;gt; 16 &amp;lt;--&amp;gt; 32 bits and not told the software about the width change?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are the write-enable pins connected to the right pins on the FLASH. Are they all enabled on the CPU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 12:39:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ram-flashWriteSector-issue/m-p/177127#M6994</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2011-01-18T12:39:41Z</dc:date>
    </item>
  </channel>
</rss>

