--- Quote Start ---
Hi everybody!
I would like to extend this question:
Are there any simple and easy to use tools for windows xp to figure out how many bytes are used in NIOS2 memory?
I got the number of used bytes by "nios2-elf-size" from nios2 command shell. But using this linux tools under windows xp really isn't nice. You always have to start the nios2 command shell first and then you have to enter the path to the elf-file in linux-style (no copy and paste of the windows-path is possible).
All i want to have is quick and simple possiblity to get the number of used bytes in NIOS2 memory (one plain number, no adding of bytes by myself). A windows command-line tool would be nice. Does anything like this exist?
I would even write my tool to parse the *.map file but i couldn't figure out what lines hold the memory information. Could anybody perhaps post a short example how to interpret the *.map file?
FredFlintstone
--- Quote End ---
One day you would hopefully realize that using "Linux" (in fact, cygwin) tools under WinXp (and Win7, less so under Vista) is pretty convenient. Yes, you have to start nios2 command shell first, but there is no need to ever close it. As DSL told you, copy&paste of Windows path works just fine as long as you don't forget to enclose the path in single or double quotes. Assuming you are not on Vista, drag&drop from Windows Explorer works too.
And if it's still to much work for you, nobody prevents you from creating desktop shortcut that will open nios2 command shell in the directory of your choice.
But before you are enlighten, you can download MinGW. The 'size' utility that comes with MinGW works very well with nios2 elf images and does so from "normal" Windows cmd.exe prompt.