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.

Porting C6678 to C6670, no longer make it to main()

I have a large codebase I have tested in c6678. I am trying to map a 2 core version that works on the c6678 to the c6670.  I made modifications to the Platform (size of L2 and MSMC), XDC cfg (minor changes similar to diff in image processing demo for 2 chips), and build settings (PDK path) to switch to c6670.

However, when I load my program, it hangs before getting to the main() routine on core 0.

Are there any coding issues in this port other than getting the right PDK path?

Are there any XDC cfg issues other than the same?

I've attached my CFG files and my Platform files, as well as the two executables I'm debugging ("exec-host.out" goes to 0, the other to 1).

2364.currentFiles.tar

7180.exec-host.out.gz

1565.exec-default.out.gz

Thanks

Jim

ETA version numbers

  • TMDXEVM6670LE EVM Rev 3.0
  • /opt/ti/ipc_1_24_03_32/packages
  • /opt/ti/ndk_2_21_01_38/packages
  • /opt/ti/bios_6_33_06_50/packages
  • /opt/ti/mcsdk_2_01_02_06
  • /opt/ti/imglib_c66x_3_1_1_0/packages
  • /opt/ti/pdk_C6670_1_1_2_6/packages
  • /opt/ti/uia_1_01_01_14/packages
  • I put a breakpoint in EVM_init and it fails doing platform_init()

    memset( (void *) &sFlags, 0, sizeof(platform_init_flags));
    memset( (void *) &sConfig, 0, sizeof(platform_init_config));

    sFlags.pll = 0; /* PLLs for clocking */
    sFlags.ddr = 0; /* External memory */
    sFlags.tcsl = 1; /* Time stamp counter */
    sFlags.phy = 1; /* Ethernet */
    sFlags.ecc = 0; /* Memory ECC */

    sConfig.pllm = 0; /* Use libraries default clock divisor */

    pform_status = platform_init(&sFlags, &sConfig);

    Don't know if that gives anything useful.

    I also tested binaries delivered with MCSDK and they loaded correctly, so it is not a HW or jumper issue, I think.

  • My problem, makefile was still bringing in 6678 pdk