Tool/software: TI C/C++ Compiler
Hi Guys,
I am facing some linking issue, need your help for the same. my steps are below. using ccs 7,4 for compilation and using ccs5.4 for simulator (I believe CCS version is not a issue)
I am creating simple project for EVE, it compiles and runs well on simulator (i am playing with simulator not on actual hardware due to some reason).
now if i use malloc in the same project for image processing i get below warning (here good thing is it creates the .out file ) and when i run the program i see some warning and dont get the expected output.
I guess if compilation warning can me removed everything shall run fine but not able to luck how to get rid of that.
====================================================================================================================
compilation warning
'Building file: "../src_kernelC/vcop_array_add_uns_char.c"'
'Invoking: EVE Compiler'
"D:/TI-Automotive/for_CCS_7.3/ccs7.4/ccsv7/tools/compiler/arp32_1.0.9/bin/cl-arp32" -v210 -g --include_path="D:/TI-Automotive/for_CCS_7.3/ccs7.4/ccsv7/tools/compiler/arp32_1.0.9/include/vcop" --include_path="D:/TI-Automotive/for_CCS_7.3/workspace_eve/array_add_uns_char" --include_path="D:/TI-Automotive/for_CCS_7.3/ccs7.4/ccsv7/tools/compiler/arp32_1.0.9/include" --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="src_kernelC/vcop_array_add_uns_char.d_raw" --obj_directory="src_kernelC" "../src_kernelC/vcop_array_add_uns_char.c"
'Finished building: "../src_kernelC/vcop_array_add_uns_char.c"'
'Building target: "array_add_uns_char.out"'
'Invoking: EVE Linker'
"D:/TI-Automotive/for_CCS_7.3/ccs7.4/ccsv7/tools/compiler/arp32_1.0.9/bin/cl-arp32" -v210 -g --diag_warning=225 --display_error_number --diag_wrap=off -z -m"array_add_uns_char.map" -i"D:/TI-Automotive/for_CCS_7.3/ccs7.4/ccsv7/tools/compiler/arp32_1.0.9/lib" -i"D:/TI-Automotive/for_CCS_7.3/ccs7.4/ccsv7/tools/compiler/arp32_1.0.9/include" --reread_libs --warn_sections --xml_link_info="array_add_uns_char_linkInfo.xml" --rom_model -o "array_add_uns_char.out" "./src_kernelC/vcop_array_add_uns_char.obj" "./src_kernelC/vcop_array_add_uns_char_kernel.obj" "../src_kernelC/linker.cmd" -llibc.a
<Linking>
warning #10247-D: creating output section ".imemha" without a SECTIONS specification
warning #10247-D: creating output section ".imemhb" without a SECTIONS specification
warning #10247-D: creating output section ".imemla" without a SECTIONS specification
warning #10247-D: creating output section ".imemlb" without a SECTIONS specification
warning #10247-D: creating output section ".wmem" without a SECTIONS specification
'Finished building target: "array_add_uns_char.out"'
====================================================================================================================
warning while running the output on simulator
EVE_1: Warning: multi_eve_subsystem.EVE_0.MEM_SWITCH: Invalid access to reserved space multi_eve_subsystem.EVE_0.MEM_SWITCH: Invalid access to reserved space multi_eve_subsystem.EVE_0.MEM_SWITCH: Invalid access to reserved space multi_eve_subsystem.EVE_0.MEM_SWITCH: Invalid access to reserved space multi_eve_subsystem.EVE_0.MEM_SWITCH: Invalid access to reserved space multi_eve_subsystem.EVE_0.MEM_SWITCH: Invalid access to reserved space multi_eve_subsystem.EVE_0.MEM_SWITCH: Invalid access to reserved space multi_eve_subsystem.EVE_0.MEM_SWITCH: Invalid access to reserved space multi_eve_subsystem.EVE_0.MEM_SWITCH: Invalid access to reserved space multi_eve_subsystem.EVE_0.MEM_SWITCH: Invalid access to reserved space multi_eve_subsystem.EVE_0.MEM_SWITCH: Invalid access to reserved space multi_eve_subsystem.EVE_0.MEM_SWITCH: Invalid access to reserved space multi_eve_subsystem.EVE_0.MEM_SWITCH: Invalid access to reserved space multi_eve_subsystem.EVE_0.MEM_SWITCH: Invalid access to reserved space
====================================================================================================================
Thanks,
mohammed