<?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: ELF is not in expected HALT mode in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ELF-is-not-in-expected-HALT-mode/m-p/710331#M6310</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello YiPing&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for your help,i according to your advices, my board can attach the JTAG; i creat a project with SRAM lanch configuration,but still have error,error messages as follow：&lt;/P&gt;&lt;P&gt;创建任务Flash Programmer for Power Architecture 。&lt;BR /&gt;执行任务uboot111错误。&lt;BR /&gt;Error: ELF is not in expected HALT mode&amp;lt;s&amp;gt;cmdwin::fl::protect all off&amp;lt;/s&amp;gt; &lt;BR /&gt; log: Connected ... &lt;BR /&gt; log: &lt;BR /&gt; log: ====================================================================== &lt;BR /&gt; log: === Execute: Unprotect &lt;BR /&gt; log: === Timestamp: Mon Sep 25 18:46:28 2017 &lt;BR /&gt; log: === Flash Device: S29GL256P &lt;BR /&gt; log: === Flash Organization: 32Mx8x1 &lt;BR /&gt; log: === Flash Mem Start Addr: 0xFE000000 &lt;BR /&gt; log: === Flash Mem End Addr: 0xFFFFFFFF &lt;BR /&gt; log: ====================================================================== &lt;BR /&gt;&amp;lt;s&amp;gt;thread exit: Running, 0x0, 0x0, cpuPowerPCBig, Connected (state, tid, pid, cpu, target)&amp;lt;/s&amp;gt;&lt;/P&gt;&lt;P&gt;Error: Couldn't stop the target. Can't stop the target. log: Timestamp: Mon Sep 25 18:46:28 2017&lt;/P&gt;&lt;P&gt;Error: Couldn't stop the target.Can't stop the target.&lt;BR /&gt;执行任务uboot111错误。&lt;BR /&gt;Error: ELF is not in expected HALT mode&amp;lt;s&amp;gt;cmdwin::fl::protect all off&amp;lt;/s&amp;gt; &lt;BR /&gt; log: Connected ... &lt;BR /&gt; log: &lt;BR /&gt; log: ====================================================================== &lt;BR /&gt; log: === Execute: Unprotect &lt;BR /&gt; log: === Timestamp: Mon Sep 25 18:46:49 2017 &lt;BR /&gt; log: === Flash Device: S29GL256P &lt;BR /&gt; log: === Flash Organization: 32Mx8x1 &lt;BR /&gt; log: === Flash Mem Start Addr: 0xFE000000 &lt;BR /&gt; log: === Flash Mem End Addr: 0xFFFFFFFF &lt;BR /&gt; log: ====================================================================== &lt;BR /&gt;&amp;lt;s&amp;gt;thread exit: Running, 0x0, 0x0, cpuPowerPCBig, Connected (state, tid, pid, cpu, target)&amp;lt;/s&amp;gt;&lt;/P&gt;&lt;P&gt;Error: Couldn't stop the target. Can't stop the target. log: Timestamp: Mon Sep 25 18:46:49 2017&lt;/P&gt;&lt;P&gt;Error: Couldn't stop the target.Can't stop the target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Sep 2017 10:57:15 GMT</pubDate>
    <dc:creator>威杨</dc:creator>
    <dc:date>2017-09-25T10:57:15Z</dc:date>
    <item>
      <title>ELF is not in expected HALT mode</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ELF-is-not-in-expected-HALT-mode/m-p/710328#M6307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; i use codewarrior version is 10.04,my board is simlar to p1010rdb,only DDR not, at present i want to download uboot.bin to the board , i modify &amp;nbsp;DDR related &amp;nbsp;in&amp;nbsp;P1010RDB_init_core.tcl ,when i start download, codewarrior console message as follow:&lt;/P&gt;&lt;P&gt;fl::target -lc "uboot"&lt;BR /&gt;fl::target -b 0x2000 0x30000&lt;BR /&gt;fl::target -v off -l off&lt;BR /&gt;cmdwin::fl::device -d "S29GL256P" -o "32Mx8x1" -a 0xfe000000 0xffffffff&lt;BR /&gt;cmdwin::fl::protect all off&lt;BR /&gt; Beginning Operation ... &lt;BR /&gt;------------------------- &lt;BR /&gt;Performing target initialization ... &lt;BR /&gt;Error: ELF is not in expected HALT mode&lt;BR /&gt;Error: Couldn't stop the target. Can't stop the target.&lt;BR /&gt;Error: Couldn't stop the target.Can't stop the target.&lt;/P&gt;&lt;P&gt;could you tell me if modify DDR ,what files need to modify,or give me some help docs。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 06:25:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ELF-is-not-in-expected-HALT-mode/m-p/710328#M6307</guid>
      <dc:creator>威杨</dc:creator>
      <dc:date>2017-09-22T06:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: ELF is not in expected HALT mode</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ELF-is-not-in-expected-HALT-mode/m-p/710329#M6308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="237243" data-username="威杨" href="https://community.nxp.com/people/威杨"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;wei yang&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that there is problem with JTAG hardware design, please refer to page 6 in the attached ppt to check the JTAG hardware design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, for flash programming you could create a project with SRAM lanch configuration enabled to avoid using DDR to run the flash algorithm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your problem remains, please capture the CCS log to me to do more investigation, please refer to the following procedure.&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;After create a bare board project, please enable CCS log from "Run-&amp;gt;Debug Configurations-&amp;gt;&amp;lt;project&amp;gt;-core00_RAM_&amp;lt;processor&amp;gt;_Download-&amp;gt;Edit...-&amp;gt;Advanced-&amp;gt;Advance CCS setting-&amp;gt;Enable logging", then click "Debug" to connect to the target, and send the CCS log in the console to me with attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;If the CCS log in the console is truncated, please enlarge the console buffer from Window-&amp;gt;Preferences-&amp;gt;Run/Debug-&amp;gt;Console-&amp;gt;Console buffer size.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yiping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 08:36:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ELF-is-not-in-expected-HALT-mode/m-p/710329#M6308</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2017-09-25T08:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: ELF is not in expected HALT mode</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ELF-is-not-in-expected-HALT-mode/m-p/710330#M6309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yiping&lt;/P&gt;&lt;P&gt;    Thanks for your asking, i want to create a project with SRAM lanch configuration ,but i don't know how to do it ,could you tell me detailed or tell me some referenced doc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 08:54:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ELF-is-not-in-expected-HALT-mode/m-p/710330#M6309</guid>
      <dc:creator>威杨</dc:creator>
      <dc:date>2017-09-25T08:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: ELF is not in expected HALT mode</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ELF-is-not-in-expected-HALT-mode/m-p/710331#M6310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello YiPing&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for your help,i according to your advices, my board can attach the JTAG; i creat a project with SRAM lanch configuration,but still have error,error messages as follow：&lt;/P&gt;&lt;P&gt;创建任务Flash Programmer for Power Architecture 。&lt;BR /&gt;执行任务uboot111错误。&lt;BR /&gt;Error: ELF is not in expected HALT mode&amp;lt;s&amp;gt;cmdwin::fl::protect all off&amp;lt;/s&amp;gt; &lt;BR /&gt; log: Connected ... &lt;BR /&gt; log: &lt;BR /&gt; log: ====================================================================== &lt;BR /&gt; log: === Execute: Unprotect &lt;BR /&gt; log: === Timestamp: Mon Sep 25 18:46:28 2017 &lt;BR /&gt; log: === Flash Device: S29GL256P &lt;BR /&gt; log: === Flash Organization: 32Mx8x1 &lt;BR /&gt; log: === Flash Mem Start Addr: 0xFE000000 &lt;BR /&gt; log: === Flash Mem End Addr: 0xFFFFFFFF &lt;BR /&gt; log: ====================================================================== &lt;BR /&gt;&amp;lt;s&amp;gt;thread exit: Running, 0x0, 0x0, cpuPowerPCBig, Connected (state, tid, pid, cpu, target)&amp;lt;/s&amp;gt;&lt;/P&gt;&lt;P&gt;Error: Couldn't stop the target. Can't stop the target. log: Timestamp: Mon Sep 25 18:46:28 2017&lt;/P&gt;&lt;P&gt;Error: Couldn't stop the target.Can't stop the target.&lt;BR /&gt;执行任务uboot111错误。&lt;BR /&gt;Error: ELF is not in expected HALT mode&amp;lt;s&amp;gt;cmdwin::fl::protect all off&amp;lt;/s&amp;gt; &lt;BR /&gt; log: Connected ... &lt;BR /&gt; log: &lt;BR /&gt; log: ====================================================================== &lt;BR /&gt; log: === Execute: Unprotect &lt;BR /&gt; log: === Timestamp: Mon Sep 25 18:46:49 2017 &lt;BR /&gt; log: === Flash Device: S29GL256P &lt;BR /&gt; log: === Flash Organization: 32Mx8x1 &lt;BR /&gt; log: === Flash Mem Start Addr: 0xFE000000 &lt;BR /&gt; log: === Flash Mem End Addr: 0xFFFFFFFF &lt;BR /&gt; log: ====================================================================== &lt;BR /&gt;&amp;lt;s&amp;gt;thread exit: Running, 0x0, 0x0, cpuPowerPCBig, Connected (state, tid, pid, cpu, target)&amp;lt;/s&amp;gt;&lt;/P&gt;&lt;P&gt;Error: Couldn't stop the target. Can't stop the target. log: Timestamp: Mon Sep 25 18:46:49 2017&lt;/P&gt;&lt;P&gt;Error: Couldn't stop the target.Can't stop the target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 10:57:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ELF-is-not-in-expected-HALT-mode/m-p/710331#M6310</guid>
      <dc:creator>威杨</dc:creator>
      <dc:date>2017-09-25T10:57:15Z</dc:date>
    </item>
  </channel>
</rss>

