Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12748 Discussions

error with multiprocessor Nios

Altera_Forum
Honored Contributor II
1,251 Views

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
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
545 Views

 

--- 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 ---  

0 Kudos
Altera_Forum
Honored Contributor II
545 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
545 Views

 

--- 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 ---  

0 Kudos
Altera_Forum
Honored Contributor II
545 Views

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
0 Kudos
Reply