The code and documentation of the µC/TFTPc module are organized in a directory structure according to “AN-2002, µC/OS-II Directory Structure”. Specifically, the files may be found in the following directories:
\Micrium\Software\uC-TFTPc
This is the main directory for µC/TFTPc.
\Micrium\Software\uC-TFTPc\Doc
This directory contains all µC/TFTPc documentation files, including this user’s manual.
\Micrium\Software\uC-TFTPc\Cfg\Template
This directory contains a template of µC/TFTPc configuration.
\Micrium\Software\uC-TFTPc\Source
This directory contains the µC/TFTPc source code. This protocol is implemented in two FS independent files:
tftp-c.c
tftp-c.h
Note that the ‘-c
’ after ‘tftp
’ stands for client and thus contains ‘client’ side code.
\Micrium\Software\uC-TFTPc\FS\Template
\Micrium\Software\uC-TFTPc\FS\uC-FS-V2
\Micrium\Software\uC-TFTPc\FS\uC-FS-V3
\Micrium\Software\uC-TFTPc\FS\uC-FS-V4
This is where file system (FS) dependent code is located. µC/TFTPc is distributed with ports for several µC/FS versions. Note that it would be possible to use µC/TFTPc with other file systems by developing appropriate apps_fs.*
implementation files.
Required modules
µC/TFTPc requires the µC/CPU, µC/LIB, and µC/TCP-IP modules. Please refer to the µC/TFTPc release notes document for required version information.