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.

RTOS/TMS320C6742: How to load a c6742 platform in a tcf file

Part Number: TMS320C6742

Tool/software: TI-RTOS

I am developing a standalone C6742 application in a custom board. I am using CCV5 and DSP BIOS for code efficiency.

The tcf file I have generated starts with this: utils.loadPlatform("ti.platforms.evm6748");

Some questions.

1) Is there a utils.loadPlatform("ti.platforms.c6742"); command or something like it.

2) Where might a find a list of ti.platforms. members.

3) Where is the script or program for this tool so I can generate my own utils.loadPlatform?

3) If this is the best I can do for the c6742? What differences should I be looking out for so I don't generate illegal code.

4) Is there some BIOS code generation documentation where this problem is discussed?

  • Hi,

    I've notified the RTOS team. They will post their feedback directly here.

    Best Regards,
    Yordan
  • Hello Richard,

    Please note TI considers DSP BIOS to be legacy software and is therefore no longer actively maintaining it or supporting it on the forums. For new development, we strongly recommend upgrading to Processor SDK:

    If this is an option for you, the app note below explains how to port from DSP BIOS to SYS/BIOS, if needed.

    Migrating a DSP/BIOS 5 Application to SYS/BIOS 6

    The list of available platforms can be found in the bios folder under packages/ti/platforms. There isn't a pre-defined platform for c6742, but you can create a new one using the New Platform Wizard in CCS by going to Project -> RTSC Tools -> Platform -> New. 

    The C6742 is a reduced version of the C6748 so you can import the C6748 platform file as reference. You will need to lower the clock rate to 200 MHz and I would also double check that the memory configuration matches with the datasheet. 

    As for generating the .tcf file, I'm not familiar with that as SYS/BIOS has switched to using the RTSC .cfg file format, but hopefully the following documents will point you in the right direction.

    DSP/BIOS 5.40 Textual Configuration (Tconf) User’s Guide

    TMS320 DSP/BIOS v5.42 User’s Guide

    Installation and Setup for DSP/BIOS 5.41

    I hope this helps. 

  • Not quite there. Followed your excellent advice.

    "The list of available platforms can be found in the bios folder under packages/ti/platforms. There isn't a pre-defined platform for c6742, but you can create a new one using the New Platform Wizard in CCS by going to Project -> RTSC Tools -> Platform -> New. 

    The C6742 is a reduced version of the C6748 so you can import the C6748 platform file as reference. You will need to lower the clock rate to 200 MHz and I would also double check that the memory configuration matches with the datasheet. "

    The platform wizard created a new c6742 platform folder with files identically named to all the other folder contents found in C:\ti8\xdctools_3_23_00_32\packages\ti\platforms. Unfortunately, I get this:

    "TI platforms are no longer shipped as part of XDCtools (C:\ti8\xdctools_3_50_05_12_core).  Please ensure you are either using a pre-3.30 version of XDCtools or you have added a product that includes your platform support along the path. 'C:/ti8/bios_6_70_01_03/packages;C:/ti8/xdctools_3_23_00_32/packages/ti/platforms;C:\ti8\xdctools_3_50_05_12_core/packages'.  Check that this path names a directory containing the necessary platform support and that the platform name is properly spelled."

    at code generation time

    I dir everything as instructed so I am at a bottleneck and need a way forward,.

    I have bios 6_33_01_25 and 6_70_01_03 available and am using 70. I have xdc 3_23_00_32  3_32_02_25_core and 3_50_05_12_core. This is in ccsv8.

    I ticked the add to path box in the wizard. 

    As it happens the only difference I could fine between the 6748evm and the 6742 was the clock. Is there a workaround? I do worry that there will be other problems when I use some of the other modules, and I would like to solve this problem directly but for the time being if I could just adjust the clock that might do it.

  • We should be able to create the platform manually then. It should just be as straightforward as creating another platform in the ti/platforms/ directory.

    For example, take this Platform.tci for c6742 that I created from c6748 (just changed the clock rate) and place it in packages/ti/platforms/c6742 and change your tcf file to include "utils.loadPlatform("ti.platforms.c6742")."

    By the way, using the "Compare" button on TI.com, we can see a side-by-side comparison of the C6748 and C6742. 

    So it looks like the difference is that the C6742 has a slower clock rate, less memory, and fewer peripherals. Other than that they are essentially the same device. Just an FYI.