2004-01-13 01:13 AM
2004-01-10 10:10 PM
2004-01-11 02:30 PM
Which kind ST7 MCU you used?
2004-01-11 05:49 PM
Hi Datzmon, Please check the maximum iram and share area allowed in your micro. otherwise attach your complete worksapce.
2004-01-11 08:58 PM
Sounds like you need a larger memory model (move memory stack to long range), personally with the size of micro you are using I would choose a hardware stack model over memory stack.
Regards sjo2004-01-12 03:32 AM
Thank you all
I'm using the ST72F521R9T. I used the large model (''+modml''). it has been linked,but it doesn't work in run time. I tested same software which is compiled in all models. Only ''+modml'' is cruched in run-time. why ? One more strange thing(COSMIC): I compiled for example memory medum''+modmm'',and I expect to get an error if it links with lib file ''libis.st7''.(should link with ''libimm.st7''). howcome? Thanks atz2004-01-12 05:01 AM
Personally I would use mods for that type of micro, it free up your shared space as you now use the hardware stack.
Regrds sjo2004-01-13 01:13 AM
You should compile with +modms model according to the figures shown in your error messages. Locals are in page zero and globals outside. Loading a stack model library on a static model application will produce errors only if functions from the library are actually called by the application and if they have more than one argument.
Regards, jp