<?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: Accessing LS1021A-TWR QSPI in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468361#M657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my Diagnose running on board booting from sd, using u-boot-sdcard-qspi.bin and SW2: 0010_0111&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fl::target -lc "ls1021atwr-core0_RAM_LS1021ATWR_Download"&lt;/P&gt;&lt;P&gt;fl::target -b 0x10000000 0x20000&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "N25Q128A" -o "16Mx8x1" -a 0x40000000 0x40ffffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::diagnose full&lt;/P&gt;&lt;P&gt; Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;------------------------- &lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Downloading Flash Diagnostics Driver ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Reading flash ID ...&lt;/P&gt;&lt;P&gt;Running Diagnostics ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Running Diagnostics ......................................&lt;/P&gt;&lt;P&gt;Sector Map (read from target)&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;=============================&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00000: 0x40000000 - 0x4000FFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00001: 0x40010000 - 0x4001FFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00002: 0x40020000 - 0x4002FFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00003: 0x40030000 - 0x4003FFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00004: 0x40040000 - 0x4004FFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00005: 0x40050000 - 0x4005FFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00006: 0x40060000 - 0x4006FFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00007: 0x40070000 - 0x4007FFFF Size=0x00010000 unprotected&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; blank&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;Flash Information&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;=================&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Flash Manufacturer ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :0x00000020 &lt;/P&gt;&lt;P&gt;Flash Device ID (byte1)&amp;nbsp;&amp;nbsp; :0x000000BA &lt;/P&gt;&lt;P&gt;Flash Device ID (byte2)&amp;nbsp;&amp;nbsp; :0x00000018 &lt;/P&gt;&lt;P&gt;Flash Device ID (byte3)&amp;nbsp;&amp;nbsp; :0x00004323 &lt;/P&gt;&lt;P&gt;Secure Device Verification:0x00000000 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Diagnose Succeeded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2016 07:30:36 GMT</pubDate>
    <dc:creator>addiyi</dc:creator>
    <dc:date>2016-03-15T07:30:36Z</dc:date>
    <item>
      <title>Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468353#M649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to write a bare-metal program that accesses the QSPI on my LS1021A-TWR X3 board.&amp;nbsp; Neither my program, nor the CodeWarrior flash programmer task can access it.&amp;nbsp; The Flash Programmer actually reports success of the diagnoses, but the ID it reports tells another story:&lt;/P&gt;&lt;P&gt;Flash Information&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;=================&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Flash Manufacturer ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :0x000000FF &lt;/P&gt;&lt;P&gt;Flash Device ID (byte1)&amp;nbsp;&amp;nbsp; :0x000000FF &lt;/P&gt;&lt;P&gt;Flash Device ID (byte2)&amp;nbsp;&amp;nbsp; :0x000000FF &lt;/P&gt;&lt;P&gt;Flash Device ID (byte3)&amp;nbsp;&amp;nbsp; :0x0000FFFF &lt;/P&gt;&lt;P&gt;Secure Device Verification:0x00000000 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Diagnose Succeeded&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm debugging with Code Warrior TAP over USB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need a special configuration of Switches or config files in order to access the flash?&amp;nbsp; My project is using the init file provided by CodeWarrior LS1021A-TWR_Init.tcl.&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 06:08:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468353#M649</guid>
      <dc:creator>jasonhendrix</dc:creator>
      <dc:date>2016-03-11T06:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468354#M650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Janson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be able to access qspi, with no switch settings, you have to use RCW12 = 0x20024800. So, you can use jtag chain file as Target type in CW and add the new value for RCW12 in rcw index 4108.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please try a Program/Verify Action, follow by a Dump Action. It is possible that Flash Programmer to return wrong Manufacturer ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 07:03:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468354#M650</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-03-11T07:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468355#M651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I removed the "erase before programming option" in the flash programmer task, but same problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fl::target -lc "QSPIFlashTest-core0_RAM_LS1021ATWR_Download"&lt;/P&gt;&lt;P&gt;fl::target -b 0x80000000 0x4000000&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "N25Q128A" -o "16Mx8x1" -a 0x0 0xffffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::image -f "C:\\Freescale\\CW4NET_v2016.01\\CW_ARMv7\\ARMv7\\ARM_Support\\FlashToolKit\\TestSrecFiles\\8k_at_0.S" -t "Auto Detect" -re off -oe off&lt;/P&gt;&lt;P&gt;cmdwin::fl::write&lt;/P&gt;&lt;P&gt; Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;------------------------- &lt;/P&gt;&lt;P&gt;Programming file C:\Freescale\CW4NET_v2016.01\CW_ARMv7\ARMv7\ARM_Support\FlashToolKit\TestSrecFiles\8k_at_0.S&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Motorola S-Record Format.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Downloading Flash Device Driver ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Reading flash ID ...&lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Motorola S-Record Format.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Downloading 0x00002000 bytes to be programmed at 0x00000000&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Executing program ....&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Program failed.&amp;nbsp;&amp;nbsp; Flash driver reports the following error(s):&amp;nbsp; Operation Unsupported&lt;/P&gt;&lt;P&gt;Error: Program failed. Flash driver reports the following error(s):&amp;nbsp; Operation Unsupported&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 18:56:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468355#M651</guid>
      <dc:creator>jasonhendrix</dc:creator>
      <dc:date>2016-03-11T18:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468356#M652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something that is new (probably due to the new config file), is that a memory monitor view onto 0x40000000 now shows all 0xFFFFFFFF.&amp;nbsp; Previously, it showed all 0x00000000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 18:59:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468356#M652</guid>
      <dc:creator>jasonhendrix</dc:creator>
      <dc:date>2016-03-11T18:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468357#M653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This first response got lost, so I'll post again...&lt;/P&gt;&lt;P&gt;I added the file C:\Freescale\CW4NET_v2016.01\CW_ARMv7\ARMv7\ARM_Support\Configuration_Files\jtag_chains\LS102xATWR_RCW_1000-300-1600_QSPI.txt &lt;/P&gt;&lt;P&gt;to my debug config target type.&amp;nbsp; In that file, I changed (4108 0x20024000) to (4108 0x20024800).&lt;/P&gt;&lt;P&gt;Is this the filetype to use, or were you referring to the jtag.cfg type file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My app and Flash Programmer still not working, but as posted previously, I now read 0xFF from 0x40000000 instead of 0x00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My config:&lt;/P&gt;&lt;P&gt;&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/22882i13B16E2B4186D63A/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 19:29:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468357#M653</guid>
      <dc:creator>jasonhendrix</dc:creator>
      <dc:date>2016-03-11T19:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468358#M654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you try to set SW2.5=0 and check again. It seems is mandatory QSPI bus to be enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 14:36:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468358#M654</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-03-14T14:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468359#M655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Programmer task still returns 0xFF after setting SW2.5 = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sector 00255: 0x00FF0000 - 0x00FFFFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Flash Information&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;=================&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Flash Manufacturer ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :0x000000FF &lt;/P&gt;&lt;P&gt;Flash Device ID (byte1)&amp;nbsp;&amp;nbsp; :0x000000FF &lt;/P&gt;&lt;P&gt;Flash Device ID (byte2)&amp;nbsp;&amp;nbsp; :0x000000FF &lt;/P&gt;&lt;P&gt;Flash Device ID (byte3)&amp;nbsp;&amp;nbsp; :0x0000FFFF &lt;/P&gt;&lt;P&gt;Secure Device Verification:0x00000000 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does seemed to have changed the readout - from 0x40000000 I now read 256 bytes of 0x55, 256 bytes of 0xAA, then all 0xFF.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 18:40:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468359#M655</guid>
      <dc:creator>jasonhendrix</dc:creator>
      <dc:date>2016-03-14T18:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468360#M656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder if maybe I don't have the clocks configured properly.&amp;nbsp; The QSPI module is apparently sampling the inputs, because it's placing the correct number of 0xFF bytes in the RX buffer.&amp;nbsp; Is that a good indication that the QSPI clock is running?&lt;/P&gt;&lt;P&gt;I'm not doing any explicit configuration of the clocks - just using what's on the dev board and is configured in the QSPI debug config file...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 20:50:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468360#M656</guid>
      <dc:creator>jasonhendrix</dc:creator>
      <dc:date>2016-03-14T20:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468361#M657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my Diagnose running on board booting from sd, using u-boot-sdcard-qspi.bin and SW2: 0010_0111&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fl::target -lc "ls1021atwr-core0_RAM_LS1021ATWR_Download"&lt;/P&gt;&lt;P&gt;fl::target -b 0x10000000 0x20000&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "N25Q128A" -o "16Mx8x1" -a 0x40000000 0x40ffffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::diagnose full&lt;/P&gt;&lt;P&gt; Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;------------------------- &lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Downloading Flash Diagnostics Driver ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Reading flash ID ...&lt;/P&gt;&lt;P&gt;Running Diagnostics ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Running Diagnostics ......................................&lt;/P&gt;&lt;P&gt;Sector Map (read from target)&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;=============================&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00000: 0x40000000 - 0x4000FFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00001: 0x40010000 - 0x4001FFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00002: 0x40020000 - 0x4002FFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00003: 0x40030000 - 0x4003FFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00004: 0x40040000 - 0x4004FFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00005: 0x40050000 - 0x4005FFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00006: 0x40060000 - 0x4006FFFF Size=0x00010000 unprotected programmed&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sector 00007: 0x40070000 - 0x4007FFFF Size=0x00010000 unprotected&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; blank&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;Flash Information&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;=================&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Flash Manufacturer ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :0x00000020 &lt;/P&gt;&lt;P&gt;Flash Device ID (byte1)&amp;nbsp;&amp;nbsp; :0x000000BA &lt;/P&gt;&lt;P&gt;Flash Device ID (byte2)&amp;nbsp;&amp;nbsp; :0x00000018 &lt;/P&gt;&lt;P&gt;Flash Device ID (byte3)&amp;nbsp;&amp;nbsp; :0x00004323 &lt;/P&gt;&lt;P&gt;Secure Device Verification:0x00000000 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Diagnose Succeeded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 07:30:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468361#M657</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-03-15T07:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468362#M658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do I need to power-up in SD Boot mode in order to access QSPI with CodeWarrior and TAP?&amp;nbsp; I'll give it a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 16:45:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468362#M658</guid>
      <dc:creator>jasonhendrix</dc:creator>
      <dc:date>2016-03-15T16:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468363#M659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still no luck when booting from the SD card.&amp;nbsp; I tried to use the SDCard that came with the dev board.&amp;nbsp; I don't know think this was the proper image because, even though it booted to U-Boot, there was no sf command in U-boot, just nor flash commandss.&amp;nbsp; Unless you have more suggestions, I'll delay debugging this issue until the custom HW arrives.&amp;nbsp; Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 22:12:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468363#M659</guid>
      <dc:creator>jasonhendrix</dc:creator>
      <dc:date>2016-03-15T22:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468364#M660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use attached uboot for sd-card, which enable qspi (this is also available in SDK 1.9). To program this uboot into the sd card you can use CW, import LS102xATWR_SD_FLASH Target Tasks, and set the offset address to 0x1000. Or you can mount your sd card into a host linux and use the command:&lt;/P&gt;&lt;P&gt;sudo dd if=u-boot-sdcard-qspi.bin of=/dev/&amp;lt;sd card mount&amp;gt; seek=8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 08:20:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468364#M660</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-03-16T08:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468365#M661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interaction with flash via CW and TAP is still the same.&amp;nbsp; "Operation unsupported".&amp;nbsp; There is some good news - booting from the SDCard with the image you attached to your last post worked.&amp;nbsp; I was able to sf probe, then read flash.&amp;nbsp; And, the data I read from U-boot is the same as the data I read from CW at addr 0x40000000.&amp;nbsp; So some parts of it are working.&amp;nbsp; I'm just not able to program flash with CW and TAP.&amp;nbsp; Attached is a screenshot immediately after attempting a flash programming task:&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/23266i92E62AF046655DD0/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;The diagnose operation and my application still read all 0xFF as well.&lt;/P&gt;&lt;P&gt;I will attempt a program and erase from u-boot just to verify that works.&lt;/P&gt;&lt;P&gt;I suspect there's something wrong with my debug configuration.&amp;nbsp; Is it possible that there's a step-by-step procedure documented for programming QSPI flash?&amp;nbsp; Maybe I can take my projects and debug configurations out of the equation...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 22:13:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468365#M661</guid>
      <dc:creator>jasonhendrix</dc:creator>
      <dc:date>2016-03-16T22:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468366#M662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sf erase, read, and write work in u-boot.&amp;nbsp; I'm further convinced that the issue is in my CW configuration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 22:20:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468366#M662</guid>
      <dc:creator>jasonhendrix</dc:creator>
      <dc:date>2016-03-16T22:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468367#M663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you use the correct setting for Target RAM:&lt;/P&gt;&lt;P&gt;&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/23372i87E3460FA8DD87BD/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;&lt;/P&gt;&lt;P&gt;And also correct Address Offset when programming into qspi:&lt;/P&gt;&lt;P&gt;&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/23412i16B016A66A88B86A/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;&lt;/P&gt;&lt;P&gt;fl::target -lc "ls1021atwr-core0_RAM_LS1021ATWR_Download"&lt;/P&gt;&lt;P&gt;fl::target -b 0x10000000 0x20000&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "N25Q128A" -o "16Mx8x1" -a 0x40000000 0x40ffffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::image -f "X:\\QorIQ-SDK-V1.9-20151210-yocto\\build_ls1021atwr\\tmp\\deploy\\images\\ls1021atwr\\u-boot-qspi.bin" -t "Auto Detect" -re off -oe on -o 0x40000000&lt;/P&gt;&lt;P&gt;cmdwin::fl::write&lt;/P&gt;&lt;P&gt; Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;------------------------- &lt;/P&gt;&lt;P&gt;Programming file X:\QorIQ-SDK-V1.9-20151210-yocto\build_ls1021atwr\tmp\deploy\images\ls1021atwr\u-boot-qspi.bin&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Binary/Raw Format.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Downloading Flash Device Driver ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Reading flash ID ...&lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Binary/Raw Format.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Downloading 0x00010000 bytes to be programmed at 0x40000000&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Executing program ....&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Program Command Succeeded&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Downloading 0x00010000 bytes to be programmed at 0x40010000&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Executing program ....&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Program Command Succeeded&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Downloading 0x00010000 bytes to be programmed at 0x40020000&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Executing program ....&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Program Command Succeeded&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Downloading 0x00010000 bytes to be programmed at 0x40030000&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Executing program ....&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Program Command Succeeded&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Downloading 0x00010000 bytes to be programmed at 0x40040000&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Executing program ....&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Program Command Succeeded&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Downloading 0x00010000 bytes to be programmed at 0x40050000&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Downloading 0x0000AA60 bytes to be programmed at 0x40060000&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Executing program ....&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Program Command Succeeded&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;cmdwin::fl::dump -range 0x40000000 0x40080000 -t "Binary/Raw Format" -o "C:\\Users\\b11883\\Desktop\\qspi_dump.bin" &lt;/P&gt;&lt;P&gt;------------------------- &lt;/P&gt;&lt;P&gt; Downloading Flash Diagnostics Driver ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Reading flash ID ...&lt;/P&gt;&lt;P&gt;Dumping flash region: 0x40000000 - 0x40080000 to C:\Users\b11883\Desktop\qspi_dump.bin&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Running Dump Flash ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Running Dump Flash ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Running Dump Flash ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Running Dump Flash ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Running Dump Flash ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Dump Flash Succeeded&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 12:31:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468367#M663</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-03-17T12:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468368#M664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Adrian.&amp;nbsp; That's what was missing. Both the flash programmer and my test app are working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 02:42:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468368#M664</guid>
      <dc:creator>jasonhendrix</dc:creator>
      <dc:date>2016-03-18T02:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468369#M665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To summarize&amp;nbsp; - the things that helped me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Configure the run configuration with the QSPI cfg file.&amp;nbsp; For me, this was at: &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;C:\Freescale\CW4NET_v2016.01\CW_ARMv7\ARMv7\ARM_Support\Configuration_Files\jtag_chains\LS102xATWR_RCW_1000-300-1600_QSPI.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;*&amp;nbsp; I changed a value in that file as described in this thread (search for "4108").&amp;nbsp; I haven't checked to see if it works without that change.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;* &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;SW2: 0010_0111&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;* Setting the proper offsets in the flash programmer task&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp; * 0x10000000 for the Target RAM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp; * 0x40000000 for the "Apply Address Offset" option&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp; * 0x40000000 for the Flash Device Base Address (column in table in "Add Program/Verify Action" dialog)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;* booting from SDCard with the .bin attached in this thread&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 02:51:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468369#M665</guid>
      <dc:creator>jasonhendrix</dc:creator>
      <dc:date>2016-03-18T02:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing LS1021A-TWR QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468370#M666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the CW approach to successfully add the .bin to the SDCard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 02:56:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Accessing-LS1021A-TWR-QSPI/m-p/468370#M666</guid>
      <dc:creator>jasonhendrix</dc:creator>
      <dc:date>2016-03-18T02:56:36Z</dc:date>
    </item>
  </channel>
</rss>

