Visible to Intel only — GUID: nwb1645763711652
Ixiasoft
1. About This Document
2. About the Nios® V Embedded Processor
3. Nios® V Processor Hardware System Design with Intel® Quartus® Prime Pro Edition and Platform Designer
4. Nios® V Processor Software System Design
5. Nios® V Processor Configuration and Booting Solutions
6. Nios® V Processor - Using the MicroC/TCP-IP Stack
7. Nios® V Processor Debugging, Verifying, and Simulating
8. Nios® V Embedded Processor Design Handbook Archives
9. Document Revision History for the Nios® V Embedded Processor Design Handbook
5.1. Introduction
5.2. Linking Applications
5.3. Nios® V Processor Booting Methods
5.4. Introduction to Nios® V Processor Booting Methods
5.5. Nios® V Processor Booting from Configuration QSPI Flash
5.6. Nios V Processor Booting from On-Chip Memory (OCRAM)
5.7. Summary of Nios V Processor Vector Configuration and BSP Settings
7.4.1. Prerequisites
7.4.2. Setting Up and Generating Your Simulation Environment in Platform Designer
7.4.3. Creating Nios V Processor Software
7.4.4. Generating Memory Initialization File
7.4.5. Generating System Simulation Files
7.4.6. Running Simulation in the QuestaSim Simulator Using Command Line
Visible to Intel only — GUID: nwb1645763711652
Ixiasoft
6.4.5.2. MicroC/TCP-IP Simple Socket Server Example Design
The µC/TCP-IP Simple Socket Server example design software files are readily available in the example design zip file. They are stored in the software/app folder.
The following software files constitute the µC/TCP-IP Simple Socket Server application:
- alt_error_handler.c: Contains three error handlers, one each for the Nios V Simple Socket Server, µC/TCP-IP, and µC/OS-II.
- alt_error_handler.h: Contains definitions and function prototypes for the three software component-specific error handlers.
- led.c: Contains the LED management tasks.
- led.h : Contains function prototypes for the LED management tasks.
- log.h: Contains definitions for logging macros.
- main.c: Defines the global structure of type alt_tse_system_info which describes the TSE configuration. Defines main(), which initializes µC/OS-II and µC/TCP-IP, processes the MAC and IP addresses, contains the PHY management tasks, and defines function prototypes.
- simple_socket_server.c: Defines the tasks and functions that use the µC/TCP-IP sockets interface, and creates all the µC/OS-II resources.
- simple_socket_server.h: Defines the task prototypes, task priorities, and other µC/OS-II resources used.
- uc_tcp_ip_init.c: Contains MAC address and IP address routines to manage addressing. Routines are used by µC/TCP-IP during initialization, but are implementation-specific.
- uc_tcp_ip_init.h: Contains definitions and function prototypes for µC/TCP-IP initialization.