cc2650 code size

Hi All

請問一下,我從.map中計算code size為116kbytes,也和.bin file大小一致,

但應還沒超過cc2650 flash 128k啊,為何code塞不下去了??(驗證過是code 塞不下了)

計算方式如下:

[CCS]bim_extflash.map
Bim_extflash Size:d4+500+fac+54 = 4638bytes
FLASH_PAGE0 : d4
FLASH_DRIVER: 500
FLASH_PAGE31: fac
CCFG_CONFIG : 54
[x]SRAM : 1b18

[IAR]
app.map
Zigbee Project
App Size:51575bytes + 2991bytes = 54566
51575 bytes of readonly code memory <== fail, code size
2991 bytes of readonly data memory
[x]13132 bytes of readwrite data memory

zstack.map
Zstack Size:60330bytes + 436bytes = 60766
60330 bytes of readonly code memory
436 bytes of readonly data memory
[x]2212 bytes of readwrite data memory

Total:4368 + 54566 + 60766 = 119700bytes/1024 = 116kbytes

3 个回复