When I compiled a program written by myself with no error or warning and run it on my TMX320C6678L board, I found the following error:
"C66xx_0: Power Failure on Target CPU C66xx_0: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging"
The error happened at the point executing fp = fopen("C:/Users/zhengzho/workspace/MIMO_detector_SP/szf.txt", "r");
BTW. I am using CCSV5.2 and the configuration:
var System = xdc.useModule('xdc.runtime.System');var SysStd = xdc.useModule('xdc.runtime.SysStd');System.SupportProxy = SysStd;
/* BIOS/XDC modules */
var BIOS = xdc.useModule('ti.sysbios.BIOS');BIOS.heapSize = 0x800000;BIOS.heapSection = "systemHeap";Program.sectMap["systemHeap"] = "DDR3";
Would you please tell me how to fix problem? Thank you very much.
Are you able to run other programs from the MCSDK without error?
After you installed CCS5.2, did you install the last Keystone EMUpack here: http://software-dl.ti.com/sdoemb/sdoemb_public_sw/bios_mcsdk/latest/index_FDS.html
If not, install that and create a new target configuration file.
If you need more help, please reply back. If this answers the question,
please click Verify Answer , below.
I can execute other program from the MCSDK without error.
I installed the MCSDK 2.1.02 and 2..0.9.21 and ti_emupack_keystone1_setup_18.104.22.168.exe and created a new target configuration file but the power failure problem is still existing.
Would you want me to send you the code?
I'll give it a try if you post it.
I attached my code in the message. Please test it and let me know what you got. Thank you very much
Could someone take a look at my question? I have been waiting for the reply for one week. Thank you very much.
Can you attach your .out file, or your ccs project, or the makefile that accompanies this project? The only thing that I see attached is your .c file and three .txt files. I cannot attempt to replicate your error unless I have your .out file or someway to create the .out file.
Thank you for the reply. I attached all project files. Please let me know what you got. Thank you very much.
I loaded the out file you gave me, it keeps running even before i start to run. Also When I tried to open the project, it threw an error saying that the project does not have a compiler tools associated with it. Which EVM version are you using?
Do you mean the board version? It is TMX320C6678L. The version of compiler I used is v7.2.4. Please let me know if you need more information from me. Thank you.
I actually want to know the EVM revision number in the board. Also 7.2.4 is really old. Can you upgrade the CGTools and try again.
The Rev is 1.0. I tried CGtools 7.40B2 but the power failure still exists. Thank you.
I tried your project and I cannot reproduce your issue. i just got unable to halt error.
C66xx_0: Trouble Halting Target CPU: (Error -1202 @ 0x0) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.0.747.0)
Would you please let me know the version CGTools you used to compile the project and how to solve the hung problem? Thank you.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.