ELF is not in expected HALT mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ELF is not in expected HALT mode

2,056 Views
威杨
Contributor III

Hi

    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  DDR related  in P1010RDB_init_core.tcl ,when i start download, codewarrior console message as follow:

fl::target -lc "uboot"
fl::target -b 0x2000 0x30000
fl::target -v off -l off
cmdwin::fl::device -d "S29GL256P" -o "32Mx8x1" -a 0xfe000000 0xffffffff
cmdwin::fl::protect all off
Beginning Operation ...
-------------------------
Performing target initialization ...
Error: ELF is not in expected HALT mode
Error: Couldn't stop the target. Can't stop the target.
Error: Couldn't stop the target.Can't stop the target.

could you tell me if modify DDR ,what files need to modify,or give me some help docs。

Thanks.

0 Kudos
3 Replies

1,199 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello wei yang,

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.

In addition, for flash programming you could create a project with SRAM lanch configuration enabled to avoid using DDR to run the flash algorithm.

If your problem remains, please capture the CCS log to me to do more investigation, please refer to the following procedure.

After create a bare board project, please enable CCS log from "Run->Debug Configurations-><project>-core00_RAM_<processor>_Download->Edit...->Advanced->Advance CCS setting->Enable logging", then click "Debug" to connect to the target, and send the CCS log in the console to me with attachment.

 

If the CCS log in the console is truncated, please enlarge the console buffer from Window->Preferences->Run/Debug->Console->Console buffer size.

Thanks,

Yiping

0 Kudos

1,199 Views
威杨
Contributor III

Hello YiPing

  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:

创建任务Flash Programmer for Power Architecture 。
执行任务uboot111错误。
Error: ELF is not in expected HALT mode<s>cmdwin::fl::protect all off</s>
log: Connected ...
log:
log: ======================================================================
log: === Execute: Unprotect
log: === Timestamp: Mon Sep 25 18:46:28 2017
log: === Flash Device: S29GL256P
log: === Flash Organization: 32Mx8x1
log: === Flash Mem Start Addr: 0xFE000000
log: === Flash Mem End Addr: 0xFFFFFFFF
log: ======================================================================
<s>thread exit: Running, 0x0, 0x0, cpuPowerPCBig, Connected (state, tid, pid, cpu, target)</s>

Error: Couldn't stop the target. Can't stop the target. log: Timestamp: Mon Sep 25 18:46:28 2017

Error: Couldn't stop the target.Can't stop the target.
执行任务uboot111错误。
Error: ELF is not in expected HALT mode<s>cmdwin::fl::protect all off</s>
log: Connected ...
log:
log: ======================================================================
log: === Execute: Unprotect
log: === Timestamp: Mon Sep 25 18:46:49 2017
log: === Flash Device: S29GL256P
log: === Flash Organization: 32Mx8x1
log: === Flash Mem Start Addr: 0xFE000000
log: === Flash Mem End Addr: 0xFFFFFFFF
log: ======================================================================
<s>thread exit: Running, 0x0, 0x0, cpuPowerPCBig, Connected (state, tid, pid, cpu, target)</s>

Error: Couldn't stop the target. Can't stop the target. log: Timestamp: Mon Sep 25 18:46:49 2017

Error: Couldn't stop the target.Can't stop the target.

please help me ,

Thanks.

0 Kudos

1,199 Views
威杨
Contributor III

Hello Yiping

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.

0 Kudos