How do I run a Nios II software application from flash? - How do I run a Nios II software application from flash? Description In order to run Nios® II software from flash, you must provide at least a small bit of volatile memory (RAM) for the .rwdata section, the stack, and the heap. These sections cannot be located in flash because they need to be writeable at runtime. You can run a Nios II software application from flash by following these steps: Ensure your SOPC Builder system contains at least a small amount of RAM (on or off-chip). The amount of RAM required depends on the application. 2 Kbytes should be sufficient for most small C programs. Create your software project in the Nios II IDE In the System Library Properties, set the following sections to flash .text .rodata In the System Library Properties, set the following sections to RAM .rwdata stack heap Build the project in the Nios II IDE Program the development board with the hardware image (SOF) using the Quartus® II Programmer Program the software project into flash using the Flash Programmer in Nios II IDE (Tools menu) Once that has completed, press the CPU reset button to run the software program stored in flash. Custom Fields values: ['novalue'] Troubleshooting novalue False ['Nios® II Processor'] ['novalue'] novalue novalue ['Programmable Logic Devices'] ['novalue'] ['novalue'] ['novalue'] - 2021-08-25

external_document