<?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: ccs and LS1021a config commands in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510147#M1172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for all the support !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 May 2016 08:30:37 GMT</pubDate>
    <dc:creator>vsiles</dc:creator>
    <dc:date>2016-05-09T08:30:37Z</dc:date>
    <item>
      <title>ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510139#M1164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;I'm quite new to ccs and can't find much documentation about it. I'm trying to achieve secure boot on a LS1021ATWR boards, and as explained in &lt;A href="https://community.nxp.com/thread/391584" rel="nofollow noopener noreferrer" target="_blank"&gt;OTPMK and secure boot&lt;/A&gt; by Adrian, I'm trying to use ccs to try my configuration without burning the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;SRKH fuses. I'm trying to use the CMSISDAP interface.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My two main source of documentation are NXP SDK v1.9 and &lt;A href="https://community.nxp.com/thread/385733" rel="nofollow noopener noreferrer" target="_blank"&gt;SECURE BOOT LS1021A-IOT BOARD&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following the first one (U-boot -&amp;gt; Secure boot -&amp;gt; .. -&amp;gt; Useful U-boot and CCS commands) I get:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14627795451566226" data-renderedposition="238_50_798_384" jivemacro_uid="_14627795451566226" modifiedtitle="true"&gt;&lt;P&gt;% config cc cmsisdap&lt;/P&gt;&lt;P&gt;Identified CMSIS-DAP SERNUM: 20000203C5231E0638DFC1FE&lt;/P&gt;&lt;P&gt;Firmware version: 0203&lt;/P&gt;&lt;P&gt;0: CMSIS-DAP (cmsisdap) CC software ver. {0.3}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;% ccs::config_server 0 10000&lt;/P&gt;&lt;P&gt;% ccs::config_chain {ls1020a dap sap2}&lt;/P&gt;&lt;P&gt;% display ccs::get_config_chain&lt;/P&gt;&lt;P&gt;Chain Position 0: LS1020A&lt;/P&gt;&lt;P&gt;Chain Position 1: DAP&lt;/P&gt;&lt;P&gt;Chain Position 2: SAP2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Trying to dump RCWSR1&lt;/P&gt;&lt;P&gt;% ccs::display_mem 0 0x1ee0100 4 0 4&lt;/P&gt;&lt;P&gt;CC driver failure&lt;/P&gt;&lt;P&gt;Unimplemented&lt;/P&gt;&lt;P&gt;% ccs::display_mem 1 0x1ee0100 4 0 4&lt;/P&gt;&lt;P&gt;CC driver failure&lt;/P&gt;&lt;P&gt;% ccs::display_mem 2 0x1ee0100 4 0 4&lt;/P&gt;&lt;P&gt;CC driver failure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Trying to reset the board in debug mode&lt;/P&gt;&lt;P&gt;% ccs::reset_to_debug&lt;/P&gt;&lt;P&gt;LS1020A: Core not responding&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it is normal since I have a ls1021atwr board. If I try the commands from the secure boot on iot, I get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14627795337557560" data-renderedposition="700_50_798_32" jivemacro_uid="_14627795337557560" modifiedtitle="true"&gt;&lt;P&gt;% ::ccs::config_chain {ls1021a dap sap2}&lt;/P&gt;&lt;P&gt;can't read "::ccs::core(ls1021a)": no such element in array&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I pretty much don't know how to use ccs:&lt;/P&gt;&lt;P&gt;1) why is config_chain {ls1021a} not working ? &lt;/P&gt;&lt;P&gt;2) Is there a way to display the elements of ccs::core ?&lt;/P&gt;&lt;P&gt;3) Is there some documentation about ccs around ? I did not find any in the installer, nor on the website&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 07:42:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510139#M1164</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-09T07:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510140#M1165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When cmsisdap is using the chain must be configured using below ccs command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;config cc cmsisdap&lt;/P&gt;&lt;P&gt;ccs::config_chain {ls1020a cmsisdap}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, make sure SDA_SWD_EN Control switch is 0.&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, 09 May 2016 07:56:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510140#M1165</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-05-09T07:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510141#M1166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, commands for read/write memory using ccs::read_mem and ccs::write_mem. An example is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;display ccs::read_mem 9 0x1ee0100 4 1 4&lt;/P&gt;&lt;P&gt;ccs::write_mem 9 0x1ee0100 4 0 0x12345678&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, 09 May 2016 08:03:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510141#M1166</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-05-09T08:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510142#M1167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once again, thank you &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/addiyi"&gt;addiyi&lt;/A&gt;​ !&lt;/P&gt;&lt;P&gt;The switch was ok, and with your config_chain, I managed to reset_to_debug and read the memory !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to dump the values of registers ? I didn't find how.&lt;/P&gt;&lt;P&gt;Also, after the reset_to_debug command, the board reseted and the uart display stopped in the middle of u-boot SPL. Is there a way to set a breakpoint / resume execution, or at least know where it is stopped ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 08:04:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510142#M1167</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-09T08:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510143#M1168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I kind of prefer the display_mem version, which displays memory in hex format, but it is good to know !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 08:09:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510143#M1168</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-09T08:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510144#M1169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to read core registers you can use ccs::read_reg command. About the reset_to_debug command, this will pus the core in debug mode (you can check the cores state using ccs::all_run_mode) and it is normal that uboot execution to be stooped. If you want to resume, try with ccs::run_core &amp;lt;chain_possition&amp;gt;. To find the chain position use display ccs::get_config_chain.&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, 09 May 2016 08:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510144#M1169</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-05-09T08:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510145#M1170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for all this !&lt;/P&gt;&lt;P&gt;I still have problem with the read_reg command but the rest is really ok.&lt;/P&gt;&lt;P&gt;When performing ccs::display_reg 9 0 4 I get and Invalid parameter error. I think I don't get the correct reg_index, and maybe I should find this info in the coresight documentation or something ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 08:19:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510145#M1170</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-09T08:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510146#M1171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An example of displaying PC value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(bin) 71 % display ccs::read_reg 9 pc 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pc=0x534C4F4F &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For registers index you can take a look into ccs\bin and see tarm.tcl.&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, 09 May 2016 08:25:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510146#M1171</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-05-09T08:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510147#M1172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for all the support !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 08:30:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510147#M1172</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-09T08:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510148#M1173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/addiyi"&gt;addiyi&lt;/A&gt;​, could you explain me the "space" (1 in your read_mem example, 0 in your write_mem example) argument ? If I try to write to an address like 0x1ee0204 (DCFG_CCSR_SCRATCHRW2) with 0, I get a "Scan Timeout" error. If I try with 1, the write is correctly perform (at least read_mem displays the new value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Side question: however, if I try to write to 0x1ee00e4 (DCFG_CCSR_BRR) with 0, I also get the Scan Timeout error, but with 1, nothing is written (and so my core 0 remains in Reset mode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 09:05:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510148#M1173</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-09T09:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510149#M1174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, my bad, writing 0x01000000 doesn't work but writing&amp;nbsp; 0x01 did. I though I should write the 0x01000000 value because the register is big endian...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 09:07:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510149#M1174</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-09T09:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510150#M1175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/addiyi"&gt;addiyi&lt;/A&gt;&amp;nbsp;You never answered Vincent's question regarding "space" values, and I haven't seen any documentation on this. I'm sure the ccs tool is very powerful, but it would be much more useful to customers if they weren't forced to reverse engineer it...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 19:25:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510150#M1175</guid>
      <dc:creator>brett_p_stahlma</dc:creator>
      <dc:date>2018-03-23T19:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510151#M1176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vincent,&lt;/P&gt;&lt;P&gt;Did you ever get an explanation of the "space" parameter?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brett S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 19:35:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510151#M1176</guid>
      <dc:creator>brett_p_stahlma</dc:creator>
      <dc:date>2018-03-23T19:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510152#M1177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/brettstahlman"&gt;brettstahlman&lt;/A&gt;‌, I started another thread for the space parameter, since I didn't get an answer here :smileyhappy: Please check &lt;A href="https://community.nxp.com/thread/391726"&gt;https://community.nxp.com/thread/391726&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 07:12:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510152#M1177</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2018-03-26T07:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: ccs and LS1021a config commands</title>
      <link>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510153#M1178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent! Thanks Vincent.&lt;/P&gt;&lt;P&gt;Brett S.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Mon, Mar 26, 2018 at 2:13 AM, Vincent Siles &amp;lt;admin@community.nxp.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 12:44:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ccs-and-LS1021a-config-commands/m-p/510153#M1178</guid>
      <dc:creator>brettstahlman</dc:creator>
      <dc:date>2018-03-26T12:44:13Z</dc:date>
    </item>
  </channel>
</rss>

