2018-01-25 02:06 AM
Hello, I'm using STM8L052R8(64KBytes ROM, 4KBytes RAM) and cosmic compiler.
I can see as below.
#error clnk Debug\dm5xx_stm8l.lkf:14336 (C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\lib\libm.sm8)fmul.o: section boundary crossing (.text:00d5)
The command: 'clnk -l'C:\Program Files (x86)\COSMIC\FSE_Compilers\Lib' -o Debug\dm5xx_stm8l.sm8 -mDebug\dm5xx_stm8l.map Debug\dm5xx_stm8l.lkf ' has failed, the returned value is: 1exit code=1.What can I do?.....
2018-01-25 05:22 AM
Hello,
library functions cannot be linked across the 0xFFFF border: add some code to your application so that the libraries will be 'pushed' to a higher address and the problem will go away.
Regards,
Luca
2018-01-25 07:32 PM
Hi, Luca.
Thanks for your help.
I'm studying now 'CXSTM8_UserGuide.pdf' file, to find how I can 'pushed' to a higher address.
Maybe it need some times for me.
Anyway thnks so much.
2018-01-26 04:17 AM
Hi, Luca.
I'm using Cosmic compiler ( one year free license ), then it is limited 32KBytes.
Is it right?
I can see below message about the Cosmic compiler in ST site.
'Cosmic's toolchain for the STM8 family is part of a complete and uniform product line incorporating over 20 years of innovative design and development. Cosmic tools for STM8, 32K Special Edition limited to 32K bytes of code, one year free license available at Cosmic. '
B.R.
2018-01-26 09:07 AM
Hello,
it was limited to 32kb, but since almost two years there is no limitation anymore.
Anyway, the error you see is not related to any limit in the toolchain (even if you were using an old version, the error message would be completly different), but to what I wrote in my first answer.
Regards,
Luca
2018-02-01 11:26 PM
Hi, everyone.
Can anyone tell me about that how I can use over 32KBytes area?
Which library file do I need modify?
From some day I can use over 32KBytes area.
I cannot see any error message at compile.
I only open and close without modification some library files.
So I checked updated date and time about all library files.
But I cannot see recent date and time.
I don't know how I can use above 32KBytes over area.
It's very strange thing.
B.R.