1. About the Nios® V Embedded Processor
2. Nios® V Processor Hardware System Design with 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
2.1. Creating Nios® V Processor System Design with Platform Designer
2.2. Integrating Platform Designer System into the Quartus® Prime Project
2.3. Designing a Nios® V Processor Memory System
2.4. Clocks and Resets Best Practices
2.5. Assigning a Default Agent
2.6. Assigning a UART Agent for Printing
2.7. JTAG Signals
2.8. Optimizing Platform Designer System Performance
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 On-Chip Flash (UFM)
4.6. Nios® V Processor Booting from General Purpose QSPI Flash
4.7. Nios® V Processor Booting from Configuration QSPI Flash
4.8. Nios® V Processor Booting from On-Chip Memory (OCRAM)
4.9. Nios® V Processor Booting from Tightly Coupled Memory (TCM)
4.10. Summary of Nios® V Processor Vector Configuration and BSP Settings
4.11. Reducing Nios® V Processor Booting Time
6.2.3.2.1. Enabling Signal Tap Logic Analyzer
6.2.3.2.2. Adding Signals for Monitoring and Debugging
6.2.3.2.3. Specifying Trigger Conditions
6.2.3.2.4. Assigning the Acquisition Clock, Sample Depth, and Memory Type, and Buffer Acquisition Mode
6.2.3.2.5. Compiling the Design and Programming the Target Device
6.6.1. Prerequisites
6.6.2. Setting Up and Generating Your Simulation Environment in Platform Designer
6.6.3. Creating Nios V Processor Software
6.6.4. Generating Memory Initialization File
6.6.5. Generating System Simulation Files
6.6.6. Running Simulation in the QuestaSim Simulator Using Command Line
5.8.1. MicroC/OS-II Resources
This section describes the tasks, queue, event flag, and semaphores that implement the µC/TCP-IP Simple Socket Server application.
Tasks
The following table lists the µC/OS-II tasks that implements the µC/TCP-IP Simple Socket Server application.
Tasks | Description |
---|---|
SSSCreateOSDataStructs() | Creates an instance of all the µC/OS-II resources. |
SSSCreateTasks() | Initializes tasks that do not use the networking services. |
SSSSimpleSocketServerTask() | Manages the socket server connection, and calls relevant subroutines to manage the socket connection. |
LEDManagementTask() | Manages the LEDs, driven by commands received from a µC/OS-II queue, named SSSLEDCommandQ. |
LEDLightshowTask() | Manages the LED light show, once enabled by the LEDManagementTask(). |
Inter-Task Communication Resources
The following global handles (or pointers) create and manipulate your µC/OS-II inter-task communication resources. All the resources begin with Simple Socket Server, indicating a public resource provided by the Nios V Simple Socket Server that is shared between software modules.
The SSSCreateOSDataStructs() function declares and creates these resources in simple_socket_server.c.
- SSSLEDCommandQ: A µC/OS-II queue that sends commands from the simple socket server task, SSSSimpleSocketServerTask() to the development board LED control task, LEDManagementTask().
- SSSLEDLightshowSem: A µC/OS-II semaphore that is referred by the LEDLightshowTask() before the LEDs update.
- SSSLEDEventFlag: A µC/OS-II flag that corresponds to one of the LEDs.
Note: The µC/TCP-IP Simple Socket Server uses capitalized acronym prefixes to identify public resources for each software module, and lowercase letters with underscores to indicate a private resource or function used internally to a software module.
The following are the software module acronym identifiers:
- SSS: µC/TCP-IP Simple Socket Server software module
- LED: LED management software module
- OS: µC/OS-II RTOS software component