<?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: Data Flash Read/Write on 56F8323 in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Data-Flash-Read-Write-on-56F8323/m-p/132802#M136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Justin,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I found this old post from you today. Did you solve this problem?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The address must be multiplied by 2, because the memory addresses are in 16 bit alignment and the bean works internally in 8 bit alignment.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have the problem, that I can write to data flash memory starting at address 2 * 0x1200 = 0x2400 without any problems. But when I try to write to address 2 * 0x1000 = 0x2000 (first address), this fails!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Holger&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2006 16:55:30 GMT</pubDate>
    <dc:creator>hlsa</dc:creator>
    <dc:date>2006-08-23T16:55:30Z</dc:date>
    <item>
      <title>Data Flash Read/Write on 56F8323</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-Flash-Read-Write-on-56F8323/m-p/132801#M135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I am using processor expert to generate the base code for my project.&amp;nbsp; I am attempting to write a data table to data flash from my code that is running in Program Flash.&amp;nbsp; I have made calls using PE specified addresses within the Data Flash such as:&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;#define DATA_FLASH_START 4096&lt;/P&gt;&lt;P&gt;From what it looks like, when calling the following two fxns, you need to multiply the address by 2 before calling:&lt;/P&gt;&lt;P&gt;byte DataFlash_SetByteFlash(dword Addr,byte Data);&lt;/P&gt;&lt;P&gt;byte DataFlash_GetByteFlash(dword Addr,byte *Data);&lt;/P&gt;&lt;P&gt;When calling any other set or get fxn for words or long words, you just pass the actual address that you wish to write. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that no matter what I try at what address, the read and write functions never return an Error Ok value, there is always some sort of an error that is returned.&amp;nbsp; I have turned off all interrupts in the system so that I can step through this code without CodeWarrior crashing or the peripheral clocks queueing interrupts.&amp;nbsp; If someone has some basic code that performs basic read/write fxns that they know work, could you please reply and attach them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2006 09:26:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-Flash-Read-Write-on-56F8323/m-p/132801#M135</guid>
      <dc:creator>Mac</dc:creator>
      <dc:date>2006-04-19T09:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Data Flash Read/Write on 56F8323</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-Flash-Read-Write-on-56F8323/m-p/132802#M136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Justin,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I found this old post from you today. Did you solve this problem?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The address must be multiplied by 2, because the memory addresses are in 16 bit alignment and the bean works internally in 8 bit alignment.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have the problem, that I can write to data flash memory starting at address 2 * 0x1200 = 0x2400 without any problems. But when I try to write to address 2 * 0x1000 = 0x2000 (first address), this fails!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Holger&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 16:55:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-Flash-Read-Write-on-56F8323/m-p/132802#M136</guid>
      <dc:creator>hlsa</dc:creator>
      <dc:date>2006-08-23T16:55:30Z</dc:date>
    </item>
  </channel>
</rss>

