如上图所示,为什么cc3200的数据和代码都放在sram里面呢,代码不是存储于flash里面的吗?
Viki Shi:
CC3200没有内部flash,只有ram,你可以外接flash
fox:
回复 Viki Shi:
如果没有外接flash的话,程序是存储在ROM里面吗?
fox:
回复 Viki Shi:
sram不能用来储存程序代码吧
Viki Shi:
回复 fox:
ROM中固化了SimpleLink以及一些驱动的固件,CC3200使用的时候要搭配external flash,应用程序存在片外flash中,在RAM中进行调试
Terry Han:
Production version of CC3200 will have 256Kbyte of RAM.16KB is shared with bootloader.
CC3200 does not have the user application flash memory so that we need to use internal RAM for code memory and share the 256KB RAM
SRAM size of 240KB for CC3200 ES 1.33 device
On CC3200 the code is always loaded from the serial flash into SRAM by bootloader and then executed in SRAM
最终你的代码程序: ( code + stack size + dynamic memory needed ) should be within 240 KB (lower 16 KB is used by CC3200 boot-loader)