TI中文支持网
TI专业的中文技术问题搜集分享网站

Error[e16]: Segment XDATA_Z (size: 0x1c8e align: 0) is too long for segment definition. At least 0xf more bytes needed. The problem occurred while processing the segment placement command "-Z(XDATA)XDATA_Z,XDATA_I=_XDATA_START-_XDATA_END",

Error[e16]: Segment XDATA_Z (size: 0x1c8e align: 0) is too long for segment definition. Atleast 0xf more bytes needed. The problem occurred while processing the segmentplacement command "-Z(XDATA)XDATA_Z,XDATA_I=_XDATA_START-_XDATA_END",where at the moment of placement the available memory ranges were "XDATA:281-1eff" Reserved ranges relevant to this placement: XDATA:1-280 XSTACK XDATA:281-1eff XDATA_Z BIT:0-7 BREG BIT:80-97 SFR_AN BIT:a0-af SFR_AN BIT:b8-c7 SFR_AN BIT:e8-ef SFR_ANError while running Linker

RAM不够用了么?????????

Viki Shi:

按照报错信息,是的。但是造成这个报错的原因有多种,首先你可以更新一下IAR版本,我记得旧版本的IAR容易出这个报错;第二,根据下面链接的帖子更改一下配置:blog.csdn.net/…/34108663

ZANGk:

回复 Viki Shi:

调整 INT_HEAP_LEN这个参数可以编译通过;

Alvin Chen:

回复 ZANGk:

是因为你的multi role主从一体导致了原来的空间不足了

ZANGk:

回复 Alvin Chen:

是这样的。调整INT_HEAP_LEN后期会有什么影响么?

Alvin Chen:

回复 ZANGk:

不能太大,要给你的应用程序留出空间。

ZANGk:

回复 Alvin Chen:

OK ,3q

赞(0)
未经允许不得转载:TI中文支持网 » Error[e16]: Segment XDATA_Z (size: 0x1c8e align: 0) is too long for segment definition. At least 0xf more bytes needed. The problem occurred while processing the segment placement command "-Z(XDATA)XDATA_Z,XDATA_I=_XDATA_START-_XDATA_END",
分享到: 更多 (0)