1
NXPTM M522XX, KINETIS and i.MX RT / Error in running with const allocated over 128k of flash
« on: January 02, 2008, 03:50:39 PM »
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 bigger bootlader (sd-card bootloader..), 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 0x5000 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
Fabio
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 bigger bootlader (sd-card bootloader..), 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 0x5000 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
Fabio