<div class='quotetop'>QUOTE </div>
--- Quote Start ---
flash base adress??[/b]
--- Quote End ---
Do you just develop SW in NiosII system? Who develops NiosII in Quartus/SOPC builder?
All informatioins about modules of NiosII, including flash, SDRAM..., can be found in SOPC builder. The file-- <NiosII Name>.ptf records all information about "HW" of NiosII system. Yes, of course the BASE ADDRESS.
Then all your SW works should deal with the information about "HW".
---------------------------------------
1. uClinux
nios2linux.h (which is generated according to *.ptf automatically) deals with the information.
Any other drivers could take a reference from nios2linux.h or add "BASE ADDRESS" in DRIVER.c/.h directly.
---------------------------------------
2. u-boot
<u-boot-src>/include/configs/"board".h should deal with the information manually.