<?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>LayerscapeのトピックRe: LS1021A-TWR initial board Problem</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447368#M460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Weijia&lt;/P&gt;&lt;P&gt;You should be able to debug via CMSIS-DAP as&lt;/P&gt;&lt;P&gt;Lunmin suggested (it is essentially an on-board&lt;/P&gt;&lt;P&gt;external debugger) but I have no experience using&lt;/P&gt;&lt;P&gt;it on this board. I believe Lunmin would be able&lt;/P&gt;&lt;P&gt;to refer you some Freescale documents on how&lt;/P&gt;&lt;P&gt;to utilize this.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Oct 2015 04:00:18 GMT</pubDate>
    <dc:creator>sinanakman</dc:creator>
    <dc:date>2015-10-11T04:00:18Z</dc:date>
    <item>
      <title>LS1021A-TWR initial board Problem</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447358#M450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a LS1021A-TWR board. After I have programmed a new uImage in the flash, I met a problem regarding the board initializing, I can't initialize my board in normally.&lt;/P&gt;&lt;P&gt;Normally, after powering up the board: (1) the LED D1 turns ON. (2) the LED D5 turns ON then OFF. (3) and then some log will be printed out on the serial console.&lt;/P&gt;&lt;P&gt;But now, after power-up the board, the LED D5 turns ON, and then it never returns to OFF. And I can't see any log on the serial console. I think I probably did some mistakes when I programmed a new uImage in the flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me how can I restore the board?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tommy WU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 22:50:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447358#M450</guid>
      <dc:creator>tommywu</dc:creator>
      <dc:date>2015-10-08T22:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A-TWR initial board Problem</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447359#M451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wiijia&lt;/P&gt;&lt;P&gt;What images did you program and at which addresses ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 00:02:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447359#M451</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2015-10-09T00:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A-TWR initial board Problem</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447360#M452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, what is your SW2, SW3 settings. LED D5 being&lt;/P&gt;&lt;P&gt;still on indicates that the SoC could not complete the&lt;/P&gt;&lt;P&gt;POR reset properly. It feels your RCW is perhaps not&lt;/P&gt;&lt;P&gt;correct.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 01:21:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447360#M452</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2015-10-09T01:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A-TWR initial board Problem</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447361#M453</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;If something is corrupted in the NOR flash and the LS1021A-TWR board doesn't boot, you can try booting the board from an SD card. I found very good instructions on how to boot the LS1021A-TWR from an SD card at &lt;A href="https://linuxlink.timesys.com/docs/gsg/ls1021atwr" title="https://linuxlink.timesys.com/docs/gsg/ls1021atwr"&gt;Timesys Getting Started Guide for Freescale LS1021A Tower Module Kit | Timesys Embedded Linux&lt;/A&gt;​ . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you are able to boot from SD card, you can get into u-boot and re-program RCW and u-boot image on the NOR flash (Bank0 or Bank1). Instructions for programming RCW and u-boot on NOR flash Bank 1 is provided in the SDK documentation (Refer section Software Deployment Guides -&amp;gt; Boards -&amp;gt; TWR-LS1021A -&amp;gt; Programming a New U-boot and RCW). Once you have programmed the RCW and u-boot on NOR flash Bank 1, set your DIP switch (SW2 and SW3) settings appropriately to boot from NOR Bank 1. Getting Started Guide &lt;A href="https://www.freescale.com/webapp/Download?colCode=TWR-LS1021AGS&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Quick%20Reference%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf&amp;amp;Parent_nodeId=1400248220704704973621&amp;amp;Parent_pageType=product&amp;amp;Parent_nodeId=1400248220704704973621&amp;amp;Parent_pageType=product" title="https://www.freescale.com/webapp/Download?colCode=TWR-LS1021AGS&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Quick%20Reference%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf&amp;amp;Parent_nodeId=1400248220704704973621&amp;amp;Parent_pageType=product&amp;amp;Parent_nodeId=1400248220704704973621&amp;amp;Parent_pageType=product"&gt;https://www.freescale.com/webapp/Download?colCode=TWR-LS1021AGS&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Quick%20Reference%20Guides&amp;amp;…&lt;/A&gt; describes the DIP switch settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jayaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 05:53:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447361#M453</guid>
      <dc:creator>jayarajrajappan</dc:creator>
      <dc:date>2015-10-09T05:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A-TWR initial board Problem</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447362#M454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;Hi Sinan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remember correctly, I programmed a kernel image (uImage-ls1021atwr.bin) at the address 0x60300000 (for bank0 Linux Kernel Image) with the default switch SW2: 10001111,&amp;nbsp; SW3: 01100101 with J19: 2-3 and J20: 2-3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I shouldn’t programme the bank0 flash when I use it. And I thank maybe I make this stupid thing with the bank1 too. So even I switch to the bank1 (SW2: 10001111,&amp;nbsp; SW3: 01101001 with J19: 1-2 and J20: 1-2), my board appears the same situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to restore my board? Now I can’t see any thing from the serial console, so I can’t use u-boot to reprogramme the flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said, if it's my RCW's problem, how can I reprogramme it or correct it? Could you please tell me more?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Weijia WU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 08:29:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447362#M454</guid>
      <dc:creator>tommywu</dc:creator>
      <dc:date>2015-10-09T08:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A-TWR initial board Problem</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447363#M455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, I have tried to boot from SD card, but it didn't work. I can't see any log from the serial console after power-up the board. And the LED D5 always turns ON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Weijia WU&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 09:05:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447363#M455</guid>
      <dc:creator>tommywu</dc:creator>
      <dc:date>2015-10-09T09:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A-TWR initial board Problem</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447364#M456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Weija&lt;/P&gt;&lt;P&gt;I am surprised that Jayaraj instructions for booting from SD&lt;/P&gt;&lt;P&gt;also did not work for you. I assume you set the switches&lt;/P&gt;&lt;P&gt;correctly for SD boot.&lt;/P&gt;&lt;P&gt;If your RCW in NOR is corrupt and you are not able to boot&lt;/P&gt;&lt;P&gt;from SD then your best approach would be to use a JTAG&lt;/P&gt;&lt;P&gt;debugger. We use BDI3000 here and I am able to boot&lt;/P&gt;&lt;P&gt;this board via JTAG. You might want to pursue this avenue.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 13:43:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447364#M456</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2015-10-09T13:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A-TWR initial board Problem</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447365#M457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Weijia Wu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with Sinan Akman, most probably you have inappropriate RCW.&lt;/P&gt;&lt;P&gt;To reprograme the flash, also you have another option if you do not have BDI3000 or CodeWarrior TAP:&lt;/P&gt;&lt;P&gt;1. Download and install an evaluation CodeWarrior for LS:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/tools/embedded-software-and-tools/software-development-tools/codewarrior-development-tools/suite-for-networked-applications/codewarrior-development-studio-for-qoriq-ls-series-for-arm-v7-isa-v10.0.7:CW-LS-ARM7?code=CW-LS-ARM7&amp;amp;nodeId=015210BAF72726328B&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" rel="nofollow"&gt;http://www.freescale.com/tools/embedded-software-and-tools/software-development-tools/codewarrior-development-tools/suite-for-networked-applications/codewarrior-development-studio-for-qoriq-ls-series-for-arm-v7-isa-v10.0.7:CW-LS-ARM7?code=CW-LS-ARM7&amp;amp;nodeId=015210BAF72726328B&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Install CWSIS-DAP driver, this will provides an access to the DAP of ARM through USB, instead of CWTAP. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can download this driver from:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://mbed.org/handbook/Windows-serial-configuration" rel="nofollow"&gt;https://mbed.org/handbook/Windows-serial-configuration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; And you need to change SW2[8] = 0 to enable it.&lt;/P&gt;&lt;P&gt;3. There are RCW or flash image for this board from Freescale website:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A class="download-link" href="https://freescaleesd.flexnetoperations.com/337170/997/8921997/QorIQ-SDK-v1.8-CORTEXA7-IMAGE-20150619-yocto.iso?ftpRequestID=3714879157&amp;amp;server=freescaleesd.flexnetoperations.com&amp;amp;dtm=DTM20151010041923NDkwODQzMTY3&amp;amp;authparam=1444475963_6c4741eb2f43cecf701201d40c331380&amp;amp;ext=.iso" title="Clicking this link will open a new window."&gt;QorIQ-SDK-v1.8-CORTEXA7-IMAGE-20150619-yocto.iso&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Lunmin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2015 03:21:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447365#M457</guid>
      <dc:creator>lunminliang</dc:creator>
      <dc:date>2015-10-10T03:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A-TWR initial board Problem</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447366#M458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lunmin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is a good option. I have enabled the CMSIS-DAP debug on my board. But I don't know how to flash the RCW image via CMSIS-DAP, I'm new with CodeWarrior. Could you please tell me more detail or provide me some resource of tutorial? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Weijia WU&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2015 22:05:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447366#M458</guid>
      <dc:creator>tommywu</dc:creator>
      <dc:date>2015-10-10T22:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A-TWR initial board Problem</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447367#M459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sinan,&lt;/P&gt;&lt;P&gt;Can I debug my board with CMSIS-DAP, as Lunmin's say? If yes, could you please teach me how to debug it or provide me some resource of tutorial regarding to flash the RCW image to my board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Weijia WU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2015 22:13:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447367#M459</guid>
      <dc:creator>tommywu</dc:creator>
      <dc:date>2015-10-10T22:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A-TWR initial board Problem</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447368#M460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Weijia&lt;/P&gt;&lt;P&gt;You should be able to debug via CMSIS-DAP as&lt;/P&gt;&lt;P&gt;Lunmin suggested (it is essentially an on-board&lt;/P&gt;&lt;P&gt;external debugger) but I have no experience using&lt;/P&gt;&lt;P&gt;it on this board. I believe Lunmin would be able&lt;/P&gt;&lt;P&gt;to refer you some Freescale documents on how&lt;/P&gt;&lt;P&gt;to utilize this.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 04:00:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447368#M460</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2015-10-11T04:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A-TWR initial board Problem</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447369#M461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Weijia WU,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for late. Yes, there is document you could refer to:&lt;/P&gt;&lt;P&gt;In Freescale\CW_ARMv7_v10.0.7\ARMv7\Help\PDF\CW_ARMv7_Targeting_Manual.pdf, refer to Chapter 11: Flash Programmer.&lt;/P&gt;&lt;P&gt;And AN5089-Programming RCW and U-Boot on LS1021A-TWR, refer to Section 6 Using CodeWarrior to reprogram U-Boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Lunmin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 06:39:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-TWR-initial-board-Problem/m-p/447369#M461</guid>
      <dc:creator>lunminliang</dc:creator>
      <dc:date>2015-10-20T06:39:32Z</dc:date>
    </item>
  </channel>
</rss>

