Visible to Intel only — GUID: nwb1645763711652
Ixiasoft
1. About the Nios® V Embedded Processor
2. Nios® V Processor Hardware System Design with Intel® Quartus® Prime Software and Platform Designer
3. Nios® V Processor Software System Design
4. Nios® V Processor Configuration and Booting Solutions
5. Nios® V Processor - Using the MicroC/TCP-IP Stack
6. Nios® V Processor Debugging, Verifying, and Simulating
7. Nios® V Processor — Remote System Update
8. Nios® V Processor — Using Custom Instruction
9. Nios® V Embedded Processor Design Handbook Archives
10. Document Revision History for the Nios® V Embedded Processor Design Handbook
4.1. Introduction
4.2. Linking Applications
4.3. Nios® V Processor Booting Methods
4.4. Introduction to Nios® V Processor Booting Methods
4.5. Nios® V Processor Booting from Configuration QSPI Flash
4.6. Nios V Processor Booting from On-Chip Memory (OCRAM)
4.7. Summary of Nios® V Processor Vector Configuration and BSP Settings
6.4.1. Prerequisites
6.4.2. Setting Up and Generating Your Simulation Environment in Platform Designer
6.4.3. Creating Nios V Processor Software
6.4.4. Generating Memory Initialization File
6.4.5. Generating System Simulation Files
6.4.6. Running Simulation in the QuestaSim Simulator Using Command Line
Visible to Intel only — GUID: nwb1645763711652
Ixiasoft
5.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 sw/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.