Results 1 to 3 of 3

Thread: SW loading to ECPS flash issue

  1. #1
    Join Date
    Jul 2009
    Posts
    4
    Rep Power
    1

    Default SW loading to ECPS flash issue

    Hi everyone,

    I'm trying to program SW ELF image into ECPS flash - but not in the default manner, meaning not directly after HW image. I've read that it is posibble in the CFI image using ELF2FLASH params - but is it possible in ECPS flash when several of these params are disabled?
    if it is possible, what shall I do in order for the SW to load to RAM from it's new location?

    Thanks,

    A.G.

  2. #2
    Daixiwen is offline Moderator **Forum Master**
    Join Date
    May 2008
    Location
    Norway
    Posts
    4,421
    Rep Power
    1

    Default Re: SW loading to ECPS flash issue

    You need a custom bootloader. AN458 can help you.

  3. #3
    Join Date
    Apr 2004
    Location
    Palo Alto, CA
    Posts
    864
    Rep Power
    1

    Default Re: SW loading to ECPS flash issue

    On the EPCS side of things, you could use elf2flash to generate a zero offset flash file and then move it wherever you'd like using objcopy (or nios2-elf-objcopy) with the --change-addresses option.

    On the bootloader side of things, you would have to at minimum change how the default bootloader functions. You have sources, so this shouldn't be too difficult.

    Good luck!

    - slacker

Similar Threads

  1. Nios II Simulation issue -- Software issue
    By art_altr_sagem in forum Quartus II and EDA Tools Discussion
    Replies: 3
    Last Post: June 24th, 2009, 08:17 PM
  2. loading a register
    By sumanthhv in forum General Altera Discussion
    Replies: 1
    Last Post: August 21st, 2008, 10:03 PM
  3. loading two fpga devices from the same flash
    By amir hasanovic in forum General Altera Discussion
    Replies: 3
    Last Post: October 25th, 2007, 09:37 PM
  4. Problems when loading .sof file on to flash in DE2
    By mythri in forum General Discussion Forum
    Replies: 2
    Last Post: August 28th, 2006, 08:05 PM
  5. Flash programmer issue with multiple processors
    By bkucera in forum General Discussion Forum
    Replies: 2
    Last Post: August 28th, 2006, 06:42 AM

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
  •