请教个内存使用的问题!

2019-07-20 22:26发布

STM32F407的内存有:
七条被控总线:
— 内部 Flash ICode 总线
— 内部 Flash DCode 总线
— 主要内部 SRAM1 (112 KB)
— 辅助内部 SRAM2 (16 KB)
— 辅助内部 SRAM3 (64 KB)(仅适用于 STM32F42xxx 和 STM32F43xxx 器件)

它最少有128K内存,但我在MDK中只能使用到64K。
1.在MDK中"DEVICE"中选择的”STM32F407ZG"显示为:
The STM32F4 family incorporates high-speed embedded memories and an extensive range of enhanced I/Os and peripherals connected to two APB buses, three AHB buses and a 32-bit multi-AHB bus matrix.

  - 64-Kbyte of CCM (core coupled memory) data RAM
  - LCD parallel interface, 8080/6800 modes
  - Timer with quadrature (incremental) encoder input
  - 5 V-tolerant I/Os
  - Parallel camera interface
  - True random number generator
  - RTC: subsecond accuracy, hardware calendar
  - 96-bit unique ID

2.在编译中显示:
Program Size: Code=84002 RO-data=1430 RW-data=748 ZI-data=413156  
再大就显示内存超了,也就是它大约64K多一点,到不了128K,请问这是怎么回事?
如何能解决?

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。