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

Question about RAM of microcolntroller

I have some questions regarding RAM, ROM and Flash area of microcontroller.
A. How is it to know the maximum size of stack possible to assign when developing a program for a microcontroller?
B. Size of SRAM is written in datasheet. How should we be careful not to exceed this value while developing program?
for example STM32F407VGT6 has 192KByte SRAM and upto 1MByte Flash memory.
after compiling program compile report is:
Code=143384 RO-data=14320 RW-data=1016 ZI-data=74232

if there is no need for heap memory what should be the best size of stack according to compile information?

0