Visible to Intel only — GUID: sss1409053552872
Ixiasoft
Visible to Intel only — GUID: sss1409053552872
Ixiasoft
1.4.4. Developing Software with the Nios II Software Build Tools for Eclipse
You can perform all software development tasks for your Nios II processor system using the Nios II Software Build Tools (SBT) for Eclipse™.
After you generate the system with Qsys, you can begin designing your C/C++ application code immediately with the Nios II SBT for Eclipse. Altera provides component drivers and a hardware abstraction layer (HAL) which allows you to write Nios II programs quickly and independently of the low-level hardware details. In addition to your application code, you can design and reuse custom libraries in your Nios II SBT for Eclipse projects.
To create a new Nios II C/C++ application project, the Nios II SBT for Eclipse uses information from the .sopcinfo file. You also need the .sof file to configure the FPGA before running and debugging the application project on target hardware.
The Nios II SBT for Eclipse can produce several outputs, listed below. Not all projects require all of these outputs.
Output | Description |
---|---|
system.h file |
|
Executable and Linking Format File (.elf) | Is the result of compiling a C/C++ application project, that you can download directly to the Nios II processor. |
Hexadecimal (Intel-Format) File (.hex) |
|
Flash memory programming data |
|
This tutorial focuses on downloading only the .elf directly to the Nios II system.