<?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 CodeWarrior Flash Programer Error with LS1028A-RDB eMMC in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/CodeWarrior-Flash-Programer-Error-with-LS1028A-RDB-eMMC/m-p/1172507#M6853</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to flash the embedded eMMC of the LS1028A-RDB evaluation kit. However, I changed the device type to use the board as a LS1027AE instead of LS1028AE, which only disables the GPU, as shown in the image below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="device_selection.png" style="width: 381px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128159iC8C510535ADA0C83/image-dimensions/381x286?v=v2" width="381" height="286" role="button" title="device_selection.png" alt="device_selection.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I followed the instructions in the "CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA, Targeting Manual", Chapter 7, about Flash Programmer. First, I was able to connect to the embedded XSPI without problems, but I discovered that the local eMMC was not configured. So, I added the eMMC device to configuration of the LS1027A-RDB board (&amp;lt;CW_Install_Dir&amp;gt;\CW_ARMv8\ARMv8\Configs\boards\LS1027A_RDB_init.py) and change the GDB python script to use the eMMC (&amp;lt;CW_Install_Dir&amp;gt;\CW_ARMv8\ARMv8\gdb_extensions\flash\cwflash.py). Both modified files are attached. Once the eMMC used by the LS1028A-RDB kit is a MTFC8GAKAJCN memory of 8GB ("&lt;SPAN&gt;QorIQ LS1028A Reference Design Board Reference Manual")&lt;/SPAN&gt;, I configured the eMMC on the LS1027A-RDB init script as EMMC_MTFC8_LSCH2, as I identified in the flash_devices.html file on&amp;nbsp;&amp;lt;CW_Install_Dir&amp;gt;\CW_ARMv8\ARMv8\gdb_extensions\flash directory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that, I used the same commands of XSPI (fl_info and fl_id). The info command worked fine, but the id failed (see image below). I installed the CodeWarrior for ARMv8 v2020.06.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="fp_init_error.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128162i70A7BEB8995FB0BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fp_init_error.png" alt="fp_init_error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Did I made something wrong? How can I use the CodeWarrior to access the native eMMC of the LS1028A-RDB board as LS1027A-RDB?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 14:12:52 GMT</pubDate>
    <dc:creator>igor_franco</dc:creator>
    <dc:date>2020-10-23T14:12:52Z</dc:date>
    <item>
      <title>CodeWarrior Flash Programer Error with LS1028A-RDB eMMC</title>
      <link>https://community.nxp.com/t5/Layerscape/CodeWarrior-Flash-Programer-Error-with-LS1028A-RDB-eMMC/m-p/1172507#M6853</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to flash the embedded eMMC of the LS1028A-RDB evaluation kit. However, I changed the device type to use the board as a LS1027AE instead of LS1028AE, which only disables the GPU, as shown in the image below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="device_selection.png" style="width: 381px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128159iC8C510535ADA0C83/image-dimensions/381x286?v=v2" width="381" height="286" role="button" title="device_selection.png" alt="device_selection.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I followed the instructions in the "CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA, Targeting Manual", Chapter 7, about Flash Programmer. First, I was able to connect to the embedded XSPI without problems, but I discovered that the local eMMC was not configured. So, I added the eMMC device to configuration of the LS1027A-RDB board (&amp;lt;CW_Install_Dir&amp;gt;\CW_ARMv8\ARMv8\Configs\boards\LS1027A_RDB_init.py) and change the GDB python script to use the eMMC (&amp;lt;CW_Install_Dir&amp;gt;\CW_ARMv8\ARMv8\gdb_extensions\flash\cwflash.py). Both modified files are attached. Once the eMMC used by the LS1028A-RDB kit is a MTFC8GAKAJCN memory of 8GB ("&lt;SPAN&gt;QorIQ LS1028A Reference Design Board Reference Manual")&lt;/SPAN&gt;, I configured the eMMC on the LS1027A-RDB init script as EMMC_MTFC8_LSCH2, as I identified in the flash_devices.html file on&amp;nbsp;&amp;lt;CW_Install_Dir&amp;gt;\CW_ARMv8\ARMv8\gdb_extensions\flash directory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that, I used the same commands of XSPI (fl_info and fl_id). The info command worked fine, but the id failed (see image below). I installed the CodeWarrior for ARMv8 v2020.06.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="fp_init_error.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128162i70A7BEB8995FB0BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fp_init_error.png" alt="fp_init_error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Did I made something wrong? How can I use the CodeWarrior to access the native eMMC of the LS1028A-RDB board as LS1027A-RDB?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 14:12:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/CodeWarrior-Flash-Programer-Error-with-LS1028A-RDB-eMMC/m-p/1172507#M6853</guid>
      <dc:creator>igor_franco</dc:creator>
      <dc:date>2020-10-23T14:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior Flash Programer Error with LS1028A-RDB eMMC</title>
      <link>https://community.nxp.com/t5/Layerscape/CodeWarrior-Flash-Programer-Error-with-LS1028A-RDB-eMMC/m-p/1173155#M6857</link>
      <description>&lt;P&gt;I've found the problem. The configuration of the eMMC on LS1027A_RDB_init.py was wrong.&lt;/P&gt;&lt;P&gt;It must use "EMMC_MTFC8_SDHC2" instead of "EMMC_MTFC8_LSCH2".&lt;/P&gt;&lt;P&gt;Marked as solved.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 13:39:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/CodeWarrior-Flash-Programer-Error-with-LS1028A-RDB-eMMC/m-p/1173155#M6857</guid>
      <dc:creator>igor_franco</dc:creator>
      <dc:date>2020-10-26T13:39:38Z</dc:date>
    </item>
  </channel>
</rss>

