Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

bin2flash, offset is larger than flash memory span

Altera_Forum
Honored Contributor II
1,106 Views

Hi, 

I'm using the flash programmer to download a binary raw image file to the epcs4 flash. 

 

When I set the offset as 2048(which is the total page number of epcs4, 512K/256) or a larger value, a error reported: 

"offset is larger than flash memory span". 

 

And when I change the offset to 2047, no error was reported. So, the offset seems to use the pages other than bytes as its unit.  

 

However, by analyzing the obtained s-record file, it uses bytes as unit indeed. 

 

now, my question is: 

How can I save my binary file to an address higher than 2048 in epcs4 with flash programmer? 

 

To supplement, my quartus and nios ide version is 9.1 sp1. 

 

regards!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
385 Views

Hi, have you resolved your question? I have the same problem, unable to program a binary file at offsets larger than 2047. 

One thing I know, is that 2048 is address span of the epcs_controller module

and the programmer takes it as flash memory span. 

 

When I was using version 8.0, there were no such problems. I am considering to return to 8.0.
0 Kudos
Reply