<?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: Issue of MPC5748G C55 Flash Driver in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/Issue-of-MPC5748G-C55-Flash-Driver/m-p/977716#M1296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas，&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I have just import a new S32DS prject from example.There is some original content(do not erase any 256Kblock):&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;blockSelect.lowBlockSelect = 0x4U;&lt;BR /&gt; blockSelect.midBlockSelect = 0x0U;&lt;BR /&gt; blockSelect.highBlockSelect = 0x0U;&lt;BR /&gt; blockSelect.first256KBlockSelect = 0x0U;&lt;BR /&gt; blockSelect.second256KBlockSelect = 0x0U;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;Because flash.ld is :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;m_text : org = 0x01540000, len = 256k&lt;BR /&gt; m_data : org = SRAM_BASE_ADDR, len = SRAM_SIZE&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;So I change it to erase all 256kb blocks except the last, from&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;0x01540000 to&amp;nbsp;0x0157FFFF(refer to MPC5748G_features.h)&lt;/SPAN&gt; :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;blockSelect.lowBlockSelect = 0x4U;&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;blockSelect.midBlockSelect = 0x0U;&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;blockSelect.highBlockSelect = 0x0U;&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;blockSelect.first256KBlockSelect = 0x001FFFFF;//0x0U;&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;blockSelect.second256KBlockSelect = 0x0U;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Sorry I cannot find out where to upload files, so I will mention that the example project name, its:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;flash_program_erase_mpc5748g&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Can U help me importing &amp;amp; testing it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tajo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Dec 2019 03:00:17 GMT</pubDate>
    <dc:creator>tajo</dc:creator>
    <dc:date>2019-12-18T03:00:17Z</dc:date>
    <item>
      <title>Issue of MPC5748G C55 Flash Driver</title>
      <link>https://community.nxp.com/t5/S32-SDK/Issue-of-MPC5748G-C55-Flash-Driver/m-p/977713#M1293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am using&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #000000;"&gt;DEVKIT-MPC5&lt;/SPAN&gt;748G to develop bootloader. But I got some problem while using c55 flash driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;The problem is that using&amp;nbsp;pFlashErase() to erase&amp;nbsp;256KBlock will get stuck in&amp;nbsp;IVOR1_Handler after I unlock the all the 256KBlock except the 22th &lt;SPAN&gt;256KBlock&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;by using :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;pSetLock(&amp;amp;ssdConfig, C55_BLOCK_256K_FIRST, 0xFFE00000);&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erase by:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P dir="ltr"&gt;/* Select all blocks except blocks occupied by bootloader */ &lt;BR /&gt; lowBlockSelect = 0x0000017C; //0b 0001 0111 1100&amp;nbsp; 0x00620000-0x00620000(HSM Code) 0x00F8C000U(Bootloader) 0x00404000(BAF)&lt;BR /&gt; midBlockSelect = 0x000003FE; //0b 0011 1111 1110 0x00F90000U(Booyloader)&lt;BR /&gt; highBlockSelect = 0x00000000; //0b 0000 0000 0000 0x00F80000U 0x00F84000U (HSM Data)&lt;BR /&gt; n256KBlockSelect.first256KBlockSelect = 0x001FFFFF;//0x003FFFFF; // 0x003FFFFF; //0b 0011 1111 1111 1111 1111 1111&lt;BR /&gt; n256KBlockSelect.second256KBlockSelect = 0x00000000;&lt;BR /&gt; &lt;BR /&gt; returnCode = pFlashErase(&amp;amp;ssdConfig, &lt;BR /&gt; C55_ERASE_MAIN, &lt;BR /&gt; lowBlockSelect, &lt;BR /&gt; midBlockSelect, &lt;BR /&gt; highBlockSelect,&lt;BR /&gt; n256KBlockSelect);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is there sth err ?&lt;/P&gt;&lt;P&gt;Please help me about this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 09:10:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Issue-of-MPC5748G-C55-Flash-Driver/m-p/977713#M1293</guid>
      <dc:creator>tajo</dc:creator>
      <dc:date>2019-12-13T09:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue of MPC5748G C55 Flash Driverv</title>
      <link>https://community.nxp.com/t5/S32-SDK/Issue-of-MPC5748G-C55-Flash-Driver/m-p/977714#M1294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;And when I did not erase any 256KBlock, it is Okay:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;EM&gt;pFlashErase(&amp;amp;ssdConfig,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; C55_ERASE_MAIN, &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; lowBlockSelect, &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; midBlockSelect, &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; highBlockSelect,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;0x00000000);&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I have checked the memory, the last&amp;nbsp;&lt;SPAN&gt;256KBlock is from&amp;nbsp;0x01540000 to&amp;nbsp;0x0157FFFF. When I am debugging, it's occupied, so I just cannot erase this block. Is this right? But I can erase left 21&amp;nbsp;256KBlock.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;My linker_flash.ld setting is:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&amp;nbsp;&lt;BR /&gt; flash_rchw : org = 0x00f8c000, len = 0x4&amp;nbsp;&lt;BR /&gt; cpu0_reset_vec : org = 0x00f8c000+0x10, len = 0x4&lt;BR /&gt; cpu1_reset_vec : org = 0x00f8c000+0x14, len = 0x4&lt;BR /&gt; cpu2_reset_vec : org = 0x00f8c000+0x04, len = 0x4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*m_text : org = FLASH_BASE_ADDR, len = FLASH_SIZE*/&lt;BR /&gt; /*m_data : org = SRAM_BASE_ADDR, len = SRAM_SIZE*/&lt;BR /&gt; m_text : org = 0x01540000, len = 256k&lt;BR /&gt; m_data : org = SRAM_BASE_ADDR, len = SRAM_SIZE&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 09:19:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Issue-of-MPC5748G-C55-Flash-Driver/m-p/977714#M1294</guid>
      <dc:creator>tajo</dc:creator>
      <dc:date>2019-12-13T09:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue of MPC5748G C55 Flash Driver</title>
      <link>https://community.nxp.com/t5/S32-SDK/Issue-of-MPC5748G-C55-Flash-Driver/m-p/977715#M1295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't see any issues on my side, I successfully erased also the last 256kb blocks. Can you share some simple project to reproduce the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 11:24:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Issue-of-MPC5748G-C55-Flash-Driver/m-p/977715#M1295</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2019-12-17T11:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue of MPC5748G C55 Flash Driver</title>
      <link>https://community.nxp.com/t5/S32-SDK/Issue-of-MPC5748G-C55-Flash-Driver/m-p/977716#M1296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas，&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I have just import a new S32DS prject from example.There is some original content(do not erase any 256Kblock):&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;blockSelect.lowBlockSelect = 0x4U;&lt;BR /&gt; blockSelect.midBlockSelect = 0x0U;&lt;BR /&gt; blockSelect.highBlockSelect = 0x0U;&lt;BR /&gt; blockSelect.first256KBlockSelect = 0x0U;&lt;BR /&gt; blockSelect.second256KBlockSelect = 0x0U;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;Because flash.ld is :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;m_text : org = 0x01540000, len = 256k&lt;BR /&gt; m_data : org = SRAM_BASE_ADDR, len = SRAM_SIZE&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;So I change it to erase all 256kb blocks except the last, from&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;0x01540000 to&amp;nbsp;0x0157FFFF(refer to MPC5748G_features.h)&lt;/SPAN&gt; :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;blockSelect.lowBlockSelect = 0x4U;&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;blockSelect.midBlockSelect = 0x0U;&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;blockSelect.highBlockSelect = 0x0U;&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;blockSelect.first256KBlockSelect = 0x001FFFFF;//0x0U;&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;blockSelect.second256KBlockSelect = 0x0U;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Sorry I cannot find out where to upload files, so I will mention that the example project name, its:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;flash_program_erase_mpc5748g&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Can U help me importing &amp;amp; testing it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tajo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2019 03:00:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Issue-of-MPC5748G-C55-Flash-Driver/m-p/977716#M1296</guid>
      <dc:creator>tajo</dc:creator>
      <dc:date>2019-12-18T03:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue of MPC5748G C55 Flash Driver</title>
      <link>https://community.nxp.com/t5/S32-SDK/Issue-of-MPC5748G-C55-Flash-Driver/m-p/977717#M1297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/97060i0104B63FE8728340/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/97061iB21AEC2F3CF5D8A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I try to debug with the example, for that I want to find out when the problem will happen while which blosck being erased. There was someting strange.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; When I am erasing the 20th 256kb block(while j == 19),&amp;nbsp; the last block (&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;from&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6; border: 0px;"&gt;0x01540000 to&amp;nbsp;0x0157FFFF&lt;/SPAN&gt;) will be erased?Emmmmmm...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2019 03:24:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Issue-of-MPC5748G-C55-Flash-Driver/m-p/977717#M1297</guid>
      <dc:creator>tajo</dc:creator>
      <dc:date>2019-12-18T03:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue of MPC5748G C55 Flash Driver</title>
      <link>https://community.nxp.com/t5/S32-SDK/Issue-of-MPC5748G-C55-Flash-Driver/m-p/977718#M1298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attached is my testing project. I just imported the drivers and simply copied important code from the demo code. Then I add unlocking of 256kb blocks and I erased last two blocks. To see the difference, I programmed some data to those blocks via debugger. I can see no problem here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;Any support, information, and technology (“Materials”) provided by NXP are provided AS IS, without any warranty express or implied, and &lt;BR /&gt;NXP disclaims all direct and indirect liability and damages in connection with the Material to the maximum extent permitted by the applicable &lt;BR /&gt;law. NXP accepts no liability for any assistance with applications or product design.&amp;nbsp; Materials may only be used in connection with NXP &lt;BR /&gt;products. Any feedback provided to NXP regarding the Materials may be used by NXP without restriction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2019 05:46:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Issue-of-MPC5748G-C55-Flash-Driver/m-p/977718#M1298</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2019-12-19T05:46:36Z</dc:date>
    </item>
  </channel>
</rss>

