This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

large size of array defined in ROM

It is a bank code project, total 16 banks and 512K byte extern rom. there are two large size of const arrays which both are larger than 10KByte. Using LX51 linker. I definded these two arrays as below:

code const unsigned char font_data_1[] ={......};
code const unsigned char font_data_2[] ={......};

("......" is standing for initialization code) the linking information is: *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CONST SEGMENT: ?CO?FONT LENGTH: 002800H *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CONST SEGMENT: ?CO?FONT_4C LENGTH: 002774H *** ERROR L120: CONTENT BELONGS TO ERRONEOUS SEGMENT SEGMENT: ?CO?FONT *** ERROR L120: CONTENT BELONGS TO ERRONEOUS SEGMENT SEGMENT: ?CO?FONT_4C Program Size: data=82.0 xdata=2555 const=26092 code=43755 Target not created How to specify these two arrays in rom? by enlarge the const area or someway else?

0