Forum Discussion
Altera_Forum
Honored Contributor
14 years agoTrouble is the GUI tools are a moving target! They also hide some stuff that you really need to know if you are intending building some bespoke system rather than showing you can follow the recipe book for the examples.
Last time I tried to use the GUI stuff (to test some custom instructions) I had to remove the initialisers for a 12k internal memory block because the linker had appended the data to the code segment (8k tightly coupled) and included code to copy it to the required address. Clearly this won't work! In this case I just removed the initialiser since it wasn't needed for the testing I was doing. One way to find out what the tool chain has actually generated is by running 'objdump -p prog' and 'objdump -h prog' on the built program file. The first is the program sections - ie information for the loader, the second the actual sections that make up the program. Any version of 'objdump' will understand those tables, doesn't have to be the nios2 version.