Results 1 to 8 of 8

Thread: Downloading ELF process failed while using the external memory present in the board

  1. #1
    Join Date
    Jun 2016
    Location
    Fort Collins, CO
    Posts
    56
    Rep Power
    1

    Default Downloading ELF process failed while using the external memory present in the board

    Hi,

    I'm using the BeMicro Kit and I'm using the external 8MB RAM present in the board. I've added the SDRAM controller in the Qsys along with the NIOS II/e processor and it compiled successfully. When I'm compiling the software in the Eclipse it throws an error " Downloading ELF Process Failed". I tried using the NIOS II command shell to download the elf file but it also gives an error " Verify failed between address 0X0 and 0XFFFF ". I have also attached the error message of the NIOS II command shell and the Qsys screenshot. Can anyone please suggest me where am I going wrong ?
    Note: I've already set the "Reset Vector and Exception Vector to sram"

    Thanks,
    Swarnava Pramanik
    Attached Images Attached Images

  2. #2
    Join Date
    Sep 2012
    Location
    Albuquerque, NM USA
    Posts
    748
    Rep Power
    1

    Default Re: Downloading ELF process failed while using the external memory present in the boa

    It looks like your memory isn't working. To confirm this, run a memory test on the external ram. You've covered up the addresses. Make sure they are correct.

  3. #3
    Join Date
    Jun 2016
    Location
    Fort Collins, CO
    Posts
    56
    Rep Power
    1

    Default Re: Downloading ELF process failed while using the external memory present in the boa

    Quote Originally Posted by Galfonz View Post
    It looks like your memory isn't working. To confirm this, run a memory test on the external ram. You've covered up the addresses. Make sure they are correct.
    Hi Galfonz,

    Thanks for your reply. One thing I notice that in QSYS, the external RAM Chip present in the BeMicro board is not being shown. I'm attaching a screenshot of that. Could you please suggest why the RAM Chip is not being shown. Due to this I choose Micron MT48LC4M32B2 7 chip from the list. I think this might also be the reason.

    Thanks,
    Swarnava Pramanik
    Attached Images Attached Images

  4. #4
    Join Date
    Sep 2012
    Location
    Albuquerque, NM USA
    Posts
    748
    Rep Power
    1

    Default Re: Downloading ELF process failed while using the external memory present in the boa

    DRAM controllers are black magic to me. I always start with a demo that has a working memory controller and then add or remove the component(s) I need to. I'd suggest starting with a BeMicro demo project that uses the memory controller and editing it to your liking.

  5. #5
    Join Date
    Jun 2016
    Location
    Fort Collins, CO
    Posts
    56
    Rep Power
    1

    Default Re: Downloading ELF process failed while using the external memory present in the boa

    Quote Originally Posted by Galfonz View Post
    DRAM controllers are black magic to me. I always start with a demo that has a working memory controller and then add or remove the component(s) I need to. I'd suggest starting with a BeMicro demo project that uses the memory controller and editing it to your liking.
    Hi Galfonz,

    I did the same thing like starting with the demo project. The demo project ran without any error but when I edited the components and added different components, the same error is thrown "Verifying failed at external memory address". Could you please help with your knowledge ?

    Thanks,
    Swarnava Pramanik

  6. #6
    Join Date
    Sep 2012
    Location
    Albuquerque, NM USA
    Posts
    748
    Rep Power
    1

    Default Re: Downloading ELF process failed while using the external memory present in the boa

    Have you verified that your FPGA configuration is running. Blink an LED or pulse a GPIO pin. This is just to verify that the FPGA configured properly. You didn't mention if the demo project you started from uses external RAM. If you haven't already, try compiling from source a demo project that uses the external ram and verify that it works. Next, run memory test software on that system to ensure that hardware is working.

    Starting from a demo project that you compiled, add and remove components one at a time. Each time run the memory test to verify that memory isn't broken. Save a copy of every step so you can go back if necessary. Keep going until you find a change that breaks external memory. That will give you a starting point for debugging.

  7. #7
    Join Date
    Jun 2016
    Location
    Fort Collins, CO
    Posts
    56
    Rep Power
    1

    Default Re: Downloading ELF process failed while using the external memory present in the boa

    Quote Originally Posted by Galfonz View Post
    Have you verified that your FPGA configuration is running. Blink an LED or pulse a GPIO pin. This is just to verify that the FPGA configured properly. You didn't mention if the demo project you started from uses external RAM. If you haven't already, try compiling from source a demo project that uses the external ram and verify that it works. Next, run memory test software on that system to ensure that hardware is working.

    Starting from a demo project that you compiled, add and remove components one at a time. Each time run the memory test to verify that memory isn't broken. Save a copy of every step so you can go back if necessary. Keep going until you find a change that breaks external memory. That will give you a starting point for debugging.
    Hi Galfonz,

    Thanks for your reply. The Demo project uses an external RAM. I took the Demo project template of Qsys and added the extra component of my project into it and removed some unnecessary component from the Demo project template like the temperature sensor IP core. You also mentioned about memory test, could you please let me know how to do this memory test ?

    Thanks,
    Swarnava Pramanik

  8. #8
    Join Date
    Sep 2012
    Location
    Albuquerque, NM USA
    Posts
    748
    Rep Power
    1

    Default Re: Downloading ELF process failed while using the external memory present in the boa

    Here is a good article on testing memory. The code they show has been around forever. http://www.esacademy.com/en/library/...y-testing.html

Similar Threads

  1. Downloading ELF Process failed!
    By Vincent_Lau in forum General Discussion Forum
    Replies: 22
    Last Post: January 8th, 2018, 08:03 PM
  2. Downloading ELF Process failed
    By xxzjwcrw in forum General Discussion Forum
    Replies: 23
    Last Post: March 17th, 2017, 05:09 AM
  3. Downloading Elf Process failed
    By Steve.Swaringen in forum Quartus II and EDA Tools Discussion
    Replies: 8
    Last Post: August 24th, 2016, 06:55 AM
  4. Downloading ELF Process Failed
    By kaushal in forum General Discussion Forum
    Replies: 5
    Last Post: March 15th, 2012, 01:24 AM
  5. Downloading ELF Process failed
    By qawasaza in forum General Discussion Forum
    Replies: 3
    Last Post: March 9th, 2012, 04:44 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
  •