Forum Discussion
Altera_Forum
Honored Contributor
13 years agoNIOS Software appears to restart
I built a first generation "larger than life" version of a product using an EP4CGX75 FPGA, and got my system and software running. I now have an ultra-miniature version of this using an EP4CGX15 part...
Altera_Forum
Honored Contributor
13 years agoWell, here's where I show that I'm stretching myself by writing software....
OK. I just went back and checked. The new and original designs both have the same-sized single hunk of memory and all the sections use this (.heap, .rodata, .rwdata, .stack, .text). In both cases, the size shown in the BSP editor matches what exists in the system. * Do I have to do anything else other than generate a new BSP to make sure that the linker does the right thing? * How can I verify the size of the allocated areas? * Shouldn't I expect to see an error like "insufficient memory" if it doesn't fit? I can set a breakpoint and demonstrate that the program goes awry (in one case) at a printf. This seems to match your hypothesis that the stack may not be big enough.