Knowledge Base Article

What is the correct flash offset when using the Stratix V GX FPGA Development Kit?

Description

When following, "Creating Flash Files Using the Nios® II EDS" flow in the Stratix® V GX FPGA Development Kit User Guide, the following command is given:

sof2flash --input=<yourfile>_hw.sof --output=<yourfile>_hw.flash --offset=0x020A0000 --pfl --optionbit=0x00030000 --programmingmode=PS

However, the Address Range given for User hardware 1 in Table A-1 Byte Address Flash Memory Map is:

0x020C.0000 to 0x0413.FFFF

Hence the offset shown in the above command is incorrect.

Resolution

To correctly generate flash files, use the command below:

sof2flash --input=<yourfile>_hw.sof --output=<yourfile>_hw.flash --offset=0x020C0000 --pfl --optionbit=0x00030000 --programmingmode=PS

Related Articles
Updated 3 months ago
Version 2.0
No CommentsBe the first to comment