<?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: Serial bootloader example for MPC5634M</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445279#M1306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's a good idea. If you don't have memory constraints, this is the best option. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2016 10:56:50 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2016-04-26T10:56:50Z</dc:date>
    <item>
      <title>Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445266#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;I recently bought a MPC563xM StarterTRAK Development Kit. MPC5634M is not supported by RAppID, that's the reason why I want to code my own bootloader for reading, erasing, and writing data on flasH.&lt;BR /&gt;Is there a documentation with simple examples of serial bootloader for MPC56xx or MPC55xx which are similar. It will be very helpful for me, this is the first bootloader I have to code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2015 09:30:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445266#M1293</guid>
      <dc:creator>raphc63</dc:creator>
      <dc:date>2015-09-12T09:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445267#M1294</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;take a look at:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/servlet/JiveServlet/download/427962-279359/bootloader.zip"&gt;https://community.freescale.com/servlet/JiveServlet/download/427962-279359/bootloader.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It is written directly for MPC5634M.&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>Mon, 21 Sep 2015 12:33:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445267#M1294</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2015-09-21T12:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445268#M1295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Lukas. I try to understand this project but I have a question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are outstring generate by the main program like this example : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OutStr("\f\r\n**********************************************\r\n");&lt;/P&gt;&lt;P&gt;OutStr("\r\nMPC55xx/56xx Bootloader v1.0\r\n");&lt;/P&gt;&lt;P&gt;OutStr("\r\n**********************************************\r\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Where can I get this outstr on my PC ? And how can I answer to swich menu choice ?&amp;nbsp; When I execute the program I have no control window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 16:18:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445268#M1295</guid>
      <dc:creator>raphc63</dc:creator>
      <dc:date>2015-10-07T16:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445269#M1296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you need some kind of terminal emulation program like Microsoft HyperTerminal or similar. For example, I use this one (it is freeware):&lt;/P&gt;&lt;P&gt;&lt;A href="https://sites.google.com/site/terminalbpp/Terminal20141030.zip?attredirects=0&amp;amp;d=1" title="https://sites.google.com/site/terminalbpp/Terminal20141030.zip?attredirects=0&amp;amp;d=1"&gt;https://sites.google.com/site/terminalbpp/Terminal20141030.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Then you need serial COM port on your PC or USB to serial bridge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"And how can I answer to swich menu choice ?" - Just send a character from terminal to microcontroller...&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, 08 Oct 2015 07:17:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445269#M1296</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2015-10-08T07:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445270#M1297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thanks Lukas, this terminal works perfectly.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried the bootloader that you gave me and it works almost fine. In Codewarrior the baudrate for serial communication seems to be set to 115200baud&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58927i05C827C690328D21/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or at this baud I had no communication. I used a logic analyzer and I found the effective baudrate is 80000 and now it works with Terminal. But I don't understand why the baudrate is less than 11500. Maybe my system clock is not set properly ? ( I don't change anything in the code and it supposed to be 80Mhz )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I have some random message error as you can see here ( I reset several time to show the random effect ) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58964i1F10B99EBA006C0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 15:27:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445270#M1297</guid>
      <dc:creator>raphc63</dc:creator>
      <dc:date>2015-10-08T15:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445271#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;what is the crystal frequency on your board? It looks like you use 8MHz crystal, don't you? My application expects 12MHz crystal. There's note in InitSysclk function:&lt;/P&gt;&lt;P&gt;Sysclk = 80MHz running from PLL with 12 MHz crystal reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change it to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void initSysclk (void) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FMPLL.ESYNCR2.R = 0x00000002;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FMPLL.ESYNCR1.R = 0xF0000028;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (FMPLL.SYNSR.B.LOCK != 1) {}; /* Wait for FMPLL to LOCK&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FMPLL.ESYNCR2.R = 0x00000001; /* Fsys =80Mhz */ &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 04:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445271#M1298</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2015-10-09T04:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445272#M1299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it works well :smileywink: Yes I have a 8 Mhz crystal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code example will be a good start for me I have just to create a Reading flash function and use CAN instead of serial communication. Do you know if there are existing example project for MPC5634M or other MPC56XX of CAN communication function ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 11:38:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445272#M1299</guid>
      <dc:creator>raphc63</dc:creator>
      <dc:date>2015-10-09T11:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445273#M1300</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;basic SW example for CAN communication can be found in application note AN2865:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN2865.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" title="http://cache.freescale.com/files/32bit/doc/app_note/AN2865.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;http://www.freescale.com/files/32bit/doc/app_note/AN2865.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/download/license.jsp?colCode=AN2865SW&amp;amp;location=null&amp;amp;Parent_nodeId=&amp;amp;Parent_pageType=" title="http://www.freescale.com/webapp/sps/download/license.jsp?colCode=AN2865SW&amp;amp;location=null&amp;amp;Parent_nodeId=&amp;amp;Parent_pageType="&gt;MPC5500 and MPC5600 Simple Cookbook Code&lt;/A&gt; &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, 13 Oct 2015 05:59:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445273#M1300</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2015-10-13T05:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445274#M1301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lukaszadrapa"&gt;lukaszadrapa&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;is there any chance to find such example project for MPC5748G (for GHS if possible)?&lt;/P&gt;&lt;P&gt;In which way it should differ from boorloader for MPC5634M?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aleksandar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 14:56:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445274#M1301</guid>
      <dc:creator>alexvinchev</dc:creator>
      <dc:date>2016-04-25T14:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445275#M1302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aleksandar,&lt;/P&gt;&lt;P&gt;I do not have such project for MPC5748G.&lt;/P&gt;&lt;P&gt;The principle is still the same but rework is necessary, of course. What has changed is the memory map, the flash sits at another addresses. There's LINFlex module instead of eSCI, so the functions for serial communication must be changed. (FYI: I will share simple project which includes simple UART communication this or next week). The flash module is different. If it helps, I already shared these two examples for flash programming:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-105380"&gt;Example MPC5748G Flash RW&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-106580"&gt;Example MPC5748G Flash RW SSD&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 04:41:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445275#M1302</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-04-26T04:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445276#M1303</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;I really appreciate your guidance. The two projects for Flash R/W will help of course.&lt;/P&gt;&lt;P&gt;Flash partitioning is bothering me more, this was the reason to ask for example. There are quite much different flash regions and sizes, from where I should pick some part, but which exactly... If you can say few words regarding this, will be very helpful.&lt;/P&gt;&lt;P&gt;Regarding the UART, I've already ported ChibiOS RTOS with CAN &amp;amp; UART drivers (based on AN4830 examples) on MPC5748G, so there is no need to hurry (for me), I think I'll handle UART communication by myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aleksandar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 05:39:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445276#M1303</guid>
      <dc:creator>alexvinchev</dc:creator>
      <dc:date>2016-04-26T05:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445277#M1304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case of MPC5634M, there were following options where to put boot header (RCHW):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34980i93637E495C552EA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the example project, I allocated first 64KB for bootloader and the rest of flash for application. That means the RCHW for bootloader is at address 0x0000_0000, for application at 0x0001_0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of MPC5748G, we can put boot header at:&lt;/P&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/35073i7127B1FD673C638C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, boot header for bootloader can be placed at 0x00F8_C000. If 80Kb is enough for your bootloader, you can place boot header for application at 0x00FE_0000 (or any other, depends on you). Then you have to change the linker files accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next point is the Read-While-Write (RWW) partitioning on flash. As you know, we can't access the flash partition which is currently being programmed or erased. The code must run from another partition or from RAM. Here is the partitioning of MPC5748G flash:&lt;/P&gt;&lt;P&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/35201i6BDE1EA0D14B0182/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;The disadvantage is that the partitions do not create continuous space (for example, partition 0 is split to four non-continuous sections), so we have to be careful where to run the code from to avoid RWW issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need anything else, just let me know...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 07:00:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445277#M1304</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-04-26T07:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445278#M1305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Lukas!&lt;/P&gt;&lt;P&gt;Very helpful advice (again)!&lt;/P&gt;&lt;P&gt;I think I'll sacrifice 0x74000 bytes till 0x01000000 for bootloader and the rest will be for application. This way I'll have no worries regarding RWW issues, because my application will always reside in partitions 6-9 and never touch partitions 0-3. &lt;/P&gt;&lt;P&gt;Does this sounds like a good idea to you?&lt;/P&gt;&lt;P&gt;In case I want to debug application without bootloader, I will use dedicated link file, which will place the boot record in the search area of BAF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aleksandar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 09:55:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445278#M1305</guid>
      <dc:creator>alexvinchev</dc:creator>
      <dc:date>2016-04-26T09:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445279#M1306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's a good idea. If you don't have memory constraints, this is the best option. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 10:56:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445279#M1306</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-04-26T10:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445280#M1307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lukas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although this project seems to be written for MPC5634M (which contains the C90LC, &lt;STRONG&gt;right?&lt;/STRONG&gt;), the SSD seems to be for the C90&lt;STRONG&gt;FL &lt;/STRONG&gt;flash module. I've concluded this after I saw the EraseFlash function was trying to "enable" (I guess that means select-for-erase?) blocks which are signified by bits 22-23 of the LMSR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unsigned char EraseFlash(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; shadowFlag = FALSE;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Erase all blocks (except area occupied by bootloader) in low and mid addr space of flash array 0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; lowEnabledBlocks = &lt;STRONG&gt;0x000003F8&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;0x000003F8 -&amp;gt; &lt;/STRONG&gt;bits 22-&amp;gt;28 are set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screenshot from ref manual below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="c90fl_c90lc.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59747i130D3467E17E42F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="c90fl_c90lc.png" alt="c90fl_c90lc.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, of course, there are some other differences between the C90FL and the C90LC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I correct in this analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've downloaded the "&lt;SPAN class="title ng-scope ng-binding" style="font-weight: bold; font-size: 13px; color: #646464; font-family: Arial, sans-serif;"&gt;MPC56xx C90LC Flash Standard Software Driver&lt;/SPAN&gt;&lt;SPAN style="color: #646464; font-family: Arial, sans-serif; font-size: 11.9px;"&gt; (REV 1.0.3)&lt;/SPAN&gt;" from NXP software center but inside it the user manual states that the document is prepared for C90FL devices! &lt;STRONG&gt;Is the API for C90FL and C90LC really the same?! &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If not, where can I find the SSD explicitly for C90LC?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 18:12:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445280#M1307</guid>
      <dc:creator>buraksoner</dc:creator>
      <dc:date>2016-06-16T18:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445281#M1308</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;API of SSD drivers is the same for C90LC and C90FL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's C90LC flash on MPC5634M. C90FL was used on first revisions (prototypes) of chip. Regarding appendix, there's note in Table A-2:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59741i8C612857AEDDBDCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN class="title ng-scope ng-binding" style="font-weight: bold; font-size: 13px; color: #646464; font-family: Arial, sans-serif;"&gt;MPC56xx C90LC Flash Standard Software Driver&lt;/SPAN&gt;&lt;SPAN style="color: #646464; font-family: Arial, sans-serif; font-size: 11.9px;"&gt; (REV 1.0.3)&lt;/SPAN&gt;" - Yes, this one should be used. &lt;/P&gt;&lt;P&gt;To find correct SSD drivers for a device, find the web page of device, for example:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/products/microcontrollers-and-processors/power-architecture-processors/mpc5xxx-5xxx-32-bit-mcus/mpc56xx-mcus/ultra-reliable-mpc563xm-for-automotive-industrial-engine-management:MPC563xM?tid=mQORIVVAhp" title="http://www.nxp.com/products/microcontrollers-and-processors/power-architecture-processors/mpc5xxx-5xxx-32-bit-mcus/mpc56xx-mcus/ultra-reliable-mpc563xm-for-automotive-industrial-engine-management:MPC563xM?tid=mQORIVVAhp"&gt;MPC563xM|32-bit MCU|Powertrain|NXP&lt;/A&gt; &lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/products/microcontrollers-and-processors/power-architecture-processors/mpc5xxx-5xxx-32-bit-mcus/mpc56xx-mcus/ultra-reliable-dual-core-32-bit-mcu-for-automotive-and-industrial-applications:MPC564xL?tid=mQORIVVAhp" title="http://www.nxp.com/products/microcontrollers-and-processors/power-architecture-processors/mpc5xxx-5xxx-32-bit-mcus/mpc56xx-mcus/ultra-reliable-dual-core-32-bit-mcu-for-automotive-and-industrial-applications:MPC564xL?tid=mQORIVVAhp"&gt;MPC564xL|32-bit MCU|Chassis-Safety|NXP&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Then go to "Software &amp;amp; Tools" tab:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59891i0F7D638B7250210C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then search for "Middleware - Device Drivers":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59914iC9B2074C3B4EBCE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here you can find the drivers for the device:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59958i1CC0335660CBAF7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&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>Fri, 17 Jun 2016 05:17:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445281#M1308</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-06-17T05:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445282#M1309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lukas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One humble suggestion: Perhaps, the fact that the SSDs are the same for C90LC and C90FL can be stated somewhere accesible. As the SSDs are just a bunch of hex numbers in c-files or srecords, no conclusion can be made by just comparing drivers obtained from two different sources -&amp;gt; I've compared the API c-files (which contain just arrays made up of some hex numbers which respresent the API functions) under the "SSD_driver" folder in the serial bootloader example to all of the "c-array_driver" files provided under all (cw, diab, ghs) and (BookE and vle) combinations in the SSD v1.0.3 provided from the NXP website and none are matching..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your answer, I assume there would only be some cosmetic changes which result in different hex numbers in those c-files but nothing functional is different. Am I correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;Burak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 06:05:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445282#M1309</guid>
      <dc:creator>buraksoner</dc:creator>
      <dc:date>2016-06-17T06:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445283#M1310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is mentioned in document which I attached to the bootloader:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59752iB4FC4BD8C374A549/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you download the drivers, the package always contains user guide and release notes, so I think it's enough.&lt;/P&gt;&lt;P&gt;Instead of comparing the c-arrays, it is much better way to download appropriate drivers and use them in your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 07:43:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445283#M1310</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-06-17T07:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445284#M1311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Lukas,&lt;/P&gt;&lt;P&gt;It's a kick start for me to start the bootloader module. One thing confirm me.&lt;/P&gt;&lt;P&gt;1) Once the user application deletes the Key, and after reset, bootloader program will execute. During the&amp;nbsp;bootloader project execution,&amp;nbsp;as the key was deleted by the previous user application,&amp;nbsp;Immediately after the completion of program code we need to&amp;nbsp;add key 0xFFFF0000FFFF0000ULL has to be loaded back&amp;nbsp;to address&amp;nbsp;0x0017FFF8. Is it right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because the bootloader project you provided doesn't have this part of the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 09:42:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445284#M1311</guid>
      <dc:creator>bjrajendra</dc:creator>
      <dc:date>2017-11-08T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader example for MPC5634M</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445285#M1312</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;this is should be part of project for user application. You can find in main.c:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* constant in flash used to start the bootloader/user application */&lt;BR /&gt;#define BOOT_KEY_ADDRESS &amp;nbsp;&amp;nbsp; &amp;nbsp;0x0017FFF8UL&lt;BR /&gt;#define BOOT_KEY &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;0xFFFF0000FFFF0000ULL&lt;BR /&gt;#define DESTROY_BOOT_KEY &amp;nbsp;&amp;nbsp; &amp;nbsp;0x0000000000000000ULL &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Set a constant in flash - BOOT_KEY for bootloader.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "key" is added to FORCEACTIVE section in linker file to ensure &lt;BR /&gt;&amp;nbsp;&amp;nbsp; that the constant is not stripped by the linker */&lt;BR /&gt;#pragma push&lt;BR /&gt;#pragma section all_types ".__key_segment" ".__key_segment"&lt;BR /&gt;unsigned long long key = BOOT_KEY;&lt;BR /&gt;#pragma pop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then at the end of *.mot file:&lt;/P&gt;&lt;P&gt;S30D0017FFF8FFFF0000FFFF0000E8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the key is programmed to flash by bootloader together with other data...&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>Wed, 08 Nov 2017 14:36:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Serial-bootloader-example-for-MPC5634M/m-p/445285#M1312</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2017-11-08T14:36:36Z</dc:date>
    </item>
  </channel>
</rss>

