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.

tmdxevm6678l client elf example

Other Parts Discussed in Thread: OMAPL138

Hello, I'm new in TI developing

I trying using client elf example on tmdxevm6678l, i change example for 6748 and build successful.

When i debug it result is:

[C66xx_0] Registration of the EMAC Successful, waiting for link up ..
QMSS successfully initialized
CPPI successfully initialized
PASS successfully initialized
Ethernet subsystem successfully initialized
eventId : 48 and vectId : 7
Service Status: DHCPC    : Enabled  :          : 000
Service Status: Telnet   : Enabled  :          : 000
Service Status: HTTP     : Enabled  :          : 000
Service Status: DHCPC    : Enabled  : Running  : 000

and no network add

I'm using:

CCS6.0.1

IPC3.36.1.11

PDK1.0.0.9

NDK2.24.2.31

NSP1.10.2.09

SYS/BIOS6.41.4.54

TI-RTOS2.0.1.23

Sorry for my bad English.


ndk_evm6748_elf_client.rar

  • Hi,

    I trying using client elf example on tmdxevm6678l, i change example for 6748 and build successful.


    I hope that you are using C6678 Shannon EVM (not C6748, maybe typo)and running NDK client example code.

    How did you connect your EVM's ethernet cable ?
    PC to EVM ?
    Or
    EVM to Switch (LAN) ?
    Whether it has been connected in your LAN network where we could get IP address automatically from DHCP server ?

    We have 2 options to get IP address for NDK example code.
    1.Static IP configuration
    2. DHCP IP configuration

    We have to setup through SW9 switch on C6678 EVM board, please refer to the following TI wiki page.
    processors.wiki.ti.com/.../TMDXEVM6678L_EVM_Hardware_Setup

    For static mode, you have to setup like "PC to EVM"

    For DHCP mode, you have to setup like "EVM to Switch"

    Please let us know if any.
  • Thank you for reply,

    on topi start i'm testing with no boot mode (SW3 pin1 off, another on)
    now i'm connect "PC to EVM" and set this mode
    SW3 off off on off
    SW4 all on
    SW5 on on on off
    SW6 all on

    SW9 on off

    and results after full reset and debug:

    [C66xx_0] QMSS successfully initialized
    CPPI successfully initialized
    PASS successfully initialized
    Ethernet subsystem successfully initialized
    eventId : 48 and vectId : 7
    Timeout waiting for reply from PA to Pa_addMac command
    Add_MACAddress failed
    Error: Unable to register the EMAC
    00000.000 DHCPOpen: NIMUIOCTL (NIMU_GET_DEVICE_MAC) Failed with error code: -22

    Service Status: DHCPC : Failed : : 000
    Service Status: Telnet : Enabled : : 000
    Service Status: HTTP : Enabled : : 000
  • Hi,
    You have to power OFF the EVM and power ON again to start next debug session.
  • Thank you for reply,
    after reset-power off- power on and debug
    i have same result with 102 in error message 00000.102 DHCPOpen

    maybe something with emac module? for c6748 its omapl138 but for my c6678 i not found omapl138.ae66 and set in cfg:
    Emac.device = Emac.NONE;
    and i dont know that module i can use for change this
    and i set memory map from Program.sectMap in cfg because have errors with "will not fit into..."

    [C66xx_0] QMSS successfully initialized
    CPPI successfully initialized
    PASS successfully initialized
    Ethernet subsystem successfully initialized
    eventId : 48 and vectId : 7
    Timeout waiting for reply from PA to Pa_addMac command
    Add_MACAddress failed
    Error: Unable to register the EMAC
    00000.102 DHCPOpen: NIMUIOCTL (NIMU_GET_DEVICE_MAC) Failed with error code: -22

    Service Status: DHCPC : Failed : : 000
    Service Status: Telnet : Enabled : : 000
    Service Status: HTTP : Enabled : : 000

  • Hi,

    maybe something this emac module? for c6748 its omapl138 but for my c6678 i not found omapl138.ae66 and set in cfg:
    Emac.device = Emac.NONE;
    and i dont know that module i can use for change this
    and i set memory map from Program.sectMap in cfg because have errors with "will not fit into..."


    What is your processor and EVM using ?

    OMAPL138 or C6748 or C6678 ?

    If you are using C6678 then why you are mentioning the C6748 and OMAPL138 here.


    on topi start i'm testing with no boot mode (SW3 pin1 off, another on)
    now i'm connect "PC to EVM" and set this mode
    SW3 off off on off
    SW4 all on
    SW5 on on on off
    SW6 all on

    SW9 on off


    I'm curious that you are mentioning C6678 EVM details like below and also discussing about C6748 and OMAPL138 which is single core processor whereas C6678 is multicore processor (keystone 1)

    Could you please clarify to us to support you in better.
    Thanks for your understanding.
  • Thank you for reply,
    I'm using TMS320C6678-EVM (show in processors.wiki.ti.com/.../TMDXEVM6678L_EVM_Hardware_Setup)

    I'm telling about c6748 because i get example for this platform from NSP package and trying it using for my (c6678) platform
    im attach my project with first post
  • Hi,
    Thanks.
    Please install MCSDK for Keystone 1 devices (C6678,C6670) from the following link.
    software-dl.ti.com/.../index_FDS.html

    Then use the following NDK client example for C6678.

    C:\ti\mcsdk_2_01_02_06\examples\ndk\client\evmc6678l
  • Solved your problem after used correct MCSDK's NDK example code ?
  • Hello, sorry for my late reply

    I trying install with for CCS6.0.1 and for CCS5.5, and have error then start CCS and add plugins:

    An error occurred while collecting items to be installed
      session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
      Problems downloading artifact: osgi.bundle,com.ti.rtsc.NDK.product_2.21.1.38,2.21.1.38.
        File has invalid content:C:\Users\AACE~1\AppData\Local\Temp\signatureFile1404095763514783731.jar
          Invalid content:plugin.xml
          The file "plugin.xml" in the jar "C:\Users\AACE~1\AppData\Local\Temp\signatureFile1404095763514783731.jar" has been tampered!

    as say in "Out of memory error when installing Add-ons from CCS App Center" i change -Xmx512m to -Xmx768m. (but i have -Xmx384m) and no effect

  • Hi,
    Do you want to install both CCSv5.5 and CCSv6 in your PC ?
    If yes, maintain different directory to install for both CCS versions.

    Still if you have any problem related to CCS, I would like you to suggest to post your question in TI E2E CCS forum.

    e2e.ti.com/.../81;pi317054=1
  • Thank you for all you replyes,
    error with plugin was because have newer version of NDK, i'm set ndk 2_24_2_31 and successful using client ndk example.
  • Sounds good.
    Glad to hear.
    Thanks for your update.