cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX V4.13.0 problems

Mackay.Susan
Associate II
Posted on February 07, 2016 at 04:30

Yesterday I upgraded to V4.13.0 which required that I also upgrade to STM32CubeL4 V1.3.0.

Since then, every project that I generate exhibits a couple of problems:

1) every reference to RCC_xxx #defines shows up in the IDE as ''Type RCC_xxx could not be resolved''. Same with anything that looks like it could be a system defined preprocessor symbol. The programs compile OK so I think this is an issue with the generated code for the project

2) every program starts in debug and, before it gets to the 'main' function, ends up in the ''startup_stm32L476xx.s'' file at some labels called ''Default_Hander:'' and ''Infinite_Loop:'' where the executable code is exactly that - a branch back to the label. I have single stepped through the code form the ''Reset_Handler:'' label and the last statement seems to cause the problem is ''bi __libc_init_array'' in that I cannot step into that function and when I pause the processor I'm at the infinite loop.

The console shows:

===================================

Breakpoint 1, LoopFillZerobss () at C:/Users/Administrator/workspace/Blinky/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc\startup_stm32l476xx.s:114

114     bl __libc_init_array

Program received signal SIGINT, Interrupt.

WWDG_IRQHandler () at C:/Users/Administrator/workspace/Blinky/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc\startup_stm32l476xx.s:134

134 b Infinite_Loop

===========================

Have I done something or not done something that has caused this?

Susan
13 REPLIES 13
Nesrine M_O
Lead II
Posted on February 08, 2016 at 11:35

Hi Susan,

Thank you for your feedback. The issue has been reported internally.

-Syrine-

stm32cube-t
Senior III
Posted on February 08, 2016 at 18:36

Hello Susan,

Can you please share a .ioc file showing the issue and indicate the toolchain you've selected under project settings.

Thank you,

Pascale

Mackay.Susan
Associate II
Posted on February 09, 2016 at 02:58

I'm at work right now so I'll post the files in a few hours time.

The tool chain was SW4STM32.

Susan

Mackay.Susan
Associate II
stm32cube-t
Senior III
Posted on February 11, 2016 at 10:53

Hello Susan,

We don't reproduce your issue. Can you please ensure your SystemWorkbench installation is up to date? Can you also check that under STM32CubeMX Project Settings menu, you have changed the IDE to SW4STM32 (loading the project does not load the configuration formerly done on the project settings window)

Best regards
Mackay.Susan
Associate II
Posted on February 13, 2016 at 06:08

Thank you for looking into this.

I have attached two files:

- a description of the steps I've taken

- a zip file of the workspace directory tree (after it was initially cleared)

Perhaps the additional information might help.

Susan

________________

Attachments :

STM32Cube_Problem_Description.txt : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Htq8&d=%2Fa%2F0X0000000aXc%2FqvxlHrN3Uao1aamPa3.QuZ1fqkNXd4nDCF7eM2iFDho&asPdf=false

workspace.7z : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtqD&d=%2Fa%2F0X0000000aXd%2FH5sxk9Do3awoh_N3fhUoGAxrramW9Wbd0JIQnC6ead0&asPdf=false
AleksBak
Associate II
Posted on February 15, 2016 at 10:52

Can

I also

will report

here

a small

problem

?

Tab

''Help-> Install New Libraries''

now becomes

larger in

height

than before

(>

800

pixels

)

and

a Netbook

PC

for example,

is no longer possible

to get

on this tab

to the lower

buttons

.

If possible

, reduce

as before

(

<=

768

)

in height.

And in general -

I

was happy with everything

in this program.

Compared with the same

software

from the

''

competition

''(

the letter 'M'

begins

name of

this company

) - is like ''

Heaven and Earth''

!!!

I recently

(

3 months

)

transferred

to the controllers

of

/

 !!!God bless you

and thank you

!

Mackay.Susan
Associate II
Posted on February 22, 2016 at 03:22

Is there more information that is required for this to be looked at?

At the moment, I can't make any progress as everything I try ends up at this tight loop.

Susan

ChrisH
Associate III
Posted on February 22, 2016 at 05:57

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6WI&d=%2Fa%2F0X0000000bpm%2FM3iig74EyMdW3ZRxXjbSCB7Uc_js0To640mwN6HktT4&asPdf=false