Forum Discussion

FZhan39's avatar
FZhan39
Icon for New Contributor rankNew Contributor
6 years ago
Solved

I Can not run my Nios II program, because of "Project does not have an ELF file"

Hello,friends

there is a problem when i used Nios II, "project does not have an ELF file, Please make sure project has been built successfully",

Do anyone kown this issue?

Thanks

  • Hi,

    8192 Bytes is small for an application, please let me know what device family you are using? I normally start with 64000 Bytes and see if the application will fit or not.

    Regards,

6 Replies

  • Ahmed_H_Intel1's avatar
    Ahmed_H_Intel1
    Icon for Frequent Contributor rankFrequent Contributor

    Hi,

    What is the size for your on-chip memory that been vectored as reset memory and exception memory? if it is not an on-chip memory please let me know. It is mainly the size isn't enough or the bsp setting isn't the correct setting for the chosen memory.

    Regards,

  • FZhan39's avatar
    FZhan39
    Icon for New Contributor rankNew Contributor

    Hi,

    It is on chip memory,and the size as following:

    RAM on chip is 8192bytes

    ROM on chip is 8192bytes

    I tried to set the size of RAM and ROM is 4096bytes, but the issue is still..

  • Ahmed_H_Intel1's avatar
    Ahmed_H_Intel1
    Icon for Frequent Contributor rankFrequent Contributor

    Hi,

    8192 Bytes is small for an application, please let me know what device family you are using? I normally start with 64000 Bytes and see if the application will fit or not.

    Regards,

  • FZhan39's avatar
    FZhan39
    Icon for New Contributor rankNew Contributor

    The FPGA is Cyclone 10, I have solved the issue by increasing the RAM.

    Thank you so much!