Hi mountain8848,
<div class='quotetop'>QUOTE </div>
--- Quote Start ---
Do you just develop SW in NiosII system? Who develops NiosII in Quartus/SOPC builder?[/b]
--- Quote End ---
??????????????????????????
<div class='quotetop'>QUOTE </div>
--- Quote Start ---
All informatioins about modules of NiosII, including flash, SDRAM..., can be found in SOPC builder.[/b]
--- Quote End ---
I told that when I open the standard reference design in SoPC builder, I found the flas adress at 0x00000000 which is not correct!
<div class='quotetop'>QUOTE </div>
--- Quote Start ---
The file-- <NiosII Name>.ptf records all information about "HW" of NiosII system. Yes, of course the BASE ADDRESS. [/b]
--- Quote End ---
I checked that out and you're right, I found the following
REFDES U5
{
base = "0x00800000";
}
0x00800000 is the right base adress.
<div class='quotetop'>QUOTE </div>
--- Quote Start ---
<u-boot-src>/include/configs/"board".h should deal with the information manually.[/b]
--- Quote End ---
That's what I found:
/*------------------------------------------------------------------------
* MEMORY BASE ADDRESSES
*----------------------------------------------------------------------*/# define CFG_FLASH_BASE 0x00000000 /* FLASH base addr */# define CFG_FLASH_SIZE 0x00800000 /* 8 MByte */# define CFG_SDRAM_BASE 0x01000000 /* SDRAM base addr */# define CFG_SDRAM_SIZE 0x01000000 /* 16 MByte */# define CFG_SRAM_BASE 0x02000000 /* SRAM base addr */# define CFG_SRAM_SIZE 0x00100000 /* 1 MB */
And again the base adress is wrong!!!!!!!!!!!!!!!!!!!!!!!!
I concluded that I got to look only in the .ptf file.