<?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>MPC5xxxのトピックRe: SSD C55 FlashProgram() max size?</title>
    <link>https://community.nxp.com/t5/MPC5xxx/SSD-C55-FlashProgram-max-size/m-p/624209#M5599</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 found out that I didn't initialize these pointers in my example (this is copied from&amp;nbsp;c:\Program Files (x86)\Freescale\Standard Software Driver v1.1.0\MPC57xx\Demos\Demo_code\common\demo.c):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;/* set up function pointers in context data */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pgmCtxData.pReqCompletionFn = pFlashProgram;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bcCtxData.pReqCompletionFn = pBlankCheck;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pvCtxData.pReqCompletionFn = pProgramVerify;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; csCtxData.pReqCompletionFn = pCheckSum;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pointers are used by FlashCheckStatus function to call the functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I simply added the initialization like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12349i97A633E7BB152B6A/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then it works as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for pointing this out, I will update the example next week.&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>Thu, 19 Jan 2017 08:43:09 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2017-01-19T08:43:09Z</dc:date>
    <item>
      <title>SSD C55 FlashProgram() max size?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SSD-C55-FlashProgram-max-size/m-p/624208#M5598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think SSD C55 FlashProgram () max size is 0x800.(&lt;SPAN&gt;source_end 0x40005800 -&amp;nbsp;source_start 0x40005000&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;but flash wrote size only 0x80. so I change size from 0x800 to 0x80.&lt;/P&gt;&lt;P&gt;MPC5748G Internal Flash write success.&lt;/P&gt;&lt;P&gt;I think FlashProgram() size 0x800 is supported.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i try your&amp;nbsp;MPC5748G-Flash_RW-SSD_GHS614 project used T32.&lt;/P&gt;&lt;P&gt;The results were the same.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the SSD C55 FlashProgram() maximun size?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this is the last question.......^^;;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122760iB9DC0448C12C013D/image-size/large?v=v2&amp;amp;px=999" title="174632_174632.png" alt="174632_174632.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11612i64C4A65EE480EA0C/image-size/large?v=v2&amp;amp;px=999" title="code.png" alt="code.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122761iEFF77DE6F6A23D30/image-size/large?v=v2&amp;amp;px=999" title="174633_174633.png" alt="174633_174633.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11661i8922573DD74214FD/image-size/large?v=v2&amp;amp;px=999" title="SSD_EX_1.png" alt="SSD_EX_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122762i1279D1D1902C9F04/image-size/large?v=v2&amp;amp;px=999" title="174634_174634.png" alt="174634_174634.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11662iD6EE7D869B815B02/image-size/large?v=v2&amp;amp;px=999" title="SSD_EX_2.png" alt="SSD_EX_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122763i3E72DFC215776992/image-size/large?v=v2&amp;amp;px=999" title="174635_174635.png" alt="174635_174635.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11496i0D2B7F8A65F54690/image-size/large?v=v2&amp;amp;px=999" title="SSD_EX_3.png" alt="SSD_EX_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 00:47:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SSD-C55-FlashProgram-max-size/m-p/624208#M5598</guid>
      <dc:creator>kimyoungsu</dc:creator>
      <dc:date>2017-01-18T00:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: SSD C55 FlashProgram() max size?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SSD-C55-FlashProgram-max-size/m-p/624209#M5599</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 found out that I didn't initialize these pointers in my example (this is copied from&amp;nbsp;c:\Program Files (x86)\Freescale\Standard Software Driver v1.1.0\MPC57xx\Demos\Demo_code\common\demo.c):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;/* set up function pointers in context data */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pgmCtxData.pReqCompletionFn = pFlashProgram;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bcCtxData.pReqCompletionFn = pBlankCheck;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pvCtxData.pReqCompletionFn = pProgramVerify;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; csCtxData.pReqCompletionFn = pCheckSum;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pointers are used by FlashCheckStatus function to call the functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I simply added the initialization like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12349i97A633E7BB152B6A/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then it works as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for pointing this out, I will update the example next week.&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>Thu, 19 Jan 2017 08:43:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SSD-C55-FlashProgram-max-size/m-p/624209#M5599</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2017-01-19T08:43:09Z</dc:date>
    </item>
  </channel>
</rss>

