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.

crating custom platform for tms320c6678 in xdc

Other Parts Discussed in Thread: TMS320C6678, SYSBIOS

Hi,

We are using tms320c6678 processor and 1GB DDR3 memory in our board. Whereas evm6678 is having 512MB DDR3 memory. So we would like to create custom platform for our board. How to create it in XDC?

I tried as per one of the post e2e.ti.com/.../994548
(Creating a custom platform without the Wizard)


I copied evm6678 folder in packages folder and renamed as tisbc6678. then edited package.xdc,platform.xdc(ram size increased to 1GB).

Then as per the post i did xdc clean in command prompt.I got the message as per attachment .
please help on this.


Regards,

S.Sivanantham

  • Monday's a holiday in US. We'll get to your thread on Tues.

    Todd
  • Hi S.Sivanantham,

    Are you using the wizard to generate your platform package? The thread you are pointing to says the OP ended up using the wizard, despite the title.

    The 'xdc clean' command needs to be called from the directory containing your custom platform package - ie. the directory with the package.bld file the utility is looking for.

    Best regards,
    Vincent
  • Hi,

    Thanks for the reply. Now i am able to build xdc component. After doing xdc release i got ti_platform_tisbc6678l archive file. But the platform is not present in project propeties -> CCS General RTSC tab  drop down box (where we used to select target,platform,Build profile and other package selection such as bios,EDMA3 drivers). Screen shot is attached below.

  • Hi S.Sivanantham,

    Could you try to hit the 'Add...' button and add the repository directory that contains your platform package? You can use the radio button for "Select repository from file-system". The directory would be the base directory that contains the full package path. For instance, if you have the package named as "mycompany.platforms.evm6678", then the repository directory would be the one that contains the 'mycompany' sub-directory.

    Doing this should add the repository directory as another checkbox in "Products and Repositories". Enable the checkbox, and see if this allows your new platform package to be shown in the drop-down box.

    Best regards,
    Vincent
  • Hi vincent,

            Thanks for your reply.I followed as per your instructions. I created new platform (myBoard)  thro RTSC wizard in packages/bel .

    Then i added the respective directory in the RTSC (in project property-> CCS General). But I could not find myBoard platform in the drop-down list. Do i need to add the platform in xdctools_3_24_3_60 folder (C:/ti/)?

    Kindly help on this.

    Regards,

    S.Sivanantham

  • Hi S.Sivanantham,

    What is your custom platform package name? If it is something like 'bel' or 'bel.myevm6678', you need to add C:\ti\pdk_C6678_1_1_2_6\packages as "Other Repositories", not C:\ti\pdk_C6678_1_1_2_6\packages\bel as shown on your screenshot.

    Best regards,
    Vincent
  • Hi Vincent,

    Custom package name: myBoard

    Platform package repository: C:\ti\pdk_C6678_1_1_2_6\packages\bel

    I am able to find other repository in project properties -> CCS general ->RTSC tab (as it is shown in the previous mail screenshot).

    If possible can you please send the screen shot of the same?


    Regards,

    Sivanantham

  • Hi Sivanantham,

    Here is my screenshot for a new project I created that uses a custom platform:

    I see I am using a newer version of XDCtools than you are. You might want to verify if using the latest version helps: 

    Also, which version of CCS are you using? I am using 6.1.2. I'd recommend updating if you are using anything older.

    For your reference, here is my directory structure in folder C:\support\2016_07

    Best regards,

    Vincent

  • Hi Vincent,

    Thanks for the reply.

    We are having XDC 3.30 also.I will try in that.

    Our CCS version is 6.0 (I will upgrade to 6.1.2 and check)

    Regards,

    Sivanantham

  • Hi vincent,

    I have tried in XDC 3.30 in CCS 6.0. I was able to create the new platform.

    I tried to test new platform in the ndk example (client project) of mcsdk 2.1.2.6 which actually refered XDC 3.23.4.

    I changed XDC 3.23.4 to XDC 3.30 then i got the following dependency error during linking.

    Kindly help on this.

  • Hi Sivanantham S,

    Good job on creating the platform!

    The error looks like the example build is not finding some symbols from SYSBIOS (I can't see the full error messages on your screenshot btw). It may be best if you update your MCSDK as a whole, so that the various versions of the software components and examples match up. It looks like there is a newer version online now:

    If after the update, you are able to build using the original 6678 evm platform using the new SDK, but still encounter issues when building with your new custom platform, let us know and we will look further into your issue. Is this the first example you are trying to rebuild using your new platform?


    Best regards,

    Vincent

  • There was a suggested answer and since there has been no active on this thread for more than a week, the suggested answer was marked as verify. Please feel free to select the "Reject Answer" button and reply with more details.