2013-01-02 01:32 AM
Hi friends,
I am new to stm microcontroller, when i am compiling my project with st visual develop with cosmic compiler it giving an error like this:&sharperror clnk Debug\stvd_project.lkf:1 no default placement for segment .dataeeprom&sharperror clnk Debug\stvd_project.lkf:1 no default placement for segment .LPRUN The command: ''clnk -l''C:\Program Files\COSMIC\CXSTM8_EVAL\Lib'' -o Debug\stvd_project.sm8 -mDebug\stvd_project.map Debug\stvd_project.lkf '' has failed, the returned value is: 1exit code=1.How can i solve this. #cosmic-m24lr-build2013-01-02 11:58 PM
You First Follow The Instruction's Provide in the ''
Getting started with the STM8S and STM8A''...
In the STM website and Compile Your Project It will Compiling...2013-01-03 12:04 AM
Otherwise You Follow the STM Website..For the Compiling Procedure's...Your Steps to Creste Project is Wrong So only You Get Live This Error..So in That There is one pdf is present in that How to compile in the STVD is Provided.So,You Follow that Pdf..ALL THE BEST.
2013-01-03 07:18 PM
2014-03-11 09:37 AM
Hello, I am having a similar error message when I build my codes using the ''release'' mode in order to generate the .s19 file before programming my MCU. Before that, I already build successfully my codes with the ''debug'' mode. The only thing I modified in my code for the ''release'' mode was that I uncommented one line which defined my target STM8L device.
I am using Cosmic. The codes where downloaded fromhttp://www.st.com/web/en/catalog/tools/FM116/SC1444/PF253360
.Thanks in advance.