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.

TMS320C6678EVM NDK/helloworld

Hi,  

     I would like to test the ethernet between the C6678 evm and PC, using UDP. I based my project on the mcsdk_2_01_02_06\examples\ndk\helloWorld example. The building has no errors, but in the debug steps(just connect core0), when I click run button, it has no response, the console does not print anything. After click the suspend button, it appears "No source available for 0xc43a60dc".

what is the problem? 

  • Hi Yuan,

    Please ensure to use the c6678 gel file to connect with the core. 

    Thank you.

  • Yuan,

    If you are creating new project for multicore, please follow the steps as per this wiki: http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_User_Guide#Multicore_Hello_World_Example

    When you run and load the program via CCS, you need to put the EVM dip switches into "no boot" mode.
    Please see: http://processors.wiki.ti.com/index.php/TMDXEVM6678L_EVM_Hardware_Setup for instructions on how to do that.

    1. Set the EVM Boot Mode to "No Boot" and power on the EVM. See the respective EVM Hardware Setup page listed above for the Boot Mode table.
    2. Create a New Target Configuration by selecting the tab File->New and clicking Target Configuration File.
    3. Load the proper gel and Click the save button.
    4. Import the helloworld example from NDK
    5. Build the project and connect the target.
    6. Load and Run the application image(.out file) on core0 using CCS and Emulator.
    7. When you connect the taget, you will get the messages from gel file on your console. If you not, load the proper gel file.
    7. You will get the messages on console window.

  • Hi,Pubesh

          I follow you steps to run the program. It is the boot mode problem.when I modify the set, the console print correct message. But it appears other problems.

           It seems that BIOS has something set improperly.Please help?tks.

  • Yuan,

    Did you change anything in the Helloworld example code before you build and run?

    Please follow the procedures below to load images using CCS and run the application.
    Please refer to the hardware setup guide for further setup details.

    • Connect the board to a Ethernet hub or PC using Ethernet cable.
    • The application runs in Static IP mode if User Switch 1 is OFF else if it is ON then it runs in DHCP mode.
    • See the Hardware Setup section for the location of User Switch 1.
    • If it is configured in static IP mode, the board will come up with IP address 192.168.2.100, GW IP address 192.168.2.101 and subnet mask 255.255.254.0
    • If it is configures in DHCP mode, it would send out DHCP request to get the IP address from a DHCP server in the network.
    • Connect to core 0 and load the application C:\ti\mcsdk_2_01_02_06\examples\ndk\helloWorld\evmc6678l\Debug\helloworld_evmc6678l.out.
    • Run helloWorld on core 0, in the CIO console window, the board should print IP address information (for eg: Network Added: If-1:192.168.2.100)
  • Yuan,

    In addition that, some more details to debug your issue.

    If you are using the c6678L EVM, then please confirm that the EVM is using static IP address, through the switch setting. User switch #2.
    http://processors.wiki.ti.com/index.php/TMDXEVM6678L_EVM_Hardware_Setup#Hardware_Setup_Steps

    Go through this E2E post will help you.

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/353843/1240642.aspx#1240642

  • 1803.helloworld_evmc6678l.rar

    This is the build file. I just change the IP address. Why dose this project can not chang IP address? 

    I do not uderstand clearly. 

  • Yuan,

    You can set the IP address, like static IP in this test code. And also check on the EVM board for static IP enabled the switch configuration as per below wiki,

    If you are using the c6678L EVM, then please confirm that the EVM is using static IP address, through the switch setting. User switch #2.
    http://processors.wiki.ti.com/index.php/TMDXEVM6678L_EVM_Hardware_Setup#Hardware_Setup_Steps

    I will check your attached file and let you know the cause of issue.

  • Hi,Pubesh,

         I would like to know do you have any progess?  

    I found that it has to set up the clientMACAddress. Wheher it has to set the same as the PC MAC?

  • Yuan,

    I have tested your attached project with your modification for IP. Its working well on both the modes like DHCP as well Static IP configuration on the EVM board.

    You need to check on the board for DHCP or Static IP configuration,

    Note: I did not build your project, I have used your build .out file to load and run.

    Please check on your PC side, if you are using IP as a static config.

  • Yuan,

    Refer the snapshot, the helloworld example code is working as per DHCP and also Static IP.

    DHCP IP:

    Static IP:

  • thanks, Pubesh

              I will check my board set up carefully. 

     Best Regards.