<?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>Model-Based Design Toolbox (MBDT)のトピックFlash EEEWrite not properly generating code</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Flash-EEEWrite-not-properly-generating-code/m-p/1724777#M8522</link>
    <description>&lt;P&gt;The Flash EEE Write Library block is not properly generating code.&lt;/P&gt;&lt;P&gt;I have selected a UINT16 as the memory type/size and only one byte (the LSB) is being written to EE FLASH.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the code snipet is as follows:&amp;nbsp;&lt;/P&gt;&lt;P&gt;FLASH_DRV_EEEWrite(&amp;amp;flashSSDConfig, flashSSDConfig.EERAMBase + 0x0F14, &lt;STRONG&gt;1&lt;/STRONG&gt;,&lt;BR /&gt;&amp;amp;amplifierboard_B.DataStoreRead10);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the method is defined as follows:&amp;nbsp;&lt;/P&gt;&lt;P&gt;status_t FLASH_DRV_EEEWrite(const flash_ssd_config_t * pSSDConfig,&lt;BR /&gt;uint32_t dest,&lt;BR /&gt;uint32_t &lt;STRONG&gt;size&lt;/STRONG&gt;,&lt;BR /&gt;const uint8_t * pData)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;size&lt;/STRONG&gt;&amp;nbsp;parameter here is set to 1 in the generated code instead of 2.&lt;/P&gt;&lt;P&gt;I have manually updated the code and now it works - setting the size parameter to 2 allows for both bytes to be written.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Sep 2023 14:01:25 GMT</pubDate>
    <dc:creator>PaulSMagna</dc:creator>
    <dc:date>2023-09-18T14:01:25Z</dc:date>
    <item>
      <title>Flash EEEWrite not properly generating code</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Flash-EEEWrite-not-properly-generating-code/m-p/1724777#M8522</link>
      <description>&lt;P&gt;The Flash EEE Write Library block is not properly generating code.&lt;/P&gt;&lt;P&gt;I have selected a UINT16 as the memory type/size and only one byte (the LSB) is being written to EE FLASH.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the code snipet is as follows:&amp;nbsp;&lt;/P&gt;&lt;P&gt;FLASH_DRV_EEEWrite(&amp;amp;flashSSDConfig, flashSSDConfig.EERAMBase + 0x0F14, &lt;STRONG&gt;1&lt;/STRONG&gt;,&lt;BR /&gt;&amp;amp;amplifierboard_B.DataStoreRead10);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the method is defined as follows:&amp;nbsp;&lt;/P&gt;&lt;P&gt;status_t FLASH_DRV_EEEWrite(const flash_ssd_config_t * pSSDConfig,&lt;BR /&gt;uint32_t dest,&lt;BR /&gt;uint32_t &lt;STRONG&gt;size&lt;/STRONG&gt;,&lt;BR /&gt;const uint8_t * pData)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;size&lt;/STRONG&gt;&amp;nbsp;parameter here is set to 1 in the generated code instead of 2.&lt;/P&gt;&lt;P&gt;I have manually updated the code and now it works - setting the size parameter to 2 allows for both bytes to be written.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 14:01:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Flash-EEEWrite-not-properly-generating-code/m-p/1724777#M8522</guid>
      <dc:creator>PaulSMagna</dc:creator>
      <dc:date>2023-09-18T14:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Flash EEEWrite not properly generating code</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Flash-EEEWrite-not-properly-generating-code/m-p/1738816#M8589</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205487"&gt;@PaulSMagna&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for pointing this out, this issue was previously addressed by a fix provided in the following &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Flash-EEE-Read-and-Write/m-p/1178059/highlight/true#M5267" target="_self"&gt;link&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Please let us know if this solves the code generation issue of the Flash EEE Write block for your case as well.&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Irina&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 16:21:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Flash-EEEWrite-not-properly-generating-code/m-p/1738816#M8589</guid>
      <dc:creator>Irina_Costachescu</dc:creator>
      <dc:date>2023-10-12T16:21:50Z</dc:date>
    </item>
  </channel>
</rss>

