<?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: AN12218SW Bootloader fails to write correct data if record straddles sector boundary. in S32K</title>
    <link>https://community.nxp.com/t5/S32K/AN12218SW-Bootloader-fails-to-write-correct-data-if-record/m-p/1293440#M11168</link>
    <description>&lt;P&gt;I think you misunderstand.&lt;/P&gt;&lt;P&gt;The 8-byte alignment issue is related to the flash write process.&lt;/P&gt;&lt;P&gt;This issue is related to the sector erase. If an aligned SREC (say 32 bytes, evenly divisible by 8 bytes) straddles the sector boundary (say 16 bytes in one sector, 16 bytes in the next) then the erase will not properly happen and you'll be left with invalidly programmed data.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 16:27:15 GMT</pubDate>
    <dc:creator>lucianomoretti</dc:creator>
    <dc:date>2021-06-16T16:27:15Z</dc:date>
    <item>
      <title>AN12218SW Bootloader fails to write correct data if record straddles sector boundary.</title>
      <link>https://community.nxp.com/t5/S32K/AN12218SW-Bootloader-fails-to-write-correct-data-if-record/m-p/1292771#M11157</link>
      <description>&lt;P&gt;In the code for the AN12218 Boodloader if the SREC record straddles a page boundary (flash_program_address is in one page, flash_program_address+data_size is in the next page) then it does not erase the next page to allow programming the data and on the next pass the FlashEraseSector() call erases and leaves a hole unprogrammed (all 0xFF).&lt;/P&gt;&lt;P&gt;Another conditional to check flash_prog_address+data_size and erase is needed.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 19:54:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/AN12218SW-Bootloader-fails-to-write-correct-data-if-record/m-p/1292771#M11157</guid>
      <dc:creator>lucianomoretti</dc:creator>
      <dc:date>2021-06-15T19:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: AN12218SW Bootloader fails to write correct data if record straddles sector boundary.</title>
      <link>https://community.nxp.com/t5/S32K/AN12218SW-Bootloader-fails-to-write-correct-data-if-record/m-p/1293324#M11165</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;this weakness of s-record parser has been already reported to us:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio/Why-does-the-AN12218SW-bootloader-fails-to-parse-the-generated/td-p/1275665" target="_blank"&gt;https://community.nxp.com/t5/S32-Design-Studio/Why-does-the-AN12218SW-bootloader-fails-to-parse-the-generated/td-p/1275665&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We are working to fix this. Currently the workaround is to convert the file as mentioned in the thread above.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 14:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/AN12218SW-Bootloader-fails-to-write-correct-data-if-record/m-p/1293324#M11165</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-06-16T14:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: AN12218SW Bootloader fails to write correct data if record straddles sector boundary.</title>
      <link>https://community.nxp.com/t5/S32K/AN12218SW-Bootloader-fails-to-write-correct-data-if-record/m-p/1293440#M11168</link>
      <description>&lt;P&gt;I think you misunderstand.&lt;/P&gt;&lt;P&gt;The 8-byte alignment issue is related to the flash write process.&lt;/P&gt;&lt;P&gt;This issue is related to the sector erase. If an aligned SREC (say 32 bytes, evenly divisible by 8 bytes) straddles the sector boundary (say 16 bytes in one sector, 16 bytes in the next) then the erase will not properly happen and you'll be left with invalidly programmed data.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 16:27:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/AN12218SW-Bootloader-fails-to-write-correct-data-if-record/m-p/1293440#M11168</guid>
      <dc:creator>lucianomoretti</dc:creator>
      <dc:date>2021-06-16T16:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: AN12218SW Bootloader fails to write correct data if record straddles sector boundary.</title>
      <link>https://community.nxp.com/t5/S32K/AN12218SW-Bootloader-fails-to-write-correct-data-if-record/m-p/1296942#M11196</link>
      <description>&lt;P&gt;Thanks, I have already asked the team to rework this completely, so I hope it will be updated soon.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 13:43:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/AN12218SW-Bootloader-fails-to-write-correct-data-if-record/m-p/1296942#M11196</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-06-23T13:43:59Z</dc:date>
    </item>
  </channel>
</rss>

