2004-01-13 1:13 AM
2004-01-10 10:10 PM
2004-01-11 2:30 PM
Which kind ST7 MCU you used?
2004-01-11 5:49 PM
Hi Datzmon, Please check the maximum iram and share area allowed in your micro. otherwise attach your complete worksapce.
2004-01-11 8: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 3: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 5: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 1: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, jpWe’re moving the ST Community to a new platform to give you a better and more reliable community experience.