<?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>S32KのトピックRe: C40_Ip_MainInterfaceWrite strange behavior during consecutives Flash Program</title>
    <link>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1541289#M18451</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;For project configuration reason we can not consider the Flash not-cachable, so that your proposal number 2) is not applicable.&lt;/P&gt;&lt;P&gt;I would like to remember that&amp;nbsp;&lt;EM&gt;Cache_Ip_InvalidateByAddr() &lt;/EM&gt;is defined as static inline in &lt;EM&gt;Cache_Ip.h&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_1-1666279555696.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197530i6D2FA3DD75042E3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_1-1666279555696.png" alt="ziomocci_1-1666279555696.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but I can call it in other translation unit, a bit strange.&lt;/P&gt;&lt;P&gt;Anyway, I have put the function call after the end of programming procedure&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_2-1666279717467.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197531i313ADCDEEF9D8A06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_2-1666279717467.png" alt="ziomocci_2-1666279717467.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and then I have repeated a few tests, below the result.&lt;/P&gt;&lt;P&gt;Demo works as expected considering default values&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_6-1666280956587.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197535i10E3A237F942E529/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_6-1666280956587.png" alt="ziomocci_6-1666280956587.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unfortunately, I can not say the same when I change the &lt;EM&gt;FLS_SECTOR_ADDR&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_5-1666280691674.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197534iCDD8A7ABA483919D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_5-1666280691674.png" alt="ziomocci_5-1666280691674.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I change both&amp;nbsp;&lt;EM&gt;FLS_SECTOR_ADDR&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;FLS_BUF_SIZE&lt;/EM&gt; the scenario is still errored&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_8-1666281953032.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197537i94DBB3F1A37CE217/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_8-1666281953032.png" alt="ziomocci_8-1666281953032.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, am I calling the cache invalidation in the wrong point or with wrong parameters?&lt;/P&gt;&lt;P&gt;I have also read these lines in the RTD_FLS_UM&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_9-1666282102654.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197538iB21E14CAB867DEA2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_9-1666282102654.png" alt="ziomocci_9-1666282102654.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it a driver implementation or actually a Flash Hardware limitation?&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2022 16:11:47 GMT</pubDate>
    <dc:creator>ziomocci</dc:creator>
    <dc:date>2022-10-20T16:11:47Z</dc:date>
    <item>
      <title>C40_Ip_MainInterfaceWrite strange behavior during consecutives Flash Program</title>
      <link>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1540261#M18421</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;As usual, we need to performs multiple Flash Program operation during, for eg, ECU firmware updates.&lt;/P&gt;&lt;P&gt;Below the interface&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sint16 FLASH_Program (uint32 address, uint32 size, uint8 * source)
{
sint16 res = 0;
C40_Ip_VirtualSectorsType virtualSector = 0u;
C40_Ip_StatusType C40Status = STATUS_C40_IP_SUCCESS;

    /* Get virtual Sector number from address */
    virtualSector = C40_Ip_GetSectorNumberFromAddress(address);

    /****************************************************/
    /*      USE MAIN INTERFACES FOR FLASH JOBS          */
    /****************************************************/

    /* Unlock sector if needed */
    if (STATUS_C40_IP_SECTOR_PROTECTED == C40_Ip_GetLock(virtualSector))
    {
        C40Status = C40_Ip_ClearLock(virtualSector, FLS_MASTER_ID);
        if(STATUS_C40_IP_SUCCESS != C40Status)
        {
            return(sint16)C40Status;
        }
    }

    /* Write data */
    C40Status = C40_Ip_MainInterfaceWrite(address,size,source,FLS_MASTER_ID);
    if(STATUS_C40_IP_SUCCESS != C40Status)
    {
        return(sint16)C40Status;
    }
    do
    {
        C40Status = C40_Ip_MainInterfaceWriteStatus();
    }
    while (STATUS_C40_IP_BUSY == C40Status);


    /* Re-lock sector after program operation */
    C40Status = C40_Ip_SetLock(virtualSector,FLS_MASTER_ID);
    if(STATUS_C40_IP_SUCCESS != C40Status)
    {
        return(sint16)C40Status;
    }

    return(res);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp; After putting the function call inside a for(;;) in the main translation unit, I try to update the address 0x500000, w/o any problem&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_0-1666198391330.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197328iC01558AAA87D619F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_0-1666198391330.png" alt="ziomocci_0-1666198391330.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Calling the API a second time on address 0x500070 with the same input source, this is the result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_1-1666198511449.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197329iA51EE9011EB7802B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_1-1666198511449.png" alt="ziomocci_1-1666198511449.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It seems like the C40 driver does not write four lines of Flash.&lt;/P&gt;&lt;P&gt;Then I use the address 0x5000A0, and the driver works as expected&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_2-1666198728621.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197330i17026FEE28D803B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_2-1666198728621.png" alt="ziomocci_2-1666198728621.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have repeated multiple tests using different address, and sometimes not all the flash lines are programmed as expected. In the picture below you could find the flash layout after 80 bytes programming on 0x500000/500080/500100/500160&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_3-1666199417436.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197331iBDC03F12FAA8A001/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_3-1666199417436.png" alt="ziomocci_3-1666199417436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;All suggestions would be very appreciated!&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 17:14:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1540261#M18421</guid>
      <dc:creator>ziomocci</dc:creator>
      <dc:date>2022-10-19T17:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip_MainInterfaceWrite strange behavior during consecutives Flash Program</title>
      <link>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1541195#M18447</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/101504"&gt;@ziomocci&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This is caused by the cache.&lt;/P&gt;
&lt;P&gt;There are two options:&lt;/P&gt;
&lt;P&gt;1.&lt;/P&gt;
&lt;P&gt;Call the API function &lt;STRONG&gt;Cache_Ip_InvalidateByAddr(CACHE_IP_DATA, TargetAddress, 32)&lt;/STRONG&gt; after the programming is completed or before reading back the data.&lt;/P&gt;
&lt;P&gt;2.&lt;/P&gt;
&lt;P&gt;Disable the Flash area cache in MPU settings.&lt;BR /&gt;In the &lt;STRONG&gt;system.c&lt;/STRONG&gt; file, function &lt;STRONG&gt;SystemInit()&lt;/STRONG&gt;, the code &lt;STRONG&gt;rasr[2]=0x060B002BUL&lt;/STRONG&gt; is changed to be &lt;STRONG&gt;rasr[2]=0x0608002BUL&lt;/STRONG&gt;&lt;BR /&gt;This modification changes the Flash region to non-cacheable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 13:27:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1541195#M18447</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-10-20T13:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip_MainInterfaceWrite strange behavior during consecutives Flash Program</title>
      <link>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1541289#M18451</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;For project configuration reason we can not consider the Flash not-cachable, so that your proposal number 2) is not applicable.&lt;/P&gt;&lt;P&gt;I would like to remember that&amp;nbsp;&lt;EM&gt;Cache_Ip_InvalidateByAddr() &lt;/EM&gt;is defined as static inline in &lt;EM&gt;Cache_Ip.h&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_1-1666279555696.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197530i6D2FA3DD75042E3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_1-1666279555696.png" alt="ziomocci_1-1666279555696.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but I can call it in other translation unit, a bit strange.&lt;/P&gt;&lt;P&gt;Anyway, I have put the function call after the end of programming procedure&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_2-1666279717467.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197531i313ADCDEEF9D8A06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_2-1666279717467.png" alt="ziomocci_2-1666279717467.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and then I have repeated a few tests, below the result.&lt;/P&gt;&lt;P&gt;Demo works as expected considering default values&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_6-1666280956587.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197535i10E3A237F942E529/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_6-1666280956587.png" alt="ziomocci_6-1666280956587.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unfortunately, I can not say the same when I change the &lt;EM&gt;FLS_SECTOR_ADDR&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_5-1666280691674.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197534iCDD8A7ABA483919D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_5-1666280691674.png" alt="ziomocci_5-1666280691674.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I change both&amp;nbsp;&lt;EM&gt;FLS_SECTOR_ADDR&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;FLS_BUF_SIZE&lt;/EM&gt; the scenario is still errored&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_8-1666281953032.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197537i94DBB3F1A37CE217/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_8-1666281953032.png" alt="ziomocci_8-1666281953032.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, am I calling the cache invalidation in the wrong point or with wrong parameters?&lt;/P&gt;&lt;P&gt;I have also read these lines in the RTD_FLS_UM&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_9-1666282102654.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197538iB21E14CAB867DEA2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_9-1666282102654.png" alt="ziomocci_9-1666282102654.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it a driver implementation or actually a Flash Hardware limitation?&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 16:11:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1541289#M18451</guid>
      <dc:creator>ziomocci</dc:creator>
      <dc:date>2022-10-20T16:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip_MainInterfaceWrite strange behavior during consecutives Flash Program</title>
      <link>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1541734#M18465</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Even if for our scopes we cannot consider the flash not-cacheable, I have tested also your proposal number 2), but problem persist with the same effects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 07:25:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1541734#M18465</guid>
      <dc:creator>ziomocci</dc:creator>
      <dc:date>2022-10-21T07:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip_MainInterfaceWrite strange behavior during consecutives Flash Program</title>
      <link>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1542549#M18497</link>
      <description>&lt;P&gt;Hello Andrea,&lt;/P&gt;
&lt;P&gt;Can you share the whole project or a test project that can replicate the issue so that I can test it on my side?&lt;/P&gt;
&lt;P&gt;Based on the error mesage though, it seems like the programming fails (program verify).&lt;/P&gt;
&lt;P&gt;Is the sector erased successfully?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 08:30:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1542549#M18497</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-10-24T08:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip_MainInterfaceWrite strange behavior during consecutives Flash Program</title>
      <link>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1542643#M18501</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Attached you could find the project.&lt;/P&gt;&lt;P&gt;The two difference with the demo are:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ziomocci_1-1666606501505.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197853i0A4215E4E4556C55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_1-1666606501505.png" alt="ziomocci_1-1666606501505.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;C40status is not local in main(), but global for watching with OpenSDA debugger.&lt;/LI&gt;&lt;LI&gt;FLS_SECTOR_ADDRESS for trying to write Flash at 0x00600060&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ziomocci_2-1666606671813.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197854iDC27593A274119D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_2-1666606671813.png" alt="ziomocci_2-1666606671813.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward to your feedback,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 10:25:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1542643#M18501</guid>
      <dc:creator>ziomocci</dc:creator>
      <dc:date>2022-10-24T10:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip_MainInterfaceWrite strange behavior during consecutives Flash Program</title>
      <link>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1544858#M18566</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;do you have any good news for me about the behavior of the MainInterfaceWrite?&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 08:21:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1544858#M18566</guid>
      <dc:creator>ziomocci</dc:creator>
      <dc:date>2022-10-27T08:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip_MainInterfaceWrite strange behavior during consecutives Flash Program</title>
      <link>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1546941#M18620</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/101504"&gt;@ziomocci&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I'm very sorry for the delay.&lt;/P&gt;
&lt;P&gt;I was out of office for a weak and my colleagues were busy.&lt;/P&gt;
&lt;P&gt;I'm testing it now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 14:43:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1546941#M18620</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-11-01T14:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip_MainInterfaceWrite strange behavior during consecutives Flash Program</title>
      <link>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1547648#M18636</link>
      <description>&lt;P&gt;Hello Andrea,&lt;/P&gt;
&lt;P&gt;There is a bug in RTD 2.0.0 and 2.0.1 that has been fixed in RTD 3.0.0.&lt;/P&gt;
&lt;P&gt;Have a look at Section 20.5.1.2 in the RM rev.4.&lt;/P&gt;
&lt;P&gt;"&lt;U&gt;Up to four pages&lt;/U&gt; can be programmed at once on a quad-page boundary. The program operation &lt;BR /&gt;consists of the following sequence of events:"&lt;/P&gt;
&lt;P&gt;Section 20.2.1&lt;/P&gt;
&lt;P&gt;"The embedded flash memory is addressable by page (256 bits) for read operation and double-word(s) &lt;BR /&gt;and page and quad page for program operations."&lt;/P&gt;
&lt;P&gt;Up to four pages (maximum 128-byte of the program data buffer) can be programmed at once on a quad-page boundary (aligned with 128-byte as well).&lt;/P&gt;
&lt;P&gt;This means the data to be written must fall within a quad-page.&lt;/P&gt;
&lt;P&gt;In the new release RTD 3.0.0, there is a condition check for Address Offset + Length &amp;lt;= C40_DATA_SIZE_BYTES_U32 (128 Bytes).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope it explains it,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 09:22:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1547648#M18636</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-11-02T09:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip_MainInterfaceWrite strange behavior during consecutives Flash Program</title>
      <link>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1547826#M18648</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;So there was a bug...a big bug form my POV.&lt;/P&gt;&lt;P&gt;Anyway, it seems like we have to use the RTD version 3.0.&lt;/P&gt;&lt;P&gt;But how could I retrieve it? I have installed S32DS Version: 3.4 Build id: 201217 (Update 3) in my laptop and these are the available packages&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_0-1667403802435.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/198942iB03C854DFD2794D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_0-1667403802435.png" alt="ziomocci_0-1667403802435.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;RTD ver.3.0 for S32K3 target is not listed.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Same problem if I take a look to the download page from NXP site&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ziomocci_1-1667404172470.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/198943i84297B9656B86287/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ziomocci_1-1667404172470.png" alt="ziomocci_1-1667404172470.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sw list appears a bit confused I am sorry.&lt;/P&gt;&lt;P&gt;So, could you give me a valid download link for last version of S32K3xx C40 Ip Real Time Drivers?&lt;/P&gt;&lt;P&gt;Until this moment I cannot give you any feedback.&lt;/P&gt;&lt;P&gt;Last but not least, we are testing also other RTDs (SPI, EMIOS, etc) --&amp;gt; do we have to updated all peripherals RTD?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 15:55:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1547826#M18648</guid>
      <dc:creator>ziomocci</dc:creator>
      <dc:date>2022-11-02T15:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip_MainInterfaceWrite strange behavior during consecutives Flash Program</title>
      <link>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1548144#M18658</link>
      <description>&lt;P&gt;Hello Andrea,&lt;/P&gt;
&lt;P&gt;The 3.0.0 version has not been released yet.&lt;/P&gt;
&lt;P&gt;You can use the version you are using now, but you need to write the flash with 0x10, 0x20 or 0x40 writes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 08:05:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1548144#M18658</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-11-03T08:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip_MainInterfaceWrite strange behavior during consecutives Flash Program</title>
      <link>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1548305#M18661</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;So we have to wait for RTD release. I hope it happens as soon as posible, you could understand that flash driver correct working is mandatory for ECU reprogrammings, usually one of the first features required by car/motorycles/etc OEMs.&lt;/P&gt;&lt;P&gt;To be honest there was another issue, but maybe it is better to wait for new RTDs and open new discussion, if needed.&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 12:46:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1548305#M18661</guid>
      <dc:creator>ziomocci</dc:creator>
      <dc:date>2022-11-03T12:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip_MainInterfaceWrite strange behavior during consecutives Flash Program</title>
      <link>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1548334#M18663</link>
      <description>&lt;P&gt;I see the next release scheduled for Q1/23.&lt;/P&gt;
&lt;P&gt;But even with the new release, you would need to properly align and size each of the writes, otherwise the new condition in the driver would return an error. So, this is something you can do with this release too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 13:49:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/C40-Ip-MainInterfaceWrite-strange-behavior-during-consecutives/m-p/1548334#M18663</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-11-03T13:49:54Z</dc:date>
    </item>
  </channel>
</rss>

