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.

problem using ndk example helloworld

Hi,
I have launched NDK example Helloworld using ccsv5.3 on evm6678, but the application is running continuously without giving its ip address to console. please help me solving this problem
Regards,
Vamshi

  • Hi Vamshi,

    Are you using DHCP or static IP, please check the configuration of user switch 2 (paragraph 5) - http://processors.wiki.ti.com/index.php/TMDXEVM6678L_EVM_Hardware_Setup

    Thanks,

    HR

  • Vamshi,

    The pre-build Hello world out file should run as it is, if you are using static IP, you should see the IP address printed in the console. If you are using DHCP, you can use Wireshark to monitor the DHCP negotiation bewteen DSP and DHCP server, which side caused the problem.

    Regards, Eric 

  • Hi HR,
    I am using static IP and i launched the project without making any changes, though it is continuously running without giving its IP address.

    Thanks

  • Hi Vamshi,

    Can you send the console view,

    Thanks,

    HR

  • Hi,

    console view after building the project:

    **** Build of configuration Debug for project helloworld_evmc6678l ****

     

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

    'Building file: ../helloWorld.cfg'

    'Invoking: XDCtools'

    "C:/ti/xdctools_3_23_04_60/xs" --xdcpath="C:/ti/pdk_C6678_1_1_2_5/packages;C:/ti/ndk_2_21_01_38/packages;C:/ti/bios_6_33_06_50/packages;C:/ti/mcsdk_2_01_02_05/demos;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6678 -r debug -c "C:/ti/ccsv5/tools/compiler/c6000_7.4.1" "../helloWorld.cfg"

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

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

    configuring helloWorld.xe66 from package/cfg/helloWorld_pe66.cfg ...

    cle66 package/cfg/helloWorld_pe66.c ...

    'Finished building: ../helloWorld.cfg'

    ' '

    'Building file: C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/helloWorld.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/qmss" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld" --diag_warning=225 --preproc_with_compile --preproc_dependency="helloWorld.pp" --cmd_file="./configPkg/compiler.opt"  "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/helloWorld.c"

    'Finished building: C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/helloWorld.c'

    ' '

    'Building file: C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/platform_osal.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/qmss" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld" --diag_warning=225 --preproc_with_compile --preproc_dependency="platform_osal.pp" --cmd_file="./configPkg/compiler.opt"  "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/platform_osal.c"

    'Finished building: C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/platform_osal.c'

    ' '

    'Building file: C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/resourcemgr.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/qmss" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld" --diag_warning=225 --preproc_with_compile --preproc_dependency="resourcemgr.pp" --cmd_file="./configPkg/compiler.opt"  "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/resourcemgr.c"

    'Finished building: C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/resourcemgr.c'

    ' '

    'Building file: C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/udpHello.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/qmss" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld" --diag_warning=225 --preproc_with_compile --preproc_dependency="udpHello.pp" --cmd_file="./configPkg/compiler.opt"  "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/udpHello.c"

    'Finished building: C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/udpHello.c'

    ' '

    'Building target: helloworld_evmc6678l.out'

    'Invoking: C6000 Linker'

    "C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -g --diag_warning=225 -z -m"helloworld_evmc6678l.map" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --reread_libs --warn_sections --rom_model -o "helloworld_evmc6678l.out" -l"./configPkg/linker.cmd"  "./udpHello.obj" "./resourcemgr.obj" "./platform_osal.obj" "./helloWorld.obj" -l"libc.a"

    <Linking>

    'Finished building target: helloworld_evmc6678l.out'

    ' '

     

    **** Build Finished ****

    when the program is launched, it is running continuously. when i tried to pause, the below is printed in console view:

    C66xx_0: Trouble Halting Target CPU: (Error -1060 @ 0x0) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.838.0)

  • Hi,

    Anyone please help me in solving this problem, Eric.

    Thanks,

    Vamshi

  • Hi,

    Anyone please help me in solving this problem. Eric

    Thanks,

    Vamshi