Results 1 to 3 of 3

Thread: Max 10 RSU (Remote System Update) - Dual Images - Write to CFM

  1. #1
    Join Date
    Apr 2018
    Posts
    4
    Rep Power
    1

    Default Max 10 RSU (Remote System Update) - Dual Images - Write to CFM

    I am looking to test the remote update feature of the Max 10 using the Max 10 Development Board. I want to be able to perform a Remote System Update (RSU) using the Discrete Update method. I have worked through the RSU example using the Nios II processor (AN741: Remote System Upgrade for Max 10 FPGA Devices over UART with the Nios II Processor), however for the situation I need to perform remote updates in the Nios II method is not an option.


    I have been able to succesfully program the device with dual images. For this I have used a simple Platform Designer system (clk, flash, dual_boot IP) to generate HDL files which I have included in a top level HDL file for the project. Next, I intend to test the "fail safe" capability of the Max 10 by corrupting one of the images (image 1), attempting to boot into that image, and checking that the device falls back in to image 0.


    To do this I need to be able to write directly to the CFM on the device. I have been unable to find a method of easily writing in to the CFM. Is this even possible or can the CFM only be written to/read from using the Remote Update circuitry on the device? Are there any examples online of a Discrete RSU system on the Max 10?


    Any help would be much appreciated.


    Cheers

  2. #2
    Join Date
    May 2013
    Posts
    908
    Rep Power
    1

    Default Re: Max 10 RSU (Remote System Update) - Dual Images - Write to CFM

    You can write to the CFM using the Quartus Programmer, but you need control logic for switching the images. That's why Nios is involved, though you could create a state machine. See these online trainings for details:

    https://www.altera.com/support/train...h&keywords=rsu

  3. #3
    Join Date
    Apr 2018
    Posts
    4
    Rep Power
    1

    Default Re: Max 10 RSU (Remote System Update) - Dual Images - Write to CFM

    I have used the Quartus Programmer to program the device with two images. I now want to try to load in to an image that I know to be corrupt, to see if the device will default to the second (valid) image. The problem is that the Quartus Programmer cannot be used to program the device with a corrupt image. I was hoping to find out if it would be possible to corrupt one of the images by writing some arbitrary data into an arbitrary location within one of the images using logic within the device.

    e.g. Write 20 "FF" values starting at CFM address 0xb9999 when a user push button is pressed

    Then manually change the image to boot from using the CONFIG_SEL pin on the back on the Max 10 and attempt to load into that image using the PLUSE_nCONFIG button.

    I have looked through the training courses for performing a remote update, and have followed the labs for RSU using the Nios II processor. For my purpose using the Nios II is not an option, so I will need to develop some control logic (state machine) to perform the RSY without the Nios II.

Similar Threads

  1. Remote System Update with Max 10 10M16
    By KonradH in forum FPGA, Hardcopy, and CPLD Discussion
    Replies: 8
    Last Post: August 11th, 2017, 04:50 AM
  2. Max10 (BeMicro) Dual Compression Image Error for Remote Update
    By dbjung in forum General Altera Discussion
    Replies: 3
    Last Post: November 3rd, 2016, 01:24 AM
  3. Couple of questions about the remote update system
    By csebastian in forum FPGA, Hardcopy, and CPLD Discussion
    Replies: 4
    Last Post: October 18th, 2016, 05:46 AM
  4. Remote System Update JTAG AS EPCS64 Cyclone IV
    By dnorwood in forum General Altera Discussion
    Replies: 2
    Last Post: December 21st, 2012, 06:06 AM
  5. Remote System Update dilemma
    By uilka_b in forum General Altera Discussion
    Replies: 14
    Last Post: September 8th, 2009, 09:13 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •