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++
공지
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Nios II using Eclipse IDE

Altera_Forum
명예로운 기여자 II
4,053 조회수

Hello, 

 

I've built an SOPC system with SOPC Builder, and I've written my code using Eclipse IDE. The testboard I'm using is a Bemicro Cyclone III. 

 

Everything is working fine but now, I'm looking for as much as possible information located into log files. Right now, I've only found one log file (.metadata\.log). But it is not enough. 

 

Do you know a way to get more log files (or more information into the previous one) ? For example, I don't even know where does the size of my code is saved. 

 

Thanks, 

 

Julien
0 포인트
7 응답
Altera_Forum
명예로운 기여자 II
1,114 조회수

I don't know that there are many useful log files. The console gives all information for the build. You can get the size of your code by opening a NIOS II command shell and running nios2-elf-size on your .elf file. 

 

Jake
0 포인트
Altera_Forum
명예로운 기여자 II
1,114 조회수

Ok thanks and do you know if there is a command to save this value into a log file ?

0 포인트
Altera_Forum
명예로운 기여자 II
1,114 조회수

You can always just redirect the output to a log file 

 

nios2-elf-size myelf.elf > logfile.log
0 포인트
Altera_Forum
명예로운 기여자 II
1,114 조회수

Thanks, I'm learning about the Command Shell. Do you know a tutorial that shows all the commands possible ?  

 

Julien.
0 포인트
Altera_Forum
명예로운 기여자 II
1,114 조회수

Ok I found it.  

 

Thanks for everything, it was very helpful. 

 

Julien.
0 포인트
Altera_Forum
명예로운 기여자 II
1,114 조회수
0 포인트
Altera_Forum
명예로운 기여자 II
1,114 조회수

Exactly sir, 

 

I've found everything excepts one command line : how to copy the console content into a log file ?  

 

For example, my console content looks like : 

 

**** Build of configuration Debug for project bemicro_led_control **** 

 

make -s all includes  

Compiling main.c... 

In file included from /cygdrive/c/altera/90/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/include/stdio.h:34, 

from ../main.c:3: 

/cygdrive/c/altera/90/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/include/stddef.h:213: error: syntax error before "typedef" 

make: *** [obj/main.o] Error 1 

Build completed in 6.782 seconds 

 

The error is made on purpose. 

 

Thanks, 

 

Julien
0 포인트
응답