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.

Upload big file issue! - Image processing demo

Hi all,
In the Image Processing Demo provided with the MCSDK for EVMC6678, If I want to upload a big file (say 500 MB) what all modifications should I be making in the code and the memory configurations? 

  • Mohamed,

    It is not clear from where or to where you want to upload a big file.

    Through CCS, you can upload certain file types to the memory of the EVM, so is this a formatting question?

    Please explain more.

    Regards,
    RandyP

  • Randy,
    As I mentioned I'm trying the MCSDK Image Processing Demo.  In the webpage that loads when the IP address is given there is an option like upload a .bmp file. If I have to upload some file of size >500 MB :-

    • What changes should I be making in the code and also in the memory configurations?

     

     

     

    Regards,
    Sohal 

  • Sohal,

    It will depend on the amount of DDR available in your board. In this demo, heapMemParams in image_processing_master_evmc6678l_master.cfg specify the size of the default heap.

    Change to following line in the cfg file should give you a larger heap

    heapMemParams.size = 0x8000000;

    The above might be very specific to the demo. Please have a look at http://rtsc.eclipse.org/docs-tip/Using_xdc.runtime_Memory for more information on this topic.

    Regards

    Sajesh

  • Dear Sajesh,
    Thanks for the reply...
    When I changed the heapMemParams.size to 0x8000000 from  0xC000000(which was default) in the image_processing_master_evmc6678l_master.cfg I got the following error messages in the console:-

     

     

     

    **** Build of configuration Debug for project image_processing_evmc6678l_master ****

     

    C:\Program Files\Texas Instruments\ccsv5\utils\gmake\gmake -k all 

    'Building file: ../image_processing_evmc6678l_master.cfg'

    'Invoking: XDCtools'

    "C:/Program Files/Texas Instruments/xdctools_3_20_08_88/xs" --xdcpath="C:/Program Files/Texas Instruments/ipc_1_22_05_27/packages;E:\Projects\TI_Project\Task\again\mcsdk_2_00_00_beta2;C:/Program Files/Texas Instruments/ndk_2_20_03_24/packages;C:/Program Files/Texas Instruments/bios_6_31_04_27/packages;C:/Program Files/Texas Instruments/imglib_c66x_3_0_1_0/packages;C:/Program Files/Texas Instruments/pdk_C6678_1_0_0_9_beta2/packages;C:/Program Files/Texas Instruments/ccsv5/uia_1_00_01_09_eng/packages;C:/Program Files/Texas Instruments/dsplib_c66x_3_0_0_7/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p demos.image_processing.evmc6678l.platform -r debug -b "E:/Projects/TI_Project/Task/again/mcsdk_2_00_00_beta2/demos/image_processing/evmc6678l/master/.config/xconfig_image_processing_evmc6678l_master/config.bld" -c "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000" "../image_processing_evmc6678l_master.cfg"

    'Finished building: ../image_processing_evmc6678l_master.cfg'

    ' '

    gmake: *** No rule to make target `C:/Program', needed by `master/src/gen_twiddle_fft16x16.obj'.

    gmake: *** No rule to make target `Files/Texas', needed by `master/src/gen_twiddle_fft16x16.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/math.h', needed by `master/src/gen_twiddle_fft16x16.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/float.h', needed by `master/src/gen_twiddle_fft16x16.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/access.h', needed by `master/src/gen_twiddle_fft16x16.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/linkage.h', needed by `master/src/gen_twiddle_fft16x16.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/elfnames.h', needed by `master/src/gen_twiddle_fft16x16.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/mathf.h', needed by `master/src/gen_twiddle_fft16x16.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/unaccess.h', needed by `master/src/gen_twiddle_fft16x16.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/mathl.h', needed by `master/src/gen_twiddle_fft16x16.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/stdio.h', needed by `master/src/mcip_bmp_utils.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/stdarg.h', needed by `master/src/mcip_bmp_utils.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/stdlib.h', needed by `master/src/mcip_bmp_utils.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/string.h', needed by `master/src/mcip_bmp_utils.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/stdint.h', needed by `master/src/mcip_bmp_utils.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/c6x.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `C:\Program', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Files\Texas', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\ccsv5\tools\compiler\c6000\include\vect.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments/ccsv5/tools/compiler/c6000/include/stddef.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\std.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\xdc.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\Types.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\Types__prologue.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\package\package.defs.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\Types__epilogue.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\IGateProvider.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\IInstance.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\Error__prologue.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\Main.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\ISystemSupport.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\IModule.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\Assert.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\package\System_SupportProxy.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\package\System_Module_GateProxy.h', needed by `master/src/mcip_master_main.obj'.

    gmake: *** No rule to make target `Instruments\dsplib_c66x_3_0_0_7\inc\dsplib.h', needed by `master/src/mcip_process.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\Memory.h', needed by `master/src/mcip_process.obj'.

    gmake: *** No rule to make target `Instruments\xdctools_3_20_08_88\packages\xdc\runtime\knl\Cache.h', needed by `master/src/mcip_process.obj'.

    gmake: *** No rule to make target `Instruments/imglib_c66x_3_0_1_0/inc/imglib.h', needed by `common/src/image_processing.obj'.

    gmake: Target `all' not remade because of errors.

    Regards,
    Sohal 

  • It appears you have a path somewhere which requires quotation marks around it due to the space in "Program Files". This is probably the most recently added path.

    Regards,
    RandyP

  • Dear Randy,
    I have'nt added any path recently other than the change that I made as mentioned.

     

     

    Regards,
    Sohal 

  • The change should not cause this type of failure. If you revert back the change, were you able to build the project?

    I noticed you are using very old BIOS MCSDK. Will it be possible for you to update it to latest BIOS MCSDK version from http://software-dl.ti.com/sdoemb/sdoemb_public_sw/bios_mcsdk/latest/index_FDS.html?