Forum Discussion
Altera_Forum
Honored Contributor
16 years agoNios II using Eclipse IDE
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, Julien7 Replies
- Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
Ok thanks and do you know if there is a command to save this value into a log file ?
- Altera_Forum
Honored Contributor
You can always just redirect the output to a log file
nios2-elf-size myelf.elf > logfile.log - Altera_Forum
Honored Contributor
Thanks, I'm learning about the Command Shell. Do you know a tutorial that shows all the commands possible ?
Julien. - Altera_Forum
Honored Contributor
Ok I found it.
Thanks for everything, it was very helpful. Julien. - Altera_Forum
Honored Contributor
You found this I guess:
http://www.altera.com/literature/hb/nios2/edh_ed51004.pdf Jake - Altera_Forum
Honored Contributor
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