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.

Moving programs from uint buffer in XDATA to flash memory CC2541

Other Parts Discussed in Thread: CC2541, CC2640

Im a electrical engineering student, now I still doing my final project for the graduation. My final project in about CC2541 and when I write program, there are some errors like this.  

Error[e16]: Segment XDATA_I (size: 0xd72 align: 0) is too long for segment definition. At least 0x565 more bytes needed. The problem occurred while processing the segment placement command "-Z(XDATA)XDATA_Z,XDATA_I=_XDATA0_START-_XDATA0_END", where at the moment of placement the available memory 

ranges were "XDATA:16f3-1eff"

Reserved ranges relevant to this placement:
XDATA:1-eff XSTACK
XDATA:f00-1eff XDATA_Z
BIT:0-7 BREG
BIT:a8-af SFR_AN
BIT:e8-ef SFR_AN

Whats is the solution of this problem? or maybe for the long time I write program in RAM memory CC2541? and how to move my program from uint buffer to Flash memory in CC2541? Thanks