Writing the CFI flash of the Arria 10GX Dev Kit via JTAG.
2 Convert bts_config.sof to bts_config.flash intended for updating user hardware1 portion at 0x02D00000.
sof2flash --input=bts_config.sof --output=bts_config.flash --offset=0x02D00000 --pfl --optionbit=0x00180000 --programmingmode=PS
3 Convert bts_config.sof to bts_config.flash intended for updating user hardware2 portion at 0x05800000.
sof2flash --input=bts_config.sof --output=bts_config.flash --offset=0x05800000 --pfl --optionbit=0x00180000 --programmingmode=PSI'm having trouble writing to the 2x1Gb flash of the Arria 10GX Development Kit (PRD) via JTAG. The goal is having multiple sofs in the flash, but my attempts fail even for just one.
First of all, there is a readme (build_factory_example) that tells you these cmd line parameters. While the first one works, the second one fails due to size exceeded. Feels great having bought a 5k board where even the basic manufacturer examples are false...
My next attempts were creating a pof via Quartus GUI "convert programming files".
I chose CFI_2Gb, passive parallel x32 and added option bits and 2 sofs at the address offset given in the user guide.
Question here: which page should I use? I tried 0/1 and 1/2 so far.
When I open the programmer and scan the chain, the CFI flash shows up as "2*CFI_1Gb". When I add the just created .pof, this changes to "CFI_2Gb".
I can then start programming, and see the flash is erased. As soon as it tries to start writing, it just fails with "Operation Failed" and no further output.
How can I write the flash?
It is really annoying to see such a basic feature not properly documented in the user guide :|
Thanks in advance!