Forum Discussion
Altera_Forum
Honored Contributor
11 years agoThe fact that the memory isn't corrupted and it goes on to work if you repeat step 2 multiple times, I think, is not sufficient to deem that it is 'working'. It certainly shouldn't be relied upon for any solution deemed reliable.
1) By 'the correct way to do this' - are you hoping for a similar procedure that will guarantee that the SRAM contents isn't corrupted? Reprogramming the FPGA with a different image (.sof) won't form part of that solution. The clean way to do this is to ensure you have a means of programming the SRAM from your 'processor.sof' image. 2) You could program your instructions into FLASH. Once there they will remain there. You'll clearly have to modify your processor image to retrieve the instructions from FLASH rather than SRAM. However, this solution will allow you to reprogram the FPGA as many times as you like - and power cycle the board. 3) There's nothing special about writing the data multiple times. This is just a little evidence that's misleading. Cheers, Alex