cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Build project

JOGA RAVINDER
Associate
Posted on May 25, 2018 at 10:22

I am new to ST.

I downloaded and installed STVD and Cosmic Free Compiler on Windows 7

I made a project and trying to build I get the following error message.

----------- Project helloworld - STM8 Cosmic - Configuration Debug -------------

Compiling main.c...

cxstm8 +debug -pxp -no -l +mods0 -pp -i'C:\Program Files\STMicroelectronics\st_toolset\stvd\Hstm8'  -clDebug\ -coDebug\ main.c

main.c:

WIN execution failed

 The command: 'cxstm8 +debug -pxp -no -l +mods0 -pp -i'C:\Program Files\STMicroelectronics\st_toolset\stvd\Hstm8'  -clDebug\ -coDebug\ main.c ' has failed, the returned value is: 2

exit code=2.

helloworld.elf - 2 error(s), 0 warning(s)

Please help me to get started.

1 REPLY 1
Vyacheslav Azarov
Associate III
Posted on May 25, 2018 at 13:51

Check the memories bounds in the project settings. In the database of chips I met inaccuracies. This does not allow automatic configuration when creating a project. But all works all right.