Skip to main content
Visitor II
May 25, 2018
Question

Unable to Build project

  • May 25, 2018
  • 1 reply
  • 592 views
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.

    This topic has been closed for replies.

    1 reply

    Visitor II
    May 25, 2018
    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.