2025-01-23 07:09 PM
Hi All,
I'm trying to implement the DALISlave Library from AN3298 found here: https://www.st.com/en/embedded-software/stsw-stm8025.html
I'm using STVD (which is new to me) I have followed all the instructions, and been issued a license for the cosmic compiler, but i continually get this error:
----------- Project stm8dalislave - STM8 Cosmic - Configuration Debug -------------
Removing intermediate files ... Done!
----------- Project stm8dalislave - STM8 Cosmic - Configuration Debug -------------
Compiling ..\..\..\libraries\dalistack\src\eeprom.c...
cxstm8 +mods0 +debug -pxp +compact -pp -l -dSTM8S105 -i..\..\inc -i..\..\..\Libraries\STM8S_StdPeriph_Driver\inc -i..\..\..\Libraries\DALIStack\inc -i"C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Hstm8" -clDebug\ -coDebug\ ..\..\..\libraries\dalistack\src\eeprom.c
#error cpstm8 C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Hstm8\mods0.h:1 FlexLM License file does not support this version.
..\..\..\libraries\dalistack\src\eeprom.c:
The command: "cxstm8 +mods0 +debug -pxp +compact -pp -l -dSTM8S105 -i..\..\inc -i..\..\..\Libraries\STM8S_StdPeriph_Driver\inc -i..\..\..\Libraries\DALIStack\inc -i"C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Hstm8" -clDebug\ -coDebug\ ..\..\..\libraries\dalistack\src\eeprom.c" has failed, the returned value is: 1
exit code=1.
stm8dalislave.elf - 2 error(s), 0 warning(s)
The main error seems to be: "FlexLM License file does not support this version"
As far as i can tell, i have the latest version of everything, all downloaded and licensed today, trying to compile a blank brand new workspace also fails with the same error, what am i doing wrong?
Solved! Go to Solution.
2025-01-23 07:33 PM
Hi All,
so it seems the version i downloaded from the cosmic website isn't the latest version, i installed EIDE extension for VSCode, which downloaded a newer version of the cosmic complier. copy pasted the newer version over into the original install path and now STVD happily compiles with no errors.
Very strange, but problem solved.
2025-01-23 07:33 PM
Hi All,
so it seems the version i downloaded from the cosmic website isn't the latest version, i installed EIDE extension for VSCode, which downloaded a newer version of the cosmic complier. copy pasted the newer version over into the original install path and now STVD happily compiles with no errors.
Very strange, but problem solved.