This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Z-Stack Mesh 1.0.0的CC2538工程中,CC2538的SRAM只能用16K?

Other Parts Discussed in Thread: CC2538, Z-STACK

我用的是Z-Stack Mesh 1.0.0里的CC2538对应的IAR工程,看手册中CC2538的SRAM应该是32K,

但是我用IAR编译程序的时候发现,当使用的DATA段超过16K就会报错。

=============================================================================

100 498 bytes of readonly code memory
932 bytes of readonly data memory
16 384 bytes of readwrite data memory (+ 12 288 absolute)

=============================================================================

我这里有两个疑问:

一是如何设置将32K的RAM都用起来,我看到CC2538.icf文件中有定义:

define region SRAM = mem:[from 0x20004000 to 0x20007FFF];

是改这个地方吗?

二是上面的那个+ 12 288 absolute代表什么,跟前面的readwrite data有何区别?