cancel
Showing results for 
Search instead for 
Did you mean: 

SPC5Studio (V3-V2) Can not Code Generated for SPC560Bxxx

orhanyilmaz
Associate II
Posted on June 11, 2014 at 14:55

Hello,

I'm trying to create new project (Starting Code Generating) with SPC5 Studio Version (2 or 3) for SPC56B/Cxx Series. But It doesn't generated. SPC5 Console Out:

Begin processing component resource com.st.tools.spc5.components.platform.spc560bcxx_1.0.0.201405131114/component/root_wo/
> Processing main.c
> Processing debug.wsx
> Processing stm_xpc560b_minimodule_debug_jtag.cfg
> Processing user.mak
Begin processing component resource com.st.tools.spc5.components.platform.spc560bcxx_1.0.0.201405131114/component/root_wa/
> Processing application.ld.ftl
Error: Expression conf.instance.runtime_settings.irq_stack_size.value[0] is undefined on line 28, column 29 in application.ld.ftl.
Error: FMPP processing session failed.
Error: An error occurred while generating component SPC560B/Cxx Platform Component
Begin processing component resource com.st.tools.spc5.components.platform.spc560bcxx_1.0.0.201405131114/component/cfg/
> Processing boot.h.ftl
> Processing platform.h.ftl
Begin processing component resource com.st.tools.spc5.components.platform.spc560bcxx_1.0.0.201405131114/component/mak/
> Processing component.mak.ftl
Begin processing component resource base files
> Processing components.c.ftl
> Processing components.h.ftl
> Processing components.mak.ftl
----------------------------------------------------------------------------------------------------
Application Generation Summary
----------------------------------------------------------------------------------------------------
SPC560B/Cxx Platform Component ...ERROR!

What should I do? #code-generate-error #spc5studio #irq-stack-size-error
1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee
Posted on June 16, 2014 at 17:40

Thank you for your positive feedback 😉

The new SPC5Studio core version has been submitted in the official update site to correct the string class issue :

http://spc5.drive.cloudforge.com/projects/spc5releases/SPC5Studio_Update_Site

  Best regards

                  

                  Erwan

View solution in original post

15 REPLIES 15
Erwan YVIN
ST Employee
Posted on June 12, 2014 at 09:45

Hello Yilmaz ,

From now, It is better to use the version 3.0.

Do you use a test application from ''SPC5Studio Application Wizard'' ?

(New ==> SPC5Studio Wizard)

could you send us your file configuration.xml by attachment directly in the forum?

we will correct it to become your application compliant for 3.0.

   Best Regards

               Erwan YVIN

Erwan YVIN
ST Employee
Posted on June 12, 2014 at 10:01

Dear Yilmaz ,

I understand your issue 😉

If you want to import a test application  from SPC5Studio 2.0 to SPC5Studio 3.0.

In SPC5Studio 3.0, after the import, it is important to save your application.

(NB : you can notice the ''Dirty'' decorator on your configuration editor)

After the ''SAVE procedure'' (configuration.xml), SPC5Studio 3.0 will update automatically your configuration.xml. 

You can generate and compile your application.

   Best regards

              Erwan

orhanyilmaz
Associate II
Posted on June 12, 2014 at 10:33

Hello,

Thanks for reply.

I'm creating a new project.

My states;

File >New>SPC5 C/C++ Application>''Project name''>Finish

and open

configuration.xml with

SPC5 Application Configuration

Structure Add..>My chip select(SPC560B/Cxx Platform....>Specific Model(SPC560B50L5) and save.

after Code Generate click. but irq stack size error.

Export >Archive file is adding.(Project file)

Thanks a lot.

Best Regarts

Orhan YILMAZ

________________

Attachments :

proce.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qX7Y&d=%2Fa%2F0X0000000boe%2FKKuyomiMn9LZI.tLlmx0AkMLYYWTdqN7R8Z6G50_YS8&asPdf=false
Erwan YVIN
ST Employee
Posted on June 12, 2014 at 11:38

Hello Yilmaz ,

Could you confirm that the versionof  SPC5Studio ?

“Help

è

About SPC5Studio�

For your information, your componentsdirectory are not correct.

It contains  a leopard component“spc56elxx_platform_componentâ€� for BCXX

In SPC5Studio 3.0,

Here are the steps :

In your PROCE project:

1)

     

Close “configuration.xml� with

SPC5 Application Configuration

2)

      

Reopen “configuration.xml� with

SPC5 Application Configuration

You should see a popup

“Your application contains updatedcomponents/properties see log for futher details. Note: save the editor contentto apply changes�

And this following warning.

----------------------------------------------------------------------------------------------------

Application Generation Summary

----------------------------------------------------------------------------------------------------

SPC560B/Cxx Platform Component

...DONE!

Warning: Configurationsetting ''ırq_stack_size'' not found in instance of component''com.st.tools.spc5.components.platform.spc560bcxx: [Element:<runtime_settings/>]''.

Saving will remove thissetting from configuration.xml file.

Warning: Property IRQ StackSize was not found in configuration file.

                Clickon OK

3)

      

Save the “configuration.xml�

4)

      

Clean your project (becauseof your bad components)

A TIP :

You can use Activity Wizard(Windows

è

Showview

è

Activity wizard ) in order to in orderto generate, compile, debug or clean after selection your “configuration.xml�

5)

      

“Generate� your project

Generation should be OK

6)

      

“Compile� your project

Compilation should be OK

You canfind in this attachment your project updated for SPC5Studio 3.0.

                Bestregards

                               Erwan

                PS: in using “New

è

SPC5Studio Wizard�

                       For more information use the helpcontents , Help

è

HelpContents (chapter

SPC5StudioApplication Wizard Guide)

orhanyilmaz
Associate II
Posted on June 12, 2014 at 12:34

Hello,

SPC5 Studio V3. But I'm reinstall SPC5Studio Version 3 now.

Erwan YVIN
ST Employee
Posted on June 12, 2014 at 15:47

Hello Orhan ,

I got the problem.

Your problem is due to the ''i without dot''.

(Cf Screenshot)

Could you edit the configuration.xml and change irq_stack_size to the good one (Save it)?

could you confirm your used fonts on Windows or Eclipse?

Best regards

Erwan YVIN

________________

Attachments :

2014-06-12_152943.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qVnH&d=%2Fa%2F0X0000000bo0%2Fzu0Qcmgxm42v1SpdD4i8gmbJR0h0CkCplYmt0hbi2OI&asPdf=false
orhanyilmaz
Associate II
Posted on June 12, 2014 at 16:11

Hello Erwan,

I too found. It's be generated. This have bug an other plugin.

Turkish and English Windows8 OS and Turkish Keyboard.

XML char set is change from Eclipse>windows> Prefences  but not ament. (I see Default:UTF-8)

( Sory my English some bad. )

Erwan YVIN
ST Employee
Posted on June 12, 2014 at 16:53

Good news 😉

in the next version of SPC5Studio, we will change the default configuration of SPC5Studio.

Have a nice day 😉

       Best regards

Erwan