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.

TMS320C6424 EVM attempts at TDM capturing using McBSP, EDMA3 and DDR2.

Other Parts Discussed in Thread: TMS320C6424

My team (DSP newbies) are trying to implement a project to capture 8 slots of a TDM stream using the McBSP, EDMA3 and DDR2 in a ping pong buffer fashion.  Unfortunately, with so many combinations of BIOS, PSPs, CSLs, BSLs, etc, we have been unable to get a single example project using any of the above modules to build correctly. My team seems to have tried every combination of CCS version, BIOS version and package versions.  At this point, I settle for starting from scratch and getting just a few segments building correctly.

So, my real question is:

If I was starting from scratch using an TMS320C6424 EVM from spectrum digital with the end goal of building/using example code for the McBSP, EDMA3, and DDR2; What CCS version should I install, and what supporting packages should I install after that, and then what example should I start with, and finally are there any configuring changes I need to make to have it all work.

BTW: This is being built/installed on a Windows 7 64bit machine if that makes any difference.

Thanks,

Lorin 

  • Lorin,

    I moved this thread from the BIOS forum to the C64x forum as I think you need guidance from the chip experts there on how to best put together your application.  However, you should be aware that CCS v5.1 has not been released and can be used as a starrting point for both your integrated development environment and for using SYS/BIOS.

    Dave

  • Dave,

    CCS v5.1 isn't released yet?  What should I use instead?

    I thought I was picking up the latest production release from:

    http://processors.wiki.ti.com/index.php/Download_CCS

    Latest production release is 5.1.0.09000

    CCSv5.1.x
    5.1.0 5.1.0.09000 November 3, 2011

    Thanks,

    Lorin

  • Sorry, I somehow inserted an extra "not" in the sentence.  I meant to say that CCS 5.1 *is* released.  You are correct that this is the latest release available.

  • I was under the impression (read somewhere on TI's site) that the PSP for v5 did not yet have support for the C6424 chipset. 

    Update: I have tried this on a virgin WIndowsXP machine as well.  I can build most of the newer examples but when try to switch from the example processor (C6418 or C6748) to the C6424, I get all sorts of build / link errors.

  • Hi Lorin,

    If we are starting from scratch, I'd absolutely reccomend starting with the C6424 BIOS DVSDK avaiable at this link (the general release for this EVM) :

    http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/dvsdk/bios_dvsdk/1_11_00_00/index_external.html

    This contains the BIOS and PSP versions that were directly tested on the C6424 EVM. This PSP contains the appropriate drivers that can be set for the C6424 (with chip define). It also has specific system examples for the C6424 that includes EDMA and DDR. You've said you've tried quite a variety of different BIOS/PSP combos. Was this one of the starting point you've been working with?  This is tested with CCS3.3, but we certainly should be able to use CCS5.  I'd reccomend CCS5, if you do get specifc build errors with the PSP package we can dig into the errors to see the root cause.

  • Michael,

    I tried installing the EVMC6424 package from the link you provided.  It installed okay (onto a machine that already had CCSv3,v4 & v5, as well as a bunch of other packages). I was able to import the legacy CCS3.3 sample from the PSPdrivers directory for C6424. 

    First test: load the pre-built .out image onto EVM with Blackhawk and run.  Check, audio input is captured, copied and output perfectly.

    Second test: clean image, rebuild from scratch, load .out image to EVM with Blackhawk and run.  Check, this also seems to work.

    Third test:  Modify top level audio C-file to force a simple change down the tree (changed xmt[i] = rcv[i] to xmt[i]=rcv[n-i] which should have just flipped the order of the audio data and outputted garbage audio). Build failed due to include files not found in search path. Hard fixed those (added to specific paths to include search). Similar error on libraries (similar fix).  Final result was that linker could not find _LOG_PRINTF and _trace symbols. 

    Suspected environment variable and defines were all messed up from the multiple versions of CCS and package installs.

    SO, wiped a machine clean (hard drive format), installed XP SP3 fresh.  Installed CCSv5.  Was planning to test BigTime project first, then install your DVSDK from the link and perform the above tests again.  However, CCSv5 is now giving me a license install error on the 90-day CCSv5 eval (ie. complaining it has already been installed elsewhere).  We have a 3.3Platinum license but I don't want to muddy the waters at this point. 

    Can you throw a suffering DSP guy a bone and help with the license so I can finish the tests.