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.

Question about openMP demo image processing on a C6670 EVM

Expert 1985 points
Other Parts Discussed in Thread: SYSBIOS

Hi All,

I'm using the image processing program openMP  project will run on a c6670 EVM.
Demo program runs correctly. But when I build the project, i see an error:

ti.sdo.ipc.SharedRegion : Segment: 0xa0100000 overlaps with: SL2_RAM          .xdchelp            /image_processing_openmp_evmc6670l          line 367 C/C++ Problem



**** Build of configuration Debug for project image_processing_openmp_evmc6670l ****

 

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all

'Webpage Convert'

C:/ti/ccsv5/utils/gmake/gmake -C ../webpages/tool/php -j 4

process_begin: CreateProcess(NULL, C:/ti/ccsv5/utils/gmake/gmake -C ../webpages/tool/php -j 4, ...) failed.

make (e=2): The system cannot find the file specified.

 

gmake[1]: [pre-build] Error 2 (ignored)

' '

'Building file: ../image_processing_openmp_evmc6670l.cfg'

'Invoking: XDCtools'

"C:/Program Files/Texas Instruments/xdctools_3_23_04_60/xs" --xdcpath="C:/ti/bios_6_35_03_47/packages;C:/Program Files/Texas Instruments/imglib_c66x_3_1_1_0/packages;C:/Program Files/Texas Instruments/omp_1_02_00_05/packages;C:/Program Files/Texas Instruments/ipc_1_25_03_15/packages;C:/Program Files/Texas Instruments/pdk_C6670_1_1_2_6/packages;C:/Program Files/Texas Instruments/ndk_2_22_03_20/packages;C:/Program Files/Texas Instruments/mcsdk_2_01_02_06;C:/Program Files/Texas Instruments/mcsdk_2_01_02_06/demos;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p demos.image_processing.openmp.evmc6670l.platform -r debug -b "C:/Users/neon/workspace_v5_4 op/image_processing_openmp_evmc6670l/platform/config.bld" -c "C:/ti/ccsv5/tools/compiler/c6000_7.4.2" --compileOptions "--gcc" "../image_processing_openmp_evmc6670l.cfg"

making package.mak (because of package.bld) ...

generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

configuring image_processing_openmp_evmc6670l.xe66 from package/cfg/image_processing_openmp_evmc6670l_pe66.cfg ...

error: ti.sdo.ipc.SharedRegion: "C:/Program Files/Texas Instruments/ipc_1_25_03_15/packages/ti/sdo/ipc/SharedRegion.xs", line 367: ti.sdo.ipc.SharedRegion : Segment: 0xa0100000 overlaps with: SL2_RAM

js: "C:/Program Files/Texas Instruments/xdctools_3_23_04_60/packages/xdc/cfg/Main.xs", line 149: Error: Configuration failed!

gmake.exe: *** [package/cfg/image_processing_openmp_evmc6670l_pe66.xdl] Error 1

js: "C:/Program Files/Texas Instruments/xdctools_3_23_04_60/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

gmake[1]: *** [configPkg/compiler.opt] Error 1

gmake[1]: Target `main-build' not remade because of errors.

gmake: *** [all] Error 2

 

**** Build Finished ****

How do I edit this demo project and  I use this program?

Ccs v5.4:

Ipc 1.25.3.15

Mcsdk 1.1.2.6

Ndk 2.22.3.20

Sys/bios 6.35.3.47

Uia 1.3.1.08

Thank you for your reply


  • Hi Amin

    I just imported the project in my setup and was able to build successfully. The build log is below.

    Looks like a memory map conflict in your build. I notice that you are using newer versions of some tools than what was provided with MCSDK 2.1.2.6. This might be causing the memory conflict (I think IPC in particular). Please go to your project properties and under the RTSC tab select version numbers for IPC, BIOS, etc. based on what came with the MCSDK 2.1.2.6 installation. I have attached a snapshot of my folder structure so you can identify the version numbers that come with this release and select them in your project properties. Also please change your compiler version to 7.4.0 as per the MCSDK release notes.

    **** Build of configuration Debug for project image_processing_openmp_evmc6670l ****
    "C:\\ti\\ccs_v5_3_0\\ccsv5\\utils\\bin\\gmake" -k pre-build main-build 'Webpage Convert'C:/ti/ccs_v5_3_0/ccsv5/utils/gmake/gmake -C ../webpages/tool/php -j 4process_begin: CreateProcess(NULL, C:/ti/ccs_v5_3_0/ccsv5/utils/gmake/gmake -C ../webpages/tool/php -j 4, ...) failed.make (e=3): The system cannot find the path specified.
    gmake: [pre-build] Error 3 (ignored)' ''Building file: ../image_processing_openmp_evmc6670l.cfg''Invoking: XDCtools'"C:/ti/mcsdk_2_01_02_06/xdctools_3_23_04_60/xs" --xdcpath="C:/ti/mcsdk_2_01_02_06/bios_6_33_06_50/packages;C:/ti/mcsdk_2_01_02_06/imglib_c66x_3_1_1_0/packages;C:/ti/mcsdk_2_01_01_04_testarea/omp_1_01_02_06/packages;C:/ti/mcsdk_2_01_02_06/ipc_1_24_03_32/packages;C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages;C:/ti/mcsdk_2_01_02_06/ndk_2_21_01_38/packages;C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06;C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p demos.image_processing.openmp.evmc6670l.platform -r debug -b "C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/evmc6670l/platform/config.bld" -c "C:/ti/compilers/C6000 Code Generation Tools 7.4.0" --compileOptions "--gcc" "../image_processing_openmp_evmc6670l.cfg"making package.mak (because of package.bld) ...generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...configuring image_processing_openmp_evmc6670l.xe66 from package/cfg/image_processing_openmp_evmc6670l_pe66.cfg ...cle66 package/cfg/image_processing_openmp_evmc6670l_pe66.c ...'Finished building: ../image_processing_openmp_evmc6670l.cfg'' ''Building file: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/system/platform_osal.c''Invoking: C6000 Compiler'"C:/ti/compilers/C6000 Code Generation Tools 7.4.0/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/compilers/C6000 Code Generation Tools 7.4.0/include" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/qmss" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_06/imglib_c66x_3_1_1_0/inc" --gcc --display_error_number --diag_warning=225 --openmp --preproc_with_compile --preproc_dependency="src/system/platform_osal.pp" --obj_directory="src/system" --cmd_file="./configPkg/compiler.opt"  "C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/system/platform_osal.c"'Finished building: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/system/platform_osal.c'' ''Building file: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/system/resourcemgr.c''Invoking: C6000 Compiler'"C:/ti/compilers/C6000 Code Generation Tools 7.4.0/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/compilers/C6000 Code Generation Tools 7.4.0/include" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/qmss" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_06/imglib_c66x_3_1_1_0/inc" --gcc --display_error_number --diag_warning=225 --openmp --preproc_with_compile --preproc_dependency="src/system/resourcemgr.pp" --obj_directory="src/system" --cmd_file="./configPkg/compiler.opt"  "C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/system/resourcemgr.c"'Finished building: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/system/resourcemgr.c'' ''Building file: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_bmp_utils.c''Invoking: C6000 Compiler'"C:/ti/compilers/C6000 Code Generation Tools 7.4.0/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/compilers/C6000 Code Generation Tools 7.4.0/include" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/qmss" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_06/imglib_c66x_3_1_1_0/inc" --gcc --display_error_number --diag_warning=225 --openmp --preproc_with_compile --preproc_dependency="src/mcip_bmp_utils.pp" --obj_directory="src" --cmd_file="./configPkg/compiler.opt"  "C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_bmp_utils.c"'Finished building: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_bmp_utils.c'' ''Building file: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_core.c''Invoking: C6000 Compiler'"C:/ti/compilers/C6000 Code Generation Tools 7.4.0/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/compilers/C6000 Code Generation Tools 7.4.0/include" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/qmss" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_06/imglib_c66x_3_1_1_0/inc" --gcc --display_error_number --diag_warning=225 --openmp --preproc_with_compile --preproc_dependency="src/mcip_core.pp" --obj_directory="src" --cmd_file="./configPkg/compiler.opt"  "C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_core.c"'Finished building: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_core.c'' ''Building file: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_master_main.c''Invoking: C6000 Compiler'"C:/ti/compilers/C6000 Code Generation Tools 7.4.0/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/compilers/C6000 Code Generation Tools 7.4.0/include" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/qmss" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_06/imglib_c66x_3_1_1_0/inc" --gcc --display_error_number --diag_warning=225 --openmp --preproc_with_compile --preproc_dependency="src/mcip_master_main.pp" --obj_directory="src" --cmd_file="./configPkg/compiler.opt"  "C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_master_main.c"'Finished building: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_master_main.c'' ''Building file: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_process.c''Invoking: C6000 Compiler'"C:/ti/compilers/C6000 Code Generation Tools 7.4.0/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/compilers/C6000 Code Generation Tools 7.4.0/include" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/qmss" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_06/imglib_c66x_3_1_1_0/inc" --gcc --display_error_number --diag_warning=225 --openmp --preproc_with_compile --preproc_dependency="src/mcip_process.pp" --obj_directory="src" --cmd_file="./configPkg/compiler.opt"  "C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_process.c"'Finished building: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_process.c'' ''Building file: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_webpage.c''Invoking: C6000 Compiler'"C:/ti/compilers/C6000 Code Generation Tools 7.4.0/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/compilers/C6000 Code Generation Tools 7.4.0/include" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/qmss" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_06/imglib_c66x_3_1_1_0/inc" --gcc --display_error_number --diag_warning=225 --openmp --preproc_with_compile --preproc_dependency="src/mcip_webpage.pp" --obj_directory="src" --cmd_file="./configPkg/compiler.opt"  "C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_webpage.c"'Finished building: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_webpage.c'' ''Building file: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_webpage_utils.c''Invoking: C6000 Compiler'"C:/ti/compilers/C6000 Code Generation Tools 7.4.0/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/compilers/C6000 Code Generation Tools 7.4.0/include" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/qmss" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_06/imglib_c66x_3_1_1_0/inc" --gcc --display_error_number --diag_warning=225 --openmp --preproc_with_compile --preproc_dependency="src/mcip_webpage_utils.pp" --obj_directory="src" --cmd_file="./configPkg/compiler.opt"  "C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_webpage_utils.c"'Finished building: C:/ti/mcsdk_2_01_02_06/mcsdk_2_01_02_06/demos/image_processing/openmp/src/mcip_webpage_utils.c'' ''Building file: ../platform/package/package_demos.image_processing.openmp.evmc6670l.platform.c''Invoking: C6000 Compiler'"C:/ti/compilers/C6000 Code Generation Tools 7.4.0/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/compilers/C6000 Code Generation Tools 7.4.0/include" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/qmss" --include_path="C:/ti/mcsdk_2_01_02_06/pdk_C6670_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_06/imglib_c66x_3_1_1_0/inc" --gcc --display_error_number --diag_warning=225 --openmp --preproc_with_compile --preproc_dependency="platform/package/package_demos.image_processing.openmp.evmc6670l.platform.pp" --obj_directory="platform/package" --cmd_file="./configPkg/compiler.opt"  "../platform/package/package_demos.image_processing.openmp.evmc6670l.platform.c"'Finished building: ../platform/package/package_demos.image_processing.openmp.evmc6670l.platform.c'' ''Building target: image_processing_openmp_evmc6670l.out''Invoking: C6000 Linker'"C:/ti/compilers/C6000 Code Generation Tools 7.4.0/bin/cl6x" -mv6600 --abi=eabi -g --gcc --display_error_number --diag_warning=225 --openmp -z -m"image_processing_openmp_evmc6670l.map" -i"C:/ti/compilers/C6000 Code Generation Tools 7.4.0/lib" -i"C:/ti/compilers/C6000 Code Generation Tools 7.4.0/include" -i"C:/ti/mcsdk_2_01_02_06/imglib_c66x_3_1_1_0/lib" --reread_libs --warn_sections --rom_model -o "image_processing_openmp_evmc6670l.out" -l"./configPkg/linker.cmd"  "./platform/package/package_demos.image_processing.openmp.evmc6670l.platform.obj" "./src/mcip_webpage_utils.obj" "./src/mcip_webpage.obj" "./src/mcip_process.obj" "./src/mcip_master_main.obj" "./src/mcip_core.obj" "./src/mcip_bmp_utils.obj" "./src/system/resourcemgr.obj" "./src/system/platform_osal.obj" -limglib.ae66 -l"libc.a" <Linking>'Finished building target: image_processing_openmp_evmc6670l.out'' '
    **** Build Finished ****

  • Hi Uday

    Thank you for your Reply. I did a reset as you suggested. (RTSC change). But I see the same error again. I have attached the .map and .cfg files of this project.

    **** Build of configuration Debug for project image_processing_openmp_evmc6670l ****

     

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all

    'Webpage Convert'

    C:/ti/ccsv5/utils/gmake/gmake -C ../webpages/tool/php -j 4

    process_begin: CreateProcess(NULL, C:/ti/ccsv5/utils/gmake/gmake -C ../webpages/tool/php -j 4, ...) failed.

    make (e=2): The system cannot find the file specified.

     

    gmake[1]: [pre-build] Error 2 (ignored)

    ' '

    'Building file: ../image_processing_openmp_evmc6670l.cfg'

    'Invoking: XDCtools'

    "C:/Program Files/Texas Instruments/xdctools_3_23_04_60/xs" --xdcpath="C:/Program Files/Texas Instruments/bios_6_33_06_50/packages;C:/Program Files/Texas Instruments/imglib_c66x_3_1_1_0/packages;C:/Program Files/Texas Instruments/omp_1_02_00_05/packages;C:/Program Files/Texas Instruments/ipc_1_24_03_32/packages;C:/Program Files/Texas Instruments/pdk_C6670_1_1_2_6/packages;C:/Program Files/Texas Instruments/ndk_2_21_02_43/packages;C:/Program Files/Texas Instruments/mcsdk_2_01_02_06;C:/Program Files/Texas Instruments/mcsdk_2_01_02_06/demos;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p demos.image_processing.openmp.evmc6670l.platform -r debug -b "C:/Users/neon/workspace_v5_4 op/image_processing_openmp_evmc6670l/platform/config.bld" -c "C:/ti/ccsv5/tools/compiler/c6000_7.4.2" --compileOptions "--gcc" "../image_processing_openmp_evmc6670l.cfg"

    making package.mak (because of package.bld) ...

    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

    configuring image_processing_openmp_evmc6670l.xe66 from package/cfg/image_processing_openmp_evmc6670l_pe66.cfg ...

    error: ti.sdo.ipc.SharedRegion: "C:/Program Files/Texas Instruments/ipc_1_24_03_32/packages/ti/sdo/ipc/SharedRegion.xs", line 343: ti.sdo.ipc.SharedRegion : Segment: 0xa0100000 overlaps with: SL2_RAM

    js: "C:/Program Files/Texas Instruments/xdctools_3_23_04_60/packages/xdc/cfg/Main.xs", line 149: Error: Configuration failed!

    gmake.exe: *** [package/cfg/image_processing_openmp_evmc6670l_pe66.xdl] Error 1

    js: "C:/Program Files/Texas Instruments/xdctools_3_23_04_60/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

    gmake[1]: *** [configPkg/compiler.opt] Error 1

    gmake[1]: Target `main-build' not remade because of errors.

    gmake: *** [all] Error 2

    **** Build Finished ****

    1050.5870.rar

    Regards.

    Amin

  • Amin,

    From your snapshot I see that in your Project Explorer view, the folders 'src' and 'inc' have an exclamation mark on them, which means that it cannot find those folders. Could you please right click on the respective folders and in Properties modify the path so that it can resolve the required source and header files? Once you do that do 'clean project' and then 'build project' and report back with the console log that you see.

  • Uday,

    Thanks for your help. I was able to make the .out file. .out file of demo works correctly. But, .out file made ​​by me will not work correctly.

    A0=0x0 A1=0x900040b8
    A2=0x0 A3=0xa4
    A4=0x141856a5 A5=0x900040b8
    A6=0xd72986f8 A7=0x0
    A8=0x0 A9=0x4
    A10=0x2 A11=0xa0153364
    A12=0xb1555736 A13=0xc0e6dbc
    A14=0x900040b8 A15=0x0
    A16=0x105c8440 A17=0x0
    A18=0x90004078 A19=0x40
    A20=0x180 A21=0x4c
    A22=0x6f747efb A23=0x963f1fb7
    A24=0x70cb6bbc A25=0xdbb5ffea
    A26=0xc48e9fa1 A27=0x0
    A28=0x8 A29=0xb
    A30=0x2 A31=0xa014205c
    B0=0x1 B1=0x1
    B2=0x0 B3=0xc069a50
    B4=0x900040b8 B5=0xc0e6dbc
    B6=0x0 B7=0x1
    B8=0x0 B9=0x1
    B10=0x90000020 B11=0x0
    B12=0x1 B13=0xc06f624
    B14=0xa0152000 B15=0x831eb8
    B16=0x0 B17=0x832018
    B18=0xff B19=0x20
    B20=0x20 B21=0xff4faf54
    B22=0xce378a27 B23=0xbb1f57bd
    B24=0x90b2afbe B25=0x8f8fca20
    B26=0x7edcf74e B27=0x0
    B28=0x0 B29=0x1
    B30=0x21 B31=0x0
    NTSR=0x1000f
    ITSR=0x0
    IRP=0x0
    SSR=0x0
    AMR=0x0
    RILC=0x0
    ILC=0x0
    Exception at 0xd729874c
    EFR=0x2 NRP=0xd729874c
    Internal exception: IERR=0x8
    Opcode exception
    ti.sysbios.family.c64p.Exception: line 248: E_exceptionMin: pc = 0xd729874c, sp = 0x00831eb8.
    To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
    xdc.runtime.Error.raise: terminating execution

  • Amin,

    Could you please make sure you are doing the following before loading the .out file?

    1. Launch your target configuration for your 6678 EVM in CCS Debug perspective

    2. 'Connect Target'

    3. Now for each core, select the core, go to Tools--> Debugger Options --> Generic Debugger Options. This should bring up a window. Under 'Auto Run Options" uncheck the box that says, 'On a program load or restart.'

    4. After completing step 3 for all cores, click on 'Remember my settings'

    5. Now load your .out file on the cores. After loading is completed, cores should be in suspend mode, and at the symbol __c_int00().

    6. Now run thecores

    Please let us know if this resolves your issue 

  • Uday,

    I did all the steps but still the same error message there.

  • Uday,

    image of error message:

    Thanks.

  • Amin,

    What is OpenMP.numProcessors in your cfg file? Aren't you using more than one processor? In your snapshot you are connecting and loading on only one core. If OpenMP.numProcessors is greater than 1, then you should be connecting to at least the number of processors you plan to use and load the same .out file on all cores. Also make sure you do the procedure I mentioned in my last post, on all cores, before loading them. 

    Also is your EVM in no-boot mode? Please verify this at http://processors.wiki.ti.com/index.php/TMDXEVM6670L_EVM_Hardware_Setup#Boot_Mode_Dip_Switch_Settings

  • Uday,

    -          Your steps were done correctly.

    -          Boot Mode: No boot  &  static IP.

    -          It seems that a core must be loaded.

    -          I have a demo application on core 0 to run properly.( Managed to put the image in the browser to perform image processing apparatus.)

    -          Newly loaded and no errors. But it does not work when run.

    5554.image_processing_openmp_evmc6670l.cfg

  • Hi Amin

    From the cfg file you attached, OpenMP.numProcessors(4) indicates that you are going to use 4 cores to run the demo. In the CCS snapshot from your previous post you only connected to a single core. I assume you have done this part after my previous post since you mentioned that 'your steps were done correctly.'

    From your latest post you mentioned that the demo application is running properly on core 0 and that you managed to put the image in the browser, etc. So you were able to get the demo to run the http server and bring up the browser on your PC with the image processing interface? You then mentioned that 'newly loaded and no errors. But it does not work when run.' Could you please elaborate on what issue you are facing now?

  • Hi Uday,

    I suggest you to load on 4 cores .out file and when i run the group there is the following error:

    1781.1.tif

    A0=0x900040b8 A1=0x900040b8
    A2=0x0 A3=0xa4
    A4=0x149856a5 A5=0x900040b8
    A6=0xd72986f8 A7=0x0
    A8=0x0 A9=0x4
    A10=0x2 A11=0xa0153364
    A12=0xb1d55736 A13=0xc0e6dbc
    A14=0x900040b8 A15=0x0
    A16=0x900040b8 A17=0x0
    A18=0x90004078 A19=0x40
    A20=0x180 A21=0x4c
    A22=0x6f747efb A23=0x963f1fb7
    A24=0x70cb29bc A25=0xdab5ffea
    A26=0xc48e9f20 A27=0x0
    A28=0x8 A29=0xb
    A30=0x2 A31=0xa014205c
    B0=0x1 B1=0x1
    B2=0x0 B3=0xc069a50
    B4=0x900040b8 B5=0xc0e6dbc
    B6=0x0 B7=0x1
    B8=0x0 B9=0x1
    B10=0x90000020 B11=0x0
    B12=0x1 B13=0xc06f624
    B14=0xa0152000 B15=0x831eb8
    B16=0x0 B17=0x832018
    B18=0xff B19=0x20
    B20=0x20 B21=0xff4fef54
    B22=0xc3ce B23=0x1619
    B24=0x0 B25=0x0
    B26=0x7edcff4e B27=0x0
    B28=0x0 B29=0x1
    B30=0x21 B31=0x0
    NTSR=0x1000f
    ITSR=0xe
    IRP=0xc0e2800
    SSR=0x0
    AMR=0x0
    RILC=0x0
    ILC=0x0
    Exception at 0xd72986f8
    EFR=0x2 NRP=0xd72986f8
    Internal exception: IERR=0x12
    Fetch packet exception
    Resource conflict exception
    ti.sysbios.family.c64p.Exception: line 248: E_exceptionMin: pc = 0xd72986f8, sp = 0x00831eb8.
    To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
    xdc.runtime.Error.raise: terminating execution

    It should be noted that:
    demo file (image_processing_openmp_evmc6670l.out :  original)run on a single core(core #0) correctly.

    But I want the main project to re-build my demo and I tested the output file.We've made the output file, there is this problem.

    Two different modes of implementation file made ​​by myself:

    1050.123.pdf

    5466.67.tif

    Thanks

  • Are you using compiler version 7.4.0 or 7.4.2? 

  • compiler version 7.4.0

  • OK that's the right one. Could you please zip and attach your project here. I'd like to do a quick check on my setup here.

  • Uday,

    Thank you for your cooperation. I'm able to answer.  

    Network Added: If-1:192.168.2.100
    Service Status: HTTP     : Enabled  :          : 000

    SYS/BIOS************** 6.35.1.29*******************important****

    >"on a program load or restart" > Although changes have been saved, BUT Non-randomness is activated.*********important***

    Thanks

  • Amin, Uday,

    Were you able to solve this problem? I'm having the same issue you had in the beginning trying to build the project in Release mode. I checked and have all the correct versions of packages that Uday recommends.

    Ryan

  • Ryan,

    I have replied to your post RE: Error Building Image_processing_openmp_evmc6678l in Release from MCSDK v2.01.02.06

    Your release mode build, like Amin's build, uses compiler version 7.4.2 instead of 7.4.0. I would suggest you try with 7.4.0; keep us updated.