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.

Using IPV6 with 6678



Hi,

I want to know if there's an working example of an IPV6 interface using the 6678.

I have sucessfuly created an IPV4 interface and I can send and receive data from the DSP to the PC, but I want to do that with and IPV6 link.

I have searched though the NDK files, but I can only find a bunch of IPV6 functions scattered around and I'm not sure how to use them.

Can anybody help me with this?

Thanks.

  • Jose,

    The NDK provides an IPv6 and IPv4 compliant TCP/IP stack working with the SYS/BIOS real-time operating system.
    Its primary focus is on providing the core Layer 3 and Layer 4 stack services.
    Find the basic information at this wiki: http://processors.wiki.ti.com/index.php/IPv6_Support
    Go through the NDK User's and Reference Guide to get detailed information.
    The below E2E discussion will be useful,
    http://e2e.ti.com/support/embedded/tirtos/f/355/p/321445/1122910.aspx#1122910
    http://e2e.ti.com/support/embedded/tirtos/f/355/t/334098.aspx
    http://e2e.ti.com/support/embedded/tirtos/f/355/p/311905/1088218.aspx#1088218

  • Hi Pubesh

    I've searched through the document on the link:

    http://www.ti.com/lit/ug/spru523h/spru523h.pdf

    On the page 28 of the document it says that there is some examples available on the NSP. I've download that package but it seems that the examples are only for the OMAP and for the 6748.

    I've tried to run these examples anyway, but in the document it says that they should print an IP address, but all that is written on the console is:

    [C66xx_0]
    [C66xx_0] TCP/IP Stack Client Configuration Demo
    [C66xx_0] 192 bytes required for save
    [C66xx_0] Using default MAC address
    [C66xx_0] Using MAC Address: 00-08-ee-03-14-99
    [C66xx_0] Service Status: Telnet : Enabled : : 000
    [C66xx_0] Service Status: HTTP : Enabled : : 000
    [C66xx_0] GetIP Ready

    Am I doing something wrong? 

    Thanks

  • Jose,

    The NDK and NSP packages are device and board dependency. You may not use the OMAP and C6748 supported NSP on Keystone device. 
    You can find the IPv6 support files (_INCLUDE_IPv6_CODE) at: ndk_2_21_02_43\packages\ti\ndk\tools
    Some sample codes are avilable as mentioned task names: dtask_udp_echo6, dtask_tcp_echo6.
    I did not test on those codes for IPv6, but you can refer this and make it work on your requirement. Please let us know, if further support on the same.

  • Thanks Pubesh

    I've read through those files and I've have one question: how do I set an IPV6 address on my DSP?

    Can I set it manually like the IPV4 interface?

  • Can anyone help me with this?

  • Jose,

    Go through the section "IPv6 Stack Testing"  in the TI Network Developer's Kit (NDK) v2.21 User's Guide . This will give you Network Configuration Example for IPv6. For more details on the IPv6 Stack APIs and data structures, refer to the IP Version 6 (IPv6) Stack API section of the TI Network Developer's Kit (NDK) API Reference Guide (SPRU524).

  • Thanks Pubesh, but that test application, which the section of the manual you pointed is refering to, it's the same application that I've tried to unsucessful run, see my second post on this topic.

    I've downloaded the NDK Support Package as the manual suggested, and there's no example applications for the 6678, only for the OMAP and the 6748.

  • Jose,

    Yes, there is no IPv6 based test code for C66xx device. But you can find the stack and API calls in the NDK package.
    For example, ipv6.c will gives the set of API calls for how to config, add and delete IP address.
    packages\ti\ndk\stack\ipv6\ipv6.c
    If you search the macro "_INCLUDE_IPv6_CODE", this will give you information for how to IPv6 configured.
    Here, you need to understand this code and migrate to your use case for C66xx.
    My suggestion, you take other device test code as a reference only to create the test code for C66xx.