--- Quote Start ---
1. Initialize Eclipse workspace
2. Create a new software project in the SBT
Configure the Board Support Package
Configure BSP Project Build Properties
Add source code to the project
Configure Application Project Build Properties
Define Application Include Directories
Compile, Download and Run the Software Project
2. Verify the Board Connection
3. Run the Software Project on the Target
-----
--- Quote End ---
Again, you missed the subject of the thread.
The question was how to
update nios ii eclipse project upon on modification in qsys and
not to how to
create new nios ii eclipse project (that is perfectly described in Nios II Classic Software Developer's Handbook).
From my experience there are 2 cases:
- with minor modifications in qsys
- with major modifications in qsys
With minor modifications (e.g. if there are no changes in
qsys instantiation in the top module) it's quite simple: rebuild
bsp (with modified
.sopcinfo) and rebuild application.
In the 2nd case (e.g. if
qsys instantiation should be modified ... and probably also system interface (i.e. external ports)), the better approach is as follows:
- Qsys: Make modification in qsys and save it under new name
- Quartus: Instantiate new qsys in the top module (commenting former one), add it to the project and remove former one
- Quartus: In the top module adjust (if necessary) external ports
- Quartus: Compile new system and program device with modified .sof
- Eclipse: generate new bsp
- Eclipse: in application properties point to the new bsp
This way the old system version is kept and can be easily "reincarnated"