Skip to main content
orhanyilmaz
Associate III
June 11, 2014
Solved

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

  • June 11, 2014
  • 15 replies
  • 3914 views
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
This topic has been closed for replies.
Best answer by Erwan YVIN
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

15 replies

Erwan YVIN
ST Technical Moderator
June 13, 2014
Posted on June 13, 2014 at 10:04

Hello orhan ,

in SPC5Studio 3.0, we are calling toLower from String class, and this depends on the locale.

The toLower method comments are:

/**

     * Converts all of the characters in this

<code>

String

</code>

to lower

     * case using the rules of the default locale. This is equivalent to calling

     *

<code>

toLowerCase(Locale.getDefault())

</code>

.

     *

<p>

     *

<b>

Note:

</b>

This method is locale sensitive, and may produce unexpected

     * results if used for strings that are intended to be interpreted locale

     * independently.

     * Examples are programming language identifiers, protocol keys, and HTML

     * tags.

     *

For instance,

<code>

''TITLE''.toLowerCase()

</code>

in a Turkish locale

     * returns

<code>

''t\u0131tle''

</code>

, where '\u0131' is the LATIN SMALL

     * LETTER DOTLESS I character.

     * To obtain correct results for locale insensitive strings, use

     *

<code>

toLowerCase(Locale.ENGLISH)

</code>

.

     *

<p>

     *

@return

  the

<code>

String

</code>

, converted to lowercase.

     *

@see

     java.lang.String#toLowerCase(Locale)

     */

   

public

String toLowerCase() {

       

return

toLowerCase(Locale.getDefault());

   

}

       We will ping you and implement a patch by update site.

       Please check your mail.

 

Best regards

                   Erwan YVIN

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
Erwan YVIN
ST Technical Moderator
June 13, 2014
Posted on June 13, 2014 at 10:23

Re orhan ,

When the patch will be ready 

Help ==> Install New Software

Click on 

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

and update all the features.

Best regards

Erwan

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
orhanyilmaz
Associate III
June 13, 2014
Posted on June 13, 2014 at 10:45

Hello Erwan,

I'm trying update. Screen out adding. Not new update..

Best Regards

Orhan YILMAZ

________________

Attachments :

screen2.PNG : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qXGt&d=%2Fa%2F0X0000000boj%2FSMDzCTURMbieMPLkJe7VmH4vi9xDhYPwKWU9ZlNppTo&asPdf=false
Erwan YVIN
Erwan YVINBest answer
ST Technical Moderator
June 16, 2014
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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
orhanyilmaz
Associate III
June 17, 2014
Posted on June 17, 2014 at 07:16

Hello Erwan,

Thanks for your help.

Have a nice day.

Best Regards

Orhan YILMAZ