^

AR# 35947 12.1 EDK - SDK Error: Could not find frame base for "<Function Name>"

I get the following error during debug in SDK although there were no errors during compile time.

Error: Could not find frame base for " < Function Name > "

This error indicates stack corruption due to inadequate space allocated for the stack. To resolve this error, increase the stack space in the linker script, re-compile the code, and then run it through debug.

Note:

1. There is not an easy way to determine the stack size requirement. It is best to start with a large number and then reduce it as you go to a release build of code.
2. Stack requirements are typically high when there are a lot of nested function calls.
3. Libraries with file systems like XilFATFS, Xilmfs, etc., require considerably larger amounts of stack space.

AR# 35947
Date Created 06/01/2010
Last Updated 02/10/2011
Status Active
Type
Devices
  • Virtex-4 FX
  • Virtex-4 LX
  • Virtex-4 QPro/R
  • More
  • Virtex-4 SX
  • Virtex-5 FXT
  • Virtex-5 LX
  • Virtex-5 LXT
  • Virtex-5 SXT
  • Virtex-5 TXT
  • Virtex-5Q
  • Virtex-6 CXT
  • Virtex-6 HXT
  • Virtex-6 LX
  • Virtex-6 LXT
  • Virtex-6 SXT
  • Less
Tools
  • ISE Design Suite - 11.1
  • ISE Design Suite - 11.2
  • ISE Design Suite - 11.3
  • More
  • ISE Design Suite - 11.4
  • ISE Design Suite - 11.5
  • ISE Design Suite - 12.1
  • EDK - 11.1
  • EDK - 11.2
  • EDK - 11.3
  • EDK - 11.4
  • EDK - 11.5
  • EDK - 12.1
  • Less
Feed Back