I use BF518 in VisualDSP 5.0++. How can I see the usage of L1 in real time in the emulator?
You can use the Linker Map File, generated by enabling the option "Project Options: Link: General: Generate Symbol Map" to view the static memory usage of your application (this will never change at run-time).
At run time the dynamic memory usage will change. We provide a "heap_space_unused()" function in our runtime library that lets you query the current state of the heap to determine how much space is available. You can refer to the VisualDSP++ help for more information on this function.
One final option is to use the Expert Linker. This is not "real time", as it does not update during an application's execution, however when the target is halted you can view the Heap and Stack usage by enabling the option "Show stack/heap usage" in the Global Properties, as described at 'Help: Contents: Graphical Environment: Expert Linker: How to...: Specify General Options: Viewing Stack and Heap Usage'.
Retrieving data ...