2018-12-23 07:12 AM
STM32F407VGT6 -> this controller have 192kb of sram, I create a big byte array have 131832 byte and i got an error in Keil.
Any idea why?
Solved! Go to Solution.
2018-12-23 07:54 AM
Datasheet "Figure 18. STM32F40x memory map": The SRAM consists of three blocks, non-contiguos ...
2018-12-23 07:16 AM
2018-12-23 07:54 AM
Datasheet "Figure 18. STM32F40x memory map": The SRAM consists of three blocks, non-contiguos ...
2018-12-23 08:25 AM
So, what happend when i switch on IRAM2?
If IRAM2 is off, i cant use all of 128k sram.
2018-12-23 09:17 AM
You're allocating more than 128KB, and you also have the stack, heap and other variables fighting for the same space.
You should perhaps be using a Scatter File, and defining what goes into the 0x10000000 [64KB] CCM region, like the heap, stack, etc.