cancel
Showing results for 
Search instead for 
Did you mean: 

M24LR Discovery Stock Firmware not compiling

anthonyanthony9
Associate II
Posted on April 24, 2016 at 11:36

Hi All,

I have downloaded the stock M24LR firmware from the official link found

http://www2.st.com/content/st_com/en/products/embedded-software/st25-nfc-rfid-software/stsw-m24lr016.html

.

I have also downloaded STVD for STM8 found

http://www2.st.com/content/st_com/en/products/development-tools/software-development-tools/stm8-software-development-tools/stm8-programmers/stvd-stm8.html

.

I open the example firmware in STVD, and attempt to compile the project. I get the following error:

----------- Project discover - STM8 Cosmic - Configuration Debug -------------

Compiling ..\..\src\main.c...

cxstm8 +mods0 +debug -pxp -no -pp -l -dSTM8L15X_MD -dHSE_VALUE=4000000 -i..\..\..\libraries\stm8l15x_stdperiph_driver\inc -i..\..\..\..\libraries\stm8l15x_stdperiph_driver\inc -i..\..\inc -i..\..\..\..\librairies\stm8l15x_stdperiph_driver\inc -iC:\Hstm8  -clDebug\ -coDebug\ ..\..\src\main.c

Error creating process for executable cxstm8

The system cannot find the file specified.

Failed to create process.

main.o - 1 error(s), 0 warning(s)

#stvd
1 ACCEPTED SOLUTION

Accepted Solutions
anthonyanthony9
Associate II
Posted on April 24, 2016 at 17:17

Ok so I figured out the cause of the problem. If you read section 1.3 of the ''ST Visual Development.pdf'' in the release notes provided with STVD you will find the following information:

''STVD Release 4.3.9 was validated using the Cosmic C toolset versions 4.4.2 for STM8. In order to use the Cosmic C toolset with STVD, the cvdwarf.exe Cosmic convertor is needed to generate the .elf debug information files required by STVD. The cvdwarf.exe Cosmic converter is included in the Cosmic C toolset versions 4.2a and later. User can download this version or a later one from the www.cosmic-software.com web page.''

Therefore to resolve the issue you need to install the cosmic C compiler as well as STVD in order to compile the project. You can find the download link to this compiler below:

http://cosmic-software.com/download.php#stm8

View solution in original post

1 REPLY 1
anthonyanthony9
Associate II
Posted on April 24, 2016 at 17:17

Ok so I figured out the cause of the problem. If you read section 1.3 of the ''ST Visual Development.pdf'' in the release notes provided with STVD you will find the following information:

''STVD Release 4.3.9 was validated using the Cosmic C toolset versions 4.4.2 for STM8. In order to use the Cosmic C toolset with STVD, the cvdwarf.exe Cosmic convertor is needed to generate the .elf debug information files required by STVD. The cvdwarf.exe Cosmic converter is included in the Cosmic C toolset versions 4.2a and later. User can download this version or a later one from the www.cosmic-software.com web page.''

Therefore to resolve the issue you need to install the cosmic C compiler as well as STVD in order to compile the project. You can find the download link to this compiler below:

http://cosmic-software.com/download.php#stm8