• Resolved

CCS/TMS320C5535: Code samples from reference guide are not working

Part Number: TMS320C5535

Tool/software: Code Composer Studio

Hello everyone,

A couple of days ago I purchased the C5535 eZdsp USB Stick Development Kit to work with for a school project. This kit comes with CCS v4 which I installed on my computer to run the quick start up guide that comes along with the kit. I followed the instructions on the guide and the sample code worked just fine. Then, as I tried to follow this reference guide -> Speech Recognition Reference Design on the C5535 eZdsp™ (Rev. A) <- which I found on google, I downloaded CCS v6, as told by the guide, and that's where the problems started.

I downloaded every piece of software that the guide required me to download so the sample codes would work  correctly. As I tried to understand how this other software worked and how to set it up I was finally able to import the required files to the workspace and then make the pertinent configurations. But the code wasn't working.

I do not know whats the problem, I tried relocating a duplicating files into thefolder that was created when installing the CCS v4 because I thought maybe the software was trying to reach for files in THAT folder instead of the one it was supposed to. It didn't worked.

So now I'm asking for help. Has anyone encountered problems like this before? Do anyone has any advice on how to work this out? I'm going to add a screen capture of the CCS console and problems screen that appear when I try to build the code form the workspace. I hope this is clear enough, if not, I'll answer any questions you guys have.

  • Osmar,

    Are you using the CSL from here?

    http://software-dl.ti.com/dsps/dsps_public_sw/dsps_swops_houston/C55X/latest/index_FDS.html 

    It seems that you are having the same issue as described in the below thread pertaining to the csl_general.h macro definitions for the correct platform.

    https://e2e.ti.com/support/dsp/c5000/f/109/t/580141

    Please try to modify this file as described in the post.

    Lali

  • In reply to Lalindra Jayatilleke:

    Lalindra,

    Thank you so much for your reply, I am using CSL from that link and I read the other post and did as you suggested in them. I looked at the CSL instalation guide and changed a few things to a .h code by commenting some lines and it seems to have helped a little bit because there are now fewer errors. But I can't still run my code correctly. Now the errors presented are the ones I'm going to attach in an image.

    And also, whenever I stard CCS v6 an update window appears, and as I try to install them a problema window shows. I will attach it as a second image.

  • In reply to Osmar Resendiz:

    Osmar,

    Please remove cslVC5505 from your CCS workspace and replace it with C55XXCSL_LP from the latest CSL release

    http://software-dl.ti.com/dsps/dsps_public_sw/dsps_swops_houston/C55X/latest/index_FDS.html 

    The "too few arguments.." errors looks to be due to the incompatible CSL version being used.

    Regarding your other question, you can uncheck everything except 5_41_10_36 from the CCS start up message window and continue. This should register without issue.

    Lali

  • In reply to Lalindra Jayatilleke:

    Lali,

    I tried the suggested changes but the outcome is the same. I'm getting the same erros tan before. I deleted cslVC5505 from the .metadata folder in my workspace and installed inside that same folder the c55_lp folder, where the TIesr demos and everything else is.
    I noted that when I did those changes and opened CCS afterwards I no longer had the problems with updates. Only one update was showing and it installed it without a problem.

    I think it's also important to mention that I am "Reading" the files on my workspace directly from a copy I have of them in my C:, and not from the workspace folder I am using. The Reference Guide indicated me to do it that way. Should I change them to be read from the workspace?
  • In reply to Osmar Resendiz:

    Osmar,

    To clarify, are you trying to build the TI design software from here?

    http://www.ti.com/tool/tidep0066 

    Lali

  • In reply to Lalindra Jayatilleke:

    Yes, I am. Do you have any other suggestion you think might help?
  • In reply to Osmar Resendiz:

    Osmar,

    Let’s try another approach. We recently released an update to the C55x CSL 3.07 with the TIesr demo embedded. So, let see if we can build that instead.

    1) Download the CSL 3.07 from http://software-dl.ti.com/dsps/dsps_public_sw/dsps_swops_houston/C55X/latest/index_FDS.html

    2) Create a new CCS workspace and do 3-6 below (do not “copy” the project files)

    3) import C:\ti\c55_lp\c55_csl_3.07\ccs_v6.x_examples\C55XXCSL_LP

    4) import C:\ti\c55_lp\c55_csl_3.07\ccs_v6.x_examples\drv\atafs

    5) import C:\ti\c55_lp\c55_csl_3.07\demos\TIesr\c5535\TIesr_C55_demo\build\ccsv5

    6) import C:\ti\c55_lp\c55_csl_3.07\demos\TIesr\c5535\TIesr_C55_demo\TIesrEngineC55\ccsv5

    7) Ensure you have the correct macro for C5535 defined in csl_general.h

    8) Ensure you have the correct memory size attribute (HUGE)  set for 3 and 4. See readme at C:\ti\c55_lp\c55_csl_3.07\demos\TIesr\c5535

    9) Rebuild C55XXCSL_LP and atafs  after setting the HUGE memory model and then rebuild TIesr_C55_demo

    This will build successfully as I have tried it on my machine.

    Here is what my CCS workspace looks like after having all the projects imported.

    Lali

  • In reply to Lalindra Jayatilleke:

    Lalindra,

    I am sorry it took me this long to reply, I have been very busy. Anyway, I tried de approach you suggested and it worked perfectly. The code compiled with no errors and I think the .out file has been created. Now I am trying to set up the code in the DSP as the Reference Design Guide says.
    I am on the 5.2.3 Building and Running in CCS subparagraph section 14. Could you assist me since this point? I don't know if I'm doing the steps correctly. I believe I've done up to step 16 correctly but something seems off. I attach a capture of my screen. You will see that I have an error "connecting the target". I'll be waiting for your reply.

    Sincerely grateful, Osmar.

  • In reply to Lalindra Jayatilleke:

    Lalindra,

    This method have worked perfectly. I posted a reply before with a few inconveniences I thought I was having, but as it turns out they have nothing to do with the code or the DSP test I was trying to perform. After I did as you suggested I only had to build the project with the DSP conected and run it.

    Thank you very much for your help.

    Sincerely, Osmar.