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.

run hello world on tmdxice3359

Other Parts Discussed in Thread: SYSBIOS, AM3359

Hello,

for 3 days I try to compile my first program "hello world" but still not succeeded .
I installed CCS v5.5.0.0007 ( under Windows 7)
and the following tools:
am335x_sysbios_ind_sdk_1.1.0.3
am335x_sysbios_ind_sdk_prebuilt_01_01_00_03
bios_5_42_01_09
bios_6_35_04_50
ccsv5
grace_2_20_01_12
ndk_2_22_03_20
uia_1_03_01_08
xdais_7_21_01_07
xdctools_3_25_03_72
I get the following eurreurs :
**** Build of configuration Debug for project clock_AM3359_CortexM ****

"C: \ \ ti \ \ ccsv5 \ \ utils \ \ bin \ \ gmake " -k all
'Building file : .. / clock.cfg '
' Invoking : XDCtools '
"C :/ ti/xdctools_3_25_03_72/xs " - xdcpath = "C :/ ti/bios_6_35_04_50/packages ; C :/ ti/ccsv5/ccs_base ; " xdc.tools.configuro -o - t configPkg ti.targets.arm . elf.M3 xdc.platform.generic -p -r debug- c "C :/ ti/ccsv5/tools/compiler/arm_5.1.1 " - CompileOptions "-g - optimize_with_debug " "/ clock.cfg " . .
making package.mak (Because of package.bld ) ...
generating generation interfaces for package configPkg (Because package / package.xdc.inc is older than package.xdc ) ...
Configuring clock.xem3 from package/cfg/clock_pem3.cfg ...
error: xdc.platform.generic.Platform : "C :/ ti/xdctools_3_25_03_72/packages/xdc/platform/generic/Platform.xs " , line 112 : xdc.platform.generic.Platform.Instance # 0 : Parameter ' deviceName ' must be specified for ' xdc.platform.generic ' platform .
error: xdc.platform.generic.Platform : "C :/ ti/xdctools_3_25_03_72/packages/xdc/platform/generic/Platform.xs " , line 117 : xdc.platform.generic.Platform.Instance # 0 : Parameter ' catalogName ' must be specified for ' xdc.platform.generic ' platform .
js : "$ internal" , line 25: xdc.services.global.XDCException : xdc.PACKAGE_NOT_FOUND : can not locate the package ' undefined ' along the path : 'C :/ ti/bios_6_35_04_50/packages ; C :/ ti / ccsv5/ccs_base ; C :/ ti/xdctools_3_25_03_72/packages , .. , . Ensure That The package path is set Correctly .
    
" ./package/cfg/clock_pem3.cfg " , line 146
gmake.exe : *** [ package/cfg/clock_pem3.xdl ] Error 1
js : "C :/ ti/xdctools_3_25_03_72/packages/xdc/tools/Cmdr.xs " , line 51 : Error : xdc.tools.configuro : failed due to configuration errors Earlier ( status = 2); ' linker.cmd ' deleted .
gmake : Target `all 'not remade Because of errors .

thank you for your help!!

  • Hi,

    Are you trying to build an example project from the kam335x_sysbios_ind_sdk_1.1.0.3? If so, what is the exact example project are you trying to build?

    Regards,

    Rafael

  • Rafael,

    Thank you for your replay!

    I resolved this problem, but I have another question about the display interface to visualise the outputs, where I can find it?

    Regards,

    Ahmed

  • Ahmed,

    In general the output of the runtime support console I/O functions (printf, puts, etc.) is shown at the Console view, which is opened automatically when the code reaches one of the functions above. Notice that you need enough stack and heap allocated for these functions to work - check sections 2.3 and 2.4 of this page. Additional details are shown in this other page.

    However, if you are using TI-RTOS (or SYSBIOS) you can see the output of the printouts in the RTOS Analyzer menu. Go to menu Tools --> RTOS Analyser --> Printf Logs.

    At last, if your code is designed to output messages via UART, then you would need a terminal program such as Teraterm, putty or even the CCS built in Terminal plug-in:

    Hope this helps,

    Rafael

  • Rafael,

    It is very clear to me now thanks to you!

    Regards,

     

    Ahmed