Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

error with multiprocessor Nios

Hi,

I'm trying the multiprocessor design with 3 NIOS II, but when i run my design, i get this message with the first CPU, i think that this is related to the flash programming, can you tell me how to overcome this. Thanks a lot for your help.

make -s all

Compiling hello_world_multi.c...

../hello_world_multi.c:36:3: warning: no newline at end of file

Linking hello_multi_cpu1.elf...

Info: (hello_multi_cpu1.elf) 67 KBytes program size (code + initialized data).

Info: 1980 KBytes free for stack + heap.

Post-processing to create flash.flash

Expected integer value for option 'reset'

Value was: ''

Using default value: -1

26-déc.-2005 12:53:20 - (GRAVE) elf2flash: Read error: File not found: /

26-déc.-2005 12:53:20 - (GRAVE) elf2flash: Error reading boot copier

26-déc.-2005 12:53:20 - (GRAVE) elf2flash: Error generating Flash file, exiting

make: *** [flash.flash] Error 5

Build completed

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by suemam@Dec 27 2005, 02:28 PM

    hi,

    i'm trying the multiprocessor design with 3 nios ii, but when i run my design, i get this message with the first cpu, i think that this is related to the flash programming, can you tell me how to overcome this. thanks a lot for your help.

    make -s all

    compiling hello_world_multi.c...

    ../hello_world_multi.c:36:3: warning: no newline at end of file

    linking hello_multi_cpu1.elf...

    info: (hello_multi_cpu1.elf) 67 kbytes program size (code + initialized data).

    info: 1980 kbytes free for stack + heap.

    post-processing to create flash.flash

    expected integer value for option 'reset'

    value was: ''

    using default value: -1

    26-déc.-2005 12:53:20 - (grave) elf2flash: read error: file not found: /

    26-déc.-2005 12:53:20 - (grave) elf2flash: error reading boot copier

    26-déc.-2005 12:53:20 - (grave) elf2flash: error generating flash file, exiting

    make: *** [flash.flash] error 5

    build completed

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=11808)

    --- quote end ---

    --- Quote End ---

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi suemam,

    Sorry about that. I did not get my comments in. I just started working with the tutorial. I am not sure of your problem but to rule out other stuff I would retarget my load for DDR or SDRAM and see what you get. Flash can be problematic at times. I am also having problems with this tutorial but I am able to compile.

    -Baycool
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by baycool+dec 29 2005, 06:34 pm--><div class='quotetop'>quote (baycool @ dec 29 2005, 06:34 pm)</div>

    --- quote start ---

    <!--quotebegin-suemam@Dec 27 2005, 02:28 PM

    hi,

    i&#39;m trying the multiprocessor design with 3 nios ii, but when i run my design, i get this message with the first cpu, i think that this is related to the flash programming, can you tell me how to overcome this. thanks a lot for your help.

    make -s all

    compiling hello_world_multi.c...

    ../hello_world_multi.c:36:3: warning: no newline at end of file

    linking hello_multi_cpu1.elf...

    info: (hello_multi_cpu1.elf) 67 kbytes program size (code + initialized data).

    info: 1980 kbytes free for stack + heap.

    post-processing to create flash.flash

    expected integer value for option &#39;reset&#39;

    value was: &#39;&#39;

    using default value: -1

    26-déc.-2005 12:53:20 - (grave) elf2flash: read error: file not found: /

    26-déc.-2005 12:53:20 - (grave) elf2flash: error reading boot copier

    26-déc.-2005 12:53:20 - (grave) elf2flash: error generating flash file, exiting

    make: *** [flash.flash] error 5

    build completed

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=11808)

    --- quote end ---

    --- Quote End ---

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=11851)</div>

    [/b]

    --- Quote End ---

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Baycool,

    Thanks a lot for your message, i&#39;m going to send to you the name of the target board that i&#39;m using. till now i didn&#39;t get solution of this matter, i continue to struggle with this error.

    thanks