This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi folks,
I am new here, please excuse me for an eventual double-post.
Our research group works on compiler algorithms for the tms320c64x+ target, using (mainly) software
simulation for evaluation (as provided by CCSv5). Since performance evaluation also includes i-cache
analysis, the c64x+ mega module simulator seems to be the only serious option for us (now).
However, i am having troubles to get the chain working. When trying to debug a simple (hello world)
program using a created target configuration (c64x+, megamodule, enabled cache simulation), i get the
error "Can't Initialize Target CPU: Error in getting configfile from driver config database.". I noticed there
is an option provided for specifying a .js init-script (Debug configurations). Are there any "default" scripts
i can use or any docs available concerning this ?
Swithing to an alternative configuration (c64x+ cycle accurate simulator) works fine, however it does not
feature a cache simulation/analysis and is therefore more or less meaningless to us.
Thanks in advance !
regards Nick
Hi Nick,
The default settings for the c64x+ megamodule simulator should work fine. The error indicates CCS is having problems reading the simulator config file, which could indicate a bad install of some sort.
What is the full version number of your CCSv5 installation? I tried this simulator with my 5.2.0.00069 installation and had no problems. Also what is the host OS? (ex. windows 7-64 bit)
Thanks\
ki
Hi KI,
Thank you for your reply. I've suspected something fishy about my installation, i will re-check this. Currently i am using CCS5.1.0.08012 on x86 (64 hosting
debug, various 32 hosting ubuntu) machines. One strange note to add, when the CCS is started first time, there is no error and debugging seems to be fine.
However, following debugging attempts fail with the message shown above, and when i choose "Retry" on the error-message dialog, the code composer
crashes.
I've read a couple of posts about this, and it seems i am not the only one who encountered this. Will have to investigate closer on this, any help is greatly
appreciated, many thanks in advance, regards Nick
Hi,
I've tried a clean re-install on my lab ubuntu machine and the general debugging seems to work fine now. However, i am not able to produce any cache stats.
Cache-view is present, with cache layers checked but no data is displayed. Again, i am new to CCS and thus seek for your assistance. Do i have to connect
a cache-stat generation with a special kind of profiling (which is strange to me), or do i have to configure the debugging process in some special way ?
Is there a howto available for that (i have only found some CCS3 + CacheTune docs which seem obsolete now) ?
Again, great thanks in advance, regards Nick
Ok, got it, found a nice howto on the wiki, will dig into it now.
Thanks guys, sorry for posting that much, pressure you know :-)