cmsp430iar

Msp430 DATA16_I and DATA16_Z


During my programming activities I encountered a problem with running out of RAM memory.

The message says;

Error[e16]: Segment DATA16_Z (size: 0x638 align: 0x1) is too long for segment definition. At least 0x44 more bytes needed. The problem occurred while  
processing the segment placement command "-Z(DATA)DATA16_I,DATA16_Z,DATA16_N=0200-_SYS_RAM_END", where at the moment of placement  
the available memory ranges were "CODE:20b-7ff" 
   Reserved ranges relevant to this placement: 
   200-7ff              DATA16_I 
Error while running Linker 

So now I would like to have more information about DATA16_I, DATA16_Z and CSTACK on msp430 microcontroller, can anyone help me understand what these memory segments mean?


Solution

  • Simply read your compiler documentation https://wwwfiles.iar.com/msp430/webic/doc/EW430_CompilerReference.pdf

    for example: