Forum Discussion
UFM page address
Hi .
I'm using max10 FPGA in user flash memory in my project . It has 4 pages in one sector each page is 64kbits of size. Now how to identify what is starting and ending address of each page in memory to write or read data from flash memory.
12 Replies
- JohnT_Altera
Regular Contributor
Hi,
You will need to calculate the starting address and ending address of each page based on the starting address of that sector.
- m_kumar
Occasional Contributor
My project i have 3 sector id and starting address of. (max10m40 fpga)
Sector id 1 starting address = 0x0000; and ending address was 0x7fff;
each page of 64kbits what is the ending address of first page and how to calculate.
- JohnT_Altera
Regular Contributor
Hi,
Each address will contain 32bit data. So the end address should be 0x800.
- m_kumar
Occasional Contributor
so you did 65536/32 = 0x800 right?
- JohnT_Altera
Regular Contributor
The picture you are showing will be based on 8bit addressing. So I would recommend you to divide by 8.
- m_kumar
Occasional Contributor
Thank you sir
- JohnT_Altera
Regular Contributor
Let me know if you have any other queries
- JohnT_Altera
Regular Contributor
Hi,
Yes. If you using Qsys with Nios then it will be using 8bit addressing. So you need to divide by 8 only which will be 0x2000.