[51] Error[e16]: Segment IDATA_Z (size: 0x58 align: 0) is too long for segment definition: IAR workbench

Status
Not open for further replies.

Hiroshi_S

Junior Member level 1
Joined
Feb 19, 2015
Messages
18
Helped
1
Reputation
2
Reaction score
2
Trophy points
3
Activity points
171
Hi,
I have imported the AT89S52's Keill's c code to IAR workbench, after compiling I am getting this error but in keil it's not showing such error.
/***********This is the error************/
Error[e16]: Segment IDATA_Z (size: 0x58 align: 0) is too long for segment definition. At least 0xf more bytes needed. The problem occurred while processing the
segment placement command "-Z(IDATA)IDATA_I,IDATA_Z,IDATA_N=08-_IDATA0_END", where at the moment of placement the available memory ranges were
"IDATA:b7-ff"
Reserved ranges relevant to this placement:
IDATA:8-9 VREG
IDATA:a-1f IDATA_I
IDATA:21-ff IDATA_I
BIT:0-7 BREG
BIT:80-97 SFR_AN
BIT:a0-b7 SFR_AN

/************************************/

I also think as suggested in error message, it required 0xf more bytes, if we extend this memory, maybe it will be resolved but if to extend the memory, how to do it?
I am new to IAR workbench, Guys kindly give your suggestions and corrections.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…