Visible to Intel only — GUID: jlq1638888753961
Ixiasoft
Visible to Intel only — GUID: jlq1638888753961
Ixiasoft
5.5.2.1. Nios V Processor Application Copied from Configuration QSPI Flash to RAM Using Boot Copier (SDM Bootloader)
You can use a boot copier to copy the Nios V application from configuration QSPI flash to RAM when multiple iterations of application software development and high system performance are required. Intel recommends applying the memory organization in Memory Organization for SDM Bootloader to use the SDM Bootloader. The following section covers the description of each memory and the steps required to create them.
Memory Organization for SDM Bootloader
The Nios V processor system should comprise of four memory spaces to implement the SDM bootloader and Nios® V application.
The memories are implemented as such:
- Bootloader ROM and RAM (used by SDM bootloader only).
- Exception RAM (shared between SDM bootloader and Nios® V application).
- Nios® V application RAM (used by user application only).
Memory |
Memory Type |
Application Use |
Linker Section |
Notes |
---|---|---|---|---|
Bootloader ROM (Internal ROM) |
Read-Only Memory (ROM) | SDM Bootloader | .text | Set as the Nios V processor reset agent. Perform memory initialization with SDM bootloader (.hex) file. |
Bootloader RAM (Internal RAM) |
Random Access Memory (RAM) | SDM Bootloader | .rodata, .rwdata , .bss, .stack, .heap |
Store data sections of SDM bootloader except .exceptions using alt_load(). |
Exception RAM (Internal or External RAM) |
Random Access Memory (RAM) | SDM Bootloader and Nios® V Application | .exceptions | Set as the Nios® Vprocessor exception agent. Store .exceptions that are copied by alt_load(). |
User Application RAM (Internal or External RAM) | Random Access Memory (RAM) | Nios® V Application | .text, .rodata, .rwdata, .bss, .stack, .heap | The Nios® V application is loaded into RAM from flash by the SDM Bootloader. |