Prerequisites
Anchor |
---|
| Prerequisites |
---|
| Prerequisites |
---|
|
Before running your first application, you must ensure that you have the minimum set of required tools and components:
- Toolchain for your specific microcontroller.
- Development board.
- µC/TCP-IP stack must be installed properly (a running project). See Installing the µC/TCP-IP Stack for further details on how to install µC/TCP-IP.
- Source code for µC/TFTPc.
Additional Modules
µC/FTPc depends on other modules to run. It requires the presence of a RTOS; the modules for µC/CPU, µC/LIB, µC/Common and µC/TCP-IP.
If you are using one of the two Micriµm OS's, complete documentation can be found for µC/OS-II and µC/OS-III. Refer to those guides for more information on requirements, installation, configuration and running of each RTOS.
The µC/CPU module regroups the processor's hardware-dependent code. It includes ports for the many CPU architectures Micriµm supports. Therefore, you must use the port corresponding to your specific CPU.
The µC/LIB module is Micriµm's run-time library, implementing the most common standard library functions, macros, and constants.
µC/Common regroups modules use commonly by all the Micrium products. It must therefore also be include in your project.
The µC/TCP-IP stack is a compact, reliable, high-performance TCP/IP protocol stack which provides the socket for the FTP application layer.
µC/FTPc can be used with or without a File System. The example application of the starting guide use the Micriµm µC/FS module. A common File System API is used for all network applications that required a FS. It is located in the FS directory of µC/TCP-IP (TCPIP Network File System Abstraction Layer). A port for the µC/FS v4 is available and it is possible to add new ports to interface with different File Systems .
Downloading the Source Code
Anchor |
---|
| Downloading Source Code |
---|
| Downloading Source Code |
---|
|
µC/FTPc can be downloaded from the Micrium repository along with the other required modules.
Installing the Files
Anchor |
---|
| Installing Files |
---|
| Installing Files |
---|
|
Once all the distribution packages have been downloaded to your host machine, extract all the files to your computer (for instance, at the root of your C:\ drive). The package may be extracted to any location. After extracting all the files, the directory structure should look as illustrated below in 217547318. In the example, all Micriµm products sub-folders will be located in C:\Micrium\Software\
. The Micriµm µC/OS-III RTOS has been chosen for this example as well as µC/FS.
Anchor |
---|
| Figure - FTPc Folder Tree |
---|
| Figure - FTPc Folder Tree |
---|
|
Panel |
---|
title | Figure - µC/FTPc Folder Tree |
---|
|
Image Added |