Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

bin2flash, offset is larger than flash memory span

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!

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.