Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years ago.
External SRAM
Is mbed using the external SRAM for the stack ? I have ported the ebi test program from the CMSIS code and get some side effects. The ebi bank 0 seems to be initialized by the mbed code. The test is working, but some function calls to printf are scrambled.
Question relating to:
2 Answers
7 years, 12 months ago.
Hi, NuMaker-PFM-NUC472 is equipped with 1MB external SRAM (0x60000000-0x600FFFFF). On mbed, it has arranged for some global/static variables/buffers and heap, and cannot be directly used for test program. The correct use of it is through heap allocation/deallocation (malloc/free in C and new/delete in C++) calls.
7 years, 12 months ago.
Looks like the external SRAM is for the heap and internal SRAM for stack and other data but there are a few object files that place data on the external SRAM too