Fabio Cavallotti

Error in running with const allocated over 128k of flash

Discussion created by Fabio Cavallotti on Jan 2, 2008
Latest reply on Jan 7, 2008 by Fabio Cavallotti
I use MCF52233 (256k of flash) and Codewarrior 6.3
I have a program greater than 128k of flash and this problem:
If I compile from address 0 the program goes well.
If I compile from address 0x5000, because I have implemented a bootlader, some const (that are allocated over 128k) result corrupted. I can say this because I see on the display some const (graphics) wrong. Variables are well shown on the display.

If I compile from addess 0x500 and the program is less than 128k it goes well.

Code mode and data mode is already far (32bit)

Can someone help me?
best regards