Hi,
Hi have a project which uses large arrays of constant data (14 arrays of 2048 bytes each and a bigger one, so the total object size of the arrays is 36082 bytes)
And I am a little bit lost on how to compile the application and make the PRM files.
By using the default settings generated by codewarrior I get the expected error that the data does not fit in ROM.
Link Error : L1102: Out of allocation space in segment ROM at address 0x7130
I started with SMALL memory model.
Then, I added ROM1 = READ_ONLY 0xC000 TO 0xFFAD; to SEGMENTS and ROM1 to DEFAULT_ROM, COPY INTO ROM, ROM1;
With the compiler option -OnB=b, as stated in the prm file.
Still does not provide enough space.
So I added a new segment called ROM3 = READ_ONLY 0x8000 TO 0xBFAD; and to default_rom, but despite it gives me enough space, when running it does not work.
How do I solve the problem os use large arrays?
Thanks for your help