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.

TMS320c6670l and ethernet stuff

Hello!

I have a problem with using example project "hua_evmc6670l" with project "platform_test_evmc6670l". I'm trying to launch this project, without using the .gel file, so i've imploded it with another one, which is peforming a platform initialization and memory test, but i can't compile it, because of many mistakes. Moreover, i can't find anything that would be similar to step-by-step initialization algorhitm. Could you please explain in general lines, which modules i have to connect and activate and how i can solve the problem.

With best wishes, Taras.

  • Hi,

    Have you successfully test the "platform_test_evmc6670l" example? If no, refer the following readme file to test the example.(C:\ti\pdk_C6670_1_1_2_6\packages\ti\platform\evmc6670l\platform_test\README.txt)

    Have you try to run the "hua_evmc6670l" example project with out .gel file? The GEL file initialize the PLL and DDR memory of the device, below code is enough for without gel file mode.

    /* Initialize main Platform lib */
    memset(&init_config, 0, sizeof(platform_init_config));
    memset(&init_flags, 0x01, sizeof(platform_init_flags));
    init_flags.pll = 1;
    init_flags.ddr = 1;
    init_flags.phy = 1;
    
    if (platform_init(&init_flags, &init_config) != Platform_EOK)
    {
    printf ("Platform init failed!\n");
    print_platform_errno();
    return;
    }

    Thanks,

  • Hi Taras,

    We would like you to recommend to use gel file before running any projects through CCS, gel file would initialize the DDR,PLL and especially all peripheral power modules (PA,UART,Hyperlink,PCIe etc.,) etc.,

    If you want to use without gel file then, you cam use Ganapathi's code and in addition to that, you have to add some PSC enable function for peripheral module clock.

    So, please use gel file for the core0 on C6670 board.

    C:\ti\mcsdk_2_01_02_06\tools\program_evm\gel\evmc6670l.gel

    C:\ti\mcsdk_2_01_02_06\demos\hua\evmc6670l

    Also, could you please elaborate a bit on your requirement on why you are trying to run without gel file, etc.,

    Able to build and run as separate "platform_test" project and C6670's HUA demo ?

    C:\ti\pdk_C6670_1_1_2_6\packages\ti\platform\evmc6670l\platform_test