GNU Linker (MicroBlaze) / debugging problem

Is there anyone that knows some "rule of tumb" when creating a linkerscript? the elffile gives me a good idea on how big the program will be, but the sizes on the stack- and the heep is only a wild guess for me.

I have sometimes a hard time debugging the MicroBlaze because the debugger is somethimes running out of scope, but that happends somethimes with very big stacks- and heaps too. Is it yust something I have to live with or might there be something else that I have overlooked?


Reply to
Loading thread data ...

Working out required stack size isn't easy. One way is to build a call tree (, and then print out the stack pointer in the leaf functions.

Cheers, Jon

Reply to
Jon Beniston

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.