Forum : ST7/STM8
Original Post
Post Information | Post |
---|---|
March 17, 2008 - 4:17pm
|
Hi, I have received I have upgraded to the 16kb version of RIDE, and my code space is at 5043kb. My RAM is 253 according to the map report. I am not currently using any EEPROM. I am using the ST7LITE3. Thanks |
Hi Jordan,
This is a linker error, which is documented in the Linker manual:
FATAL 246: MAXIMUM OBJECT SIZE REACHED
Cause: The “Evaluation†or “Lite†version of the linker is being used, which is limited in terms of generated output file. Your project is too large for the evaluation version.
Resolution: Upgrade to the full version of the tools.
Your code size is probably too large.
I hope this helps.
Bruno
Are you sure you still have the error with the 16KB version? Could you confirm?
Are you under RIDE6 or RIDE7?
Thanks,
Francis
Francis,
I am using RIDE7, previously before the upgrade to the 16KB version it would compile up to 1k bytes and then have an error saying evaluation size limit reached. After I upgraded it compiles the full software and shows up at the end when linking the .aof file.
My code size is, from the map file,
EXECUTABLE SUMMARY:
-------------------
Total EEPROM storage requirement: 0000H (0)
Total DATA storage requirement: 0100H (256)
Total CODE storage requirement: 143BH (5179)
In the case you were using RIDE6 then RIDE7, can you also precise if you were using RIDE6 in evaluation mode ?
Thank you
Matloub
HI Jordan
I am asking you this question because we think we reproduced this problem in such conditions
We were able to solve it so please let us know if it was the case
Matloub
matloub,
Sorry, it appears I am using RIDE6.
I have Version 6.10.22 and Build BN745-ST7-ARM-80C51
I must have mistaken the Build 745 number as RIDE7.
I used the RIDE7 16KB Upgrade.
Is there a way around this? Should I reinstall RIDE and get the correct upgrade for it?
Thanks