Results 1 to 7 of 7

Thread: Make file error in eclipse called from Quartus

  1. #1
    Join Date
    Feb 2013
    Posts
    78
    Rep Power
    1

    Question Make file error in eclipse called from Quartus

    1. Make file error
    2. after programmed to board using verilog file, all lights are on no matter turn on or off switch, is it due to test bench module in top level file?
    will it affected c language file result?


    #define Switches (volatile char *) 0x0003000
    #define LEDs (char *) 0x0003010
    int main()
    {
    while (1)
    {
    *LEDs = *Switches;
    }
    return 0;
    }




    **** Build of configuration Nios II for project testsopc1a ****


    make all
    Info: Building ../testsopc1/
    make --no-print-directory -C ../testsopc1/
    [BSP build complete]
    Info: Compiling light.c to obj/light.o
    nios2-elf-gcc -xc -MP -MMD -c -I../testsopc1//HAL/inc -I../testsopc1/ -I../testsopc1//drivers/inc -DSYSTEM_BUS_WIDTH=32 -D__hal__ -pipe -DALT_NO_INSTRUCTION_EMULATION -DALT_SINGLE_THREADED -O0 -g -Wall -EL -mno-hw-div -mno-hw-mul -mno-hw-mulx -o obj/light.o light.c
    Info: Linking testsopc1a.elf
    nios2-elf-g++ -T'../testsopc1//linker.x' -msys-crt0='../testsopc1//obj/HAL/src/crt0.o' -msys-lib=hal_bsp -L../testsopc1/ -Wl,-Map=testsopc1a.map -O0 -g -Wall -EL -mno-hw-div -mno-hw-mul -mno-hw-mulx -o testsopc1a.elf obj/light.o -lm
    d:/altera/10.0/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: region onchip_memory2_0 is full (testsopc1a.elf section .text)
    d:/altera/10.0/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: region onchip_memory2_0 is full (testsopc1a.elf section .text)
    d:/altera/10.0/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: section .exceptions [00001020 -> 000011b3] overlaps section .rodata [00001020 -> 00001057]
    d:/altera/10.0/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: section .rwdata [0000268c -> 00003cbf] overlaps section .text [000011b4 -> 000034cb]
    d:/altera/10.0/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: testsopc1a.elf: section .exceptions lma 0x1020 overlaps previous sections
    d:/altera/10.0/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: testsopc1a.elf: section .text lma 0x11b4 overlaps previous sections
    collect2: ld returned 1 exit status
    make: *** [testsopc1a.elf] Error 1

  2. #2
    Join Date
    Jul 2009
    Posts
    71
    Rep Power
    1

    Default Re: Make file error in eclipse called from Quartus

    What is the size of your on_chip memory? It seems that you use onchip memory for your application.

  3. #3
    Join Date
    Feb 2013
    Posts
    78
    Rep Power
    1

    Default Re: Make file error in eclipse called from Quartus

    4096 bytes, datawidth = 32

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

    Default Re: Make file error in eclipse called from Quartus

    Quote Originally Posted by martinboy View Post
    4096 bytes, datawidth = 32
    The linker is not able to place your code into this small onchip ram. If you want to run MicroC/OS-II on your Nios then you need must more RAM and therefore you need to find some external memory.

  5. #5
    Join Date
    May 2016
    Posts
    2
    Rep Power
    1

    Thumbs up Re: Make file error in eclipse called from Quartus

    Quote Originally Posted by meds7 View Post
    The linker is not able to place your code into this small onchip ram. If you want to run MicroC/OS-II on your Nios then you need must more RAM and therefore you need to find some external memory.

    Work for me!

    Thank you ! excellent!

  6. #6
    Join Date
    May 2016
    Posts
    2
    Rep Power
    1

    Default Re: Make file error in eclipse called from Quartus

    meds7 Thank you.

  7. #7
    Join Date
    Dec 2016
    Posts
    1
    Rep Power
    1

    Default Re: Make file error in eclipse called from Quartus

    How did you increase your RAM? I have the same problem using quartus 13.01.
    I used SD ram in my qsys but I still have this problem while building the project in E-clipse.

Similar Threads

  1. Replies: 2
    Last Post: February 15th, 2013, 01:51 PM
  2. Replies: 1
    Last Post: January 2nd, 2013, 10:57 PM
  3. Eclipse error 249 related to Quartus 11.1sp2
    By koletta in forum General Altera Discussion
    Replies: 0
    Last Post: May 4th, 2012, 06:22 AM
  4. Replies: 8
    Last Post: February 27th, 2012, 10:14 AM
  5. Replies: 4
    Last Post: December 14th, 2009, 05:40 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
  •