Reply by Gilles Blanquin July 29, 20032003-07-29

Hi John.

The linker complains because some objects have been generated "SMALL" and
some others "BANKED" (-Mb).
This might be a library issue, like "ansis.lib" is "SMALL" and if you want
to use a "BANKED" version, use the "ansib.lib".
Please check the library currently used in your Codewarrior project.

I hope this help.

Regards,
Gilles
At 03:36 AM 7/29/2003, johnpititto1976 wrote:
>Hi All,
>
>I have been attempting allow banked memory on my MCS12DP256 micro
>with codewarrior 1.2. I found the example Fibo - Flash Banked and
>followed the convention in the prm file and settings on the target
>with the compiler command line argument (-Mb). That all seems ok,
>however, I recieve the errors when I attempt to compile,
>
>L4004: Linking C:\Documents and Settings\johnpi\Desktop\AnaTOC -
>Single Reactor\ETOC\prm\flash.prm as ELF/DWARF format link parameter
>file
>
>Link Error : L1401: Incompatible memory model: SMALL in previous
>files and BANKED in current file
>
>Any Ideas?? Anyone?
>
>Thanks in advance!
>
>Kind Regards,
>
>John Pititto. >-------------------- >
>">http://docs.yahoo.com/info/terms/




Reply by johnpititto1976 July 28, 20032003-07-28
Hi All,

I have been attempting allow banked memory on my MCS12DP256 micro
with codewarrior 1.2. I found the example Fibo - Flash Banked and
followed the convention in the prm file and settings on the target
with the compiler command line argument (-Mb). That all seems ok,
however, I recieve the errors when I attempt to compile,

L4004: Linking C:\Documents and Settings\johnpi\Desktop\AnaTOC -
Single Reactor\ETOC\prm\flash.prm as ELF/DWARF format link parameter
file

Link Error : L1401: Incompatible memory model: SMALL in previous
files and BANKED in current file

Any Ideas?? Anyone?

Thanks in advance!

Kind Regards,

John Pititto.