TFTP
Trivial File Transfer Protocol (TFTP) is a standard network protocol used to transfer files from one host to another over a TCP-based network. The TFTP module implements TFTP server and client functions that are used to transfer files over the UDP protocol. You can use the module in two ways:
- To set up a TFTP server. A remote device can request (get) files from this server and also transfer (put) files to it.
- As a client function that an app on a device can call to transfer files to/from a remote TFTP server.
Any file system or RAM system can be attached to the TFTP server.
HCC’s TFTP module is part of HCC’s MISRA-compliant TCP/IP stack, as shown in the Networking Overview diagram, and is designed specifically for use with it. This makes it both fast and simple.
Features
- Conforms to the HCC Advanced Embedded Framework.
- Complies with HCC’s MISRA-compliant TCP/IP stack.
- Fully compatible with the HCC IPv4 and IPv6 stacks.
- Designed for integration with both RTOS and non-RTOS based systems.
- Conforms to RFC 1350 (TFTP Protocol Revision 2).
- Option allows you to enable/disable the TFTP client.
- Can interface to any file system by using user-provided callback functions.
- Can interface to RAM by using user-provided callback functions.
- Number of simultaneous server connections is configurable.