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
Viki Shi:
如何塞不下,编译出现报错吗?
Kuo Austin:
回复 Viki Shi:
Hi Viki
有build error,function東減西減測試後認為是code size滿了,
Opimizations已開High Size
Viki Shi:
回复 Kuo Austin:
存储的起始地址会有偏移,所以按照116k的大小有可能装不下