cancel
Showing results for 
Search instead for 
Did you mean: 

out.elf: cannot generate out.elf - Build command doesn't work.

paolo2
Associate II
Posted on September 30, 2014 at 14:45

Hello,

I installed SPC5Studio 3.0.0, and UDE 4.02.05.

When i build a new project clicking on ''build all'' icon, SPC5Studio doesn't generate out.elf file, so i am not able to debug.

I can debug Software examples for SPC56L-Discovery (dowloaded from the site), because they iclude the correct out.elf file, but if i modify a main.c file, then save and build the project, out.elf isn't updated.

Thanks for any useful response.

Best Regards

Paolo Menoni
11 REPLIES 11
Erwan YVIN
ST Employee
Posted on October 01, 2014 at 09:53

Hello paolo ,

it is better to use the Application Wizard to import SPC56L-Discovery application.

(cf screenshot)

All the application coming SPC5Studio 3.0 application wizard are up-to-date

for out.elf issue, UDE can take the hand on the file out.elf. I recommend before building the SW to stop the debugger.

      Best regards

                Erwan

Erwan YVIN
ST Employee
Posted on October 01, 2014 at 09:54

Here is the screenshot 😉

BR

Erwan

________________

Attachments :

2014-10-01_094357.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qWnD&d=%2Fa%2F0X0000000boX%2FJN014Q1ldSI83iWWWG1WflLBiLQX_lI.Ek849.7cdMk&asPdf=false
Erwan YVIN
ST Employee
Posted on October 01, 2014 at 11:02

Hello Paolo ,

I have found the issue

in the link 

http://www.st.com/web/en/catalog/tools/PF259369#

user.mak is not correct

you have to replace main.c in U_C_SRC

# List of all user C source files

 

U_C_SRC     = ./main.c

 

Sorry for the issue.

we will correct the application inside.

   Best regards

                  Erwan

paolo2
Associate II
Posted on October 01, 2014 at 15:13

Hello Erwan,

many thanks for the prompt reply.

I followed your instruction (i checked user.mak file, and a imported from the application wizard), but build command doesn't work yet.

SPC5Studio doesn't update Out.elf.

I have another prolem: when i load the project, ude shows an error, that i attacched to this message.

Best regards

Paolo Menoni

________________

Attachments :

error.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qZ5n&d=%2Fa%2F0X0000000bp6%2F.IBxgOJg6XVm3HDB3ateauJW68Oe_BsNoZoMV1FqfFw&asPdf=false
Erwan YVIN
ST Employee
Posted on October 01, 2014 at 16:20

Hello Paolo ,

Your debug environment is OK.

i think that your out.elf is not generated

it should be present in build directory

Could you give your console logs ?

Generation and Build(Cf Screenshot)

Best Regards

Erwan

________________

Attachments :

2014-10-01_161208.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qWDQ&d=%2Fa%2F0X0000000bo7%2FOf7Q8QyJD9bYaz7iFEMTeN4iLhs1BQIffaKK6VxeuHs&asPdf=false

2014-10-01_161903.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qVAt&d=%2Fa%2F0X0000000bnt%2FgxW0T6BdX9e4WNOa92YN6ZwWyi8acIToIb5hoR.vVFI&asPdf=false
paolo2
Associate II
Posted on October 02, 2014 at 07:09

Hello Erwan,

I enclosed 3 files.

stepbystep.pdf: that shows how I imported the project.

buildall.bmp: that shows what happens if I click on ''build all''.

aftergenerate.bmp: that shows what happens if I click on ''build all'' after I click on generate application.

Best Regards

Paolo Menoni

________________

Attachments :

afterGenerate.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qZ5s&d=%2Fa%2F0X0000000bp7%2F8zphK406_O8pp5CvioQsvcbcMlLYfO8cjRh4Nr3v7B4&asPdf=false

buildall.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qZ75&d=%2Fa%2F0X0000000bp8%2F7fk2ZrfmZyf0n7Tqxisv2ZIBIq2bRLjpXJzWLDWJqxU&asPdf=false

stepbystep.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qYRE&d=%2Fa%2F0X0000000bp0%2FQwYb2apeX1rEdjYP1jONz0qhkSu7T7W_yLEH5svGl8U&asPdf=false
Erwan YVIN
ST Employee
Posted on October 02, 2014 at 10:31

Hello Paolo ,

The generation is OK.

The build is KO because of make.exe (PATH Issue).

you have a CYGWIN installation in your environment.

Your PATH should have this following content :

C:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.hightec_1.0.0.201306281422\hightec\ppc-ht-eabi\bin;C:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.hightec_1.0.0.201306281422\hightec\bin;C:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.gnu_1.0.0.201306281422\gnutools;

could you give your full installation details ?

Help ==> About SPC5Studio

 

Button Installation Details 

 

and Tab Configuration

 

have you updated into SPC5Studio 3.1.9 ? 

Normally , this issue is corrected on SPC5Studio 3.1.9

Help ==> Install New Software

   Best Regards

                Erwan

paolo2
Associate II
Posted on October 03, 2014 at 08:43

Hello Erwan,

as you requested, i attached a file (configuration.txt) in wich i copied my current spc5 studio configuration.

I attached also a file (installnewsw.pdf): in wich i show my proxy setting, and the step i followed to install new software.the third image, i can

As you can see in the third image i tested internet connection by using Show View ==> Other ==> Internal Web browser.

Unfortunately after i had installed, and had restarted, my version was still 3.0.0, consequently build command didn't work.

According to you should I uninstall, and reinstall?

Best regards

Paolo Menoni

________________

Attachments :

configuration.txt : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qYFw&d=%2Fa%2F0X0000000box%2F3qlt3a9dpqaJ8faqDVhho0Cz_.7VtLDubWjeapRdfsY&asPdf=false

installnewsw.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qYjc&d=%2Fa%2F0X0000000bp4%2FUFnZxEO2NA0wG8dTgkXTu2Eyp_xWEDuVkgn3c45129E&asPdf=false
Erwan YVIN
ST Employee
Posted on October 03, 2014 at 09:36

Hello Paolo ,

Your configuration is good.

you have already the last version of SPC5Studio.

Sorry for the issue.

your version is already up-to-date.

i am sending to you a document

Could you follow the chapter 2 ..

Solution in chapter 2.5 and 2.6.

if the problem is still present

i will send an invitation with teamviewer.

Best Regards

Erwan

________________

Attachments :

SPC5Studio_FAQ_configurations_issue_cx389511_1.0_D2.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qYPN&d=%2Fa%2F0X0000000boz%2FcisdUuIjUBo59hEPiowmLowMAlNm58tSYxxUGtPSWZk&asPdf=false