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.

Network Support Package NSP for TIVA C (TFTP example)

Other Parts Discussed in Thread: SYSBIOS

I need an example for TFTP client (NDK TI-RTOS) ran on TIVA-C.
Where I can get this example?
NSP contains only examples for evmOMAPL138 and evm6748.

  • What versions of SYSBIOS, CCS are you running on?

  • tirtos_tivac_2_01_00_03, CCS 6.01

  • I would also like an example for this, does one exist?

  • I am a bit confused by the fact you are asking about the NSP. The NSP is not relevant to TI-RTOS releases, only to older NDK releases. The TI-RTOS release contains the TCP/IP networking stack and the associated network applications like TFTP (e.g. the NDK). TI-RTOS also contains the EMAC driver for the TM4C129x. Unfortunately, we do not have a specific TFTP example in TI-RTOS. I talked to one of our engineers and he told me that the telnet console example in TI-RTOS should show you how to bring in TFTP.
  • According to spru523j (TI Network Developer's Kit ) "the Network Client Example is the most important of all the example programs since it includes the most components of an actual network application" (page 30). Where is this example program? This is the one I want to run!

    I am running on Tiva EM4C129E (using the launchpad EK-TM3C129EXL) and I have TivaWare 2.1.2.111 and TI-RTOS for Tiva C 2_16_01_14.

    I've read some conflicting information. The above mentioned document says that I must download separately the NDK Support Package (NSP). Later, section 1.2.2 says that TI-RTOS includes the examples (for *some* boards) and I do not need to download the NSP separately.

    The contents of my C:\ti\tirtos_tivac_2_16_01_14\tirtos_tivac_2_16_01_14_examples\TI\EK_TM4C129EXL directory are as follows:

    benchloop, bigtime, clock, empty, empty_min, error, event, fatsd, fatsdraw, fatsdusbcopy, gpiointerrupt, hello, helloworld, httpget, httpgetCC3100, httpsget, httpsgetCC3100, i2crf430cl330_load, i2ctmp006, i2ctpl0401evm, memory, mutex, pwmled, spiloopback, stairstepStopMode, swi, tcpEcho, tcpEchoCC3X00, tcpEchoIPv6, tcpEchoPPP, tcpEchoTLS, uartconsole, uartecho, uartechodma, uartlogging, udpEcho, udpEchoCC3X00, udpEchoIPv6, usbcdcmousedevice, usbkeyboarddevice, usbkeyboardhost, usbmousedevice, usbmousehost, usbserialdevice, watchdog

    Is one of those the "Network Client Example"?
  • You don't need to download a separate NSP for Tiva. The TI-RTOS SDK for Tiva contains the driver already and some examples.

    Generally the first example we recommend for you to run is the tcpecho as that demonstrates basic network connectivity.

    If you are looking for a speciifc network application example, please state which one and we can suggest appropriately.

  • Nick, thank you for your reply.

    I have TI-RTOS 2.16.01.14 and it comes with a PDF file, "TI Network Developer's Kit (NDK) v2.25 User's Guide" (spru523j) installed at C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/docs/spru523j.pdf.

    Section 2.2 of this book tells of an example program called The Network Client Example Application. It states: "The client example is the most important of all the example programs since it includes the most components of an actual network application," ... "It launches a console application accessible via Telnet, an HTTP server with a couple of example WEB pages, plus several data servers that can be tested by running client test applications on a Windows PC." In other words, this example program illustrates quite a lot, and I'd like to run it and try it out. Unfortunately, I could not find it anywhere in the TI-RTOS SDK directory tree. I've seen other the Network examples dealing with HTTP client, where my Tiva launchpad can fetch a webpage from www.example.com, but I haven't seen a Network example incorporating the embedded web server described in this section.

    The book states (still in section 2.2): "The example described in this section has been moved to the NDK Support Package (NSP), which you must download separately from the NDK."

    So, unless there actually is such an example program in such a NSP, this must be an error in the book.
  • You're correct in that hte NDK has an error here. It's reflecting an organization of the NDK product that doesn't exist anymore.

    I talked to our support team and you can find an example program that includes TFTP in the following subdirectory in your TI-RTOS install:

    prodcuts>ndk_2_xx_yy_zz>packages>ti>ndk>tools>console

    Here you find a .c file called contftp.c that will code showing you how to add the tftp client. Note that this example is designed as part of telnet example so will likely have some extraneous code.

    Once you have looked at this example and try to get the tftp client working in your app, please start a new thread to ask any questions. This is a really old thread and you're lucky it someone came my way so I could answer. A new thread will get you visible to engineers doing the tech support rather than me (product marketing manager).