This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Stask overflowing

Stask overflowing Hello Everyone! I'm a beginner of the STM32F4 microcontroller, and I wanted to ask where the file with the .map rasher is. In my task, many arrays are used, and in the Watch window I see only the first elements of these arrays, I wanted to see the Stack and Heap, thank you.

  • The .MAP is usually in the output directory if the linker completes. Double clicking on the top level project tree should open the map file.

    The memory view should show you Heap_Mem or Stack_Mem, and you can also plug in the stack pointer.

    Make sure your initial stack pointer covers your expected local/auto variable usage, and that the heap covers your malloc() usage. Check that malloc() doesn't return NULL.