TI中文支持网
TI专业的中文技术问题搜集分享网站

使用EMULATOR的问题!

您好~使用6678EVM调一个程序,当把.out文件load进去后,会出现如图所示的错误!希望各位帮忙解决下!谢谢~~~(附件中包括错误提示和相应工程的MAP,CMD文件!)

Phyllis Xu:

你好!

建议你使用MCSDK中的一个小程序进行硬件仿真,从而可以确定是程序编写问题还是emulator的问题。

谢谢!

hobo Q:

回复 Phyllis Xu:

您好!

       我将工程生成的.out文件正常导入后,就开始出现上述的错误了!而且出现错误的这部分地址我在CMD文件中也没用到啊。这为什么??谢谢回答~

Wenzhong Liu:

回复 hobo Q:

First of all, the error message says that the DSP core (the core0) lost its functional clock. The .jpg file shows, the error occurs during running the GEL file (not loading the .out file).

So, can you provide the GEL file you are using, the .ccxml file for target configuration, as well as more details on what you were doing, such as:

1. Do you see this error for the first time run after a clean start (power cycle the board, start CCS, connect to target, …)?

2. If you see this error only in between a couple of times run your applications, the problem will be probably related to the application code.

Regards!

Wenzhong Liu

hobo Q:

回复 Wenzhong Liu:

你好 谢谢回答!我用中文你应该看得懂吧~gel文件我用的就是ccsv5\ccs_base\emulation\boards\evmc6678l里面的evmc6678l.gel,而且我在板子上跑别的程序时是不会出现这个错误的。板子加电,重启CCS后,load这个工程的out文件就会出现这个错误!.ccxml我用的是Texas Instruments XDS100V1 USB Emulator这个选项的!谢谢~

Bruce Chen1:

回复 hobo Q:

楼主 您好!

一般需要对PLL进行配置,从你的截图找不到;所以 感觉 是connect 的时候出的问题。

楼主不妨再试下,

请确认这是 connect 报的错还是load 的时候报的错。

Wenzhong Liu:

回复 hobo Q:

Hobo,

Can you share your .out file? It seems that this is caused by the .out file.

By the way, did you manually do the Debug->Restart after you load the .out file? Also, can you provide the information shown on the console window during loading the .out file?

My computer doesn't support typing Chinese, but it has no problem to display it. So, I don't mind your using chinese, and you should not mind my using english, deal? (I am joking).

Regards!

Wen

hobo Q:

回复 Wenzhong Liu:

嗯 英语我大概还是能看懂的 呵呵~谢谢啊!自己电脑上没有那些相应工程和.out文件,我会尽快上传的!第一次连板load out文件后就出现了上述错误,所以没有restart过。谢~

Wenzhong Liu:

回复 hobo Q:

Hobo,

 

I did some simple test on my own evm with my own .out file. Now, I guess, the problem that you have occurs during the go_main call. That is, after CCS loads the .out into memory, and it will issue an go-main() command automatically.

 

To verify this assumption, you should turn off the “auto run” feature in CCS. In this way, after CCS load a .out file into memory, CCS won’t run any part of the .out file, and for most applications, the PC will point to the entrance point of the code – “_c_int00”. Then, you can either issue:

 

1.       Manually do the go-main, by “Run -> go_main()”. Normally, the CCS will stop at the start point of your main() code. In your case, you should see the problem happens after you issue the go_main().

2.       If item1 is true, then, I guess the problem is with your PROJECT – you might use wrong DSP type, or link to wrong rtslib.

 

 

Here is the step to disable the go_main() function after load (see the attached jpg file):

 

1.       Similar as you manually load a GEL file. Click on the target (DSP).

2.       Tools->Debugger Options -> Generic Debugger Options.

3.       Click on the Generic Debugger Options, you should see all the options.

4.       Make sure this options is for 66XX DSP cores.

5.       In those options, find the Auto Run Options, and disable run to main, “On a program load or restart”

 

Regards!

Wen

hobo Q:

回复 Wenzhong Liu:

thank you ~~~我试试去!!

hobo Q:

回复 Wenzhong Liu:

Wen,

  您好!

        附件就是我那个工程的OUT文件和load时候的显示。谢谢你的回答~希望您能再帮忙看看。还有今天我特意再试了下,发现那个错误不是每次都出现,不稳定的样子。还有就是您所说的设置,在tools中并没有Debugger Options这选项啊!希望您可以再详细的说下!Thank you very much ~~!!

赞(0)
未经允许不得转载:TI中文支持网 » 使用EMULATOR的问题!
分享到: 更多 (0)