Electronic – Altera’s MAX10 remote update

intel-fpgamax10

I am going to implement a MAX10 remote update. Unfortunately, in Altera's documents i only see a NIOS implementation and everything looks very big and too complex. Also i already have a reliable communication channel, so i only need to store the data. I am still sure i can implement everything i need in VHDL, but i have some questions (and altera's documents are not very helpful):

  1. Is it enough to just address CFM, like user flash?
  2. What are relevant addresses? What is the image start?
  3. How do i start reconfiguration after flash is ready?
  4. Which file should i use for download?

Thanks!

Best Answer

OK, i have just spoke to the local support.

So no problem in just using internal flash. The CFM should be enabled while creating the flash IP core- by default it is hidden. This is also the place to look up the base address to start writing the image.

The image is .rbf file generated by Quartus (probably out of .sof, i haven't tried it yet).

Last- to start running the image the FPGA has to do external reset. This is a little upsetting because i haven't prepared it in hardware, but i think i saw something in documents hinting that it's somehow also available from inside the FPGA. Will update if i find it.