+ Post New Thread
Results 1 to 6 of 6
  1. #1
    Full Member level 3
    Points: 1,499, Level: 8

    Join Date
    Aug 2013
    Posts
    162
    Helped
    0 / 0
    Points
    1,499
    Level
    8

    Running multiple program on flash

    Hi,
    I have 256 Mbit Flash on Kintex-7 FPGA board.
    http://www.cypress.com/file/177966/download

    I would like to know is there any possiblity of loading 2 or more different programs on the same flash giving new offsets for every new programs and run one program at a time controlled by external command?

    P.S. Individual program works already.

    •   Alt2nd October 2017, 13:28

      advertising

        
       

  2. #2
    Super Moderator
    Points: 48,763, Level: 53
    Awards:
    Most Frequent Poster

    Join Date
    Apr 2014
    Posts
    9,991
    Helped
    2392 / 2392
    Points
    48,763
    Level
    53

    Re: Running multiple program on flash

    Hi,

    does it make sense? It is no software like in a processor.

    ****
    If you ask me for a simple solution: IŽd use two flash memories and with the chip selects you choose which code to run.

    Klaus



    •   Alt2nd October 2017, 13:36

      advertising

        
       

  3. #3
    Full Member level 3
    Points: 1,499, Level: 8

    Join Date
    Aug 2013
    Posts
    162
    Helped
    0 / 0
    Points
    1,499
    Level
    8

    Re: Running multiple program on flash

    Quote Originally Posted by KlausST View Post
    Hi,
    If you ask me for a simple solution: IŽd use two flash memories and with the chip selects you choose which code to run.
    Klaus
    yes, this is obvious.

    but the thing is only one flash is available which is of 256 Mbit and each program is about 10 Mbit. If only 2 program can be load and run one at time this will be fine.
    Is there not any way in flash chip to say load one program from this address and another from another address?



    •   Alt2nd October 2017, 14:02

      advertising

        
       

  4. #4
    Super Moderator
    Points: 234,699, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    40,547
    Helped
    12396 / 12396
    Points
    234,699
    Level
    100

    Re: Running multiple program on flash

    Are you asking about FPGA configuration or embedded processor program? Loading alternative FPGA configuration is supported by the Multiboot feature, review series 7 configuration user guide. Starting multiple processor codes should be possible in any case. At worst case you'll write a bootloader branching into multiple firmware images.



  5. #5
    Full Member level 3
    Points: 1,499, Level: 8

    Join Date
    Aug 2013
    Posts
    162
    Helped
    0 / 0
    Points
    1,499
    Level
    8

    Re: Running multiple program on flash

    @FvM,
    FPGA configuration



    •   Alt2nd October 2017, 14:23

      advertising

        
       

  6. #6
    Super Moderator
    Points: 234,699, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    40,547
    Helped
    12396 / 12396
    Points
    234,699
    Level
    100

    Re: Running multiple program on flash

    Booting multiple configurations in a FPGA depends on special hardware features. Many modern FPGAs have built-in logic enabling it to boot multiple configurations. A bootloader or "factory configuration" at address 0 is started first, it reads some information from external or previously set internal registers and restarts a configuration residing at a different memory address. A watchdog timeout or CRC error triggers a fallback to bootloader.



--[[ ]]--