Hi,
before I'll continue I would like to ask you whether you use both nonbanked spaces
0x4000-0x7FFF and 0xC000-0xFFFF. Of course, the second one I am sure you are using but what about the first one?
I am asking because usually the space is disabled by defualt in the prm file. (on botton of following Placement)
PLACEMENT /* here all predefined and user segments are placed into the SEGMENTS defined above. */
_PRESTART, /* Used in HIWARE format: jump to _Startup at the code start */
STARTUP, /* startup data structures */
ROM_VAR, /* constant variables */
STRINGS, /* string literals */
VIRTUAL_TABLE_SEGMENT, /* C++ virtual table segment */
//.ostext, /* eventually OSEK code */
NON_BANKED, /* runtime routines which must not be banked */
COPY /* copy down information: how to initialize variables */
/* in case you want to use ROM_4000 here as well, make sure
that all files (incl. library files) are compiled with the
option: -OnB=b */
INTO ROM_C000/*, ROM_4000*/;
...
...
...
Best regards,
Ladislav