Skip to main content
Adriano Melis
Associate III
January 20, 2021
Solved

User Constants disappear from Device Configuration Tool (timers configuration panel) if the .ioc file is closed and reopened in the same session.

  • January 20, 2021
  • 7 replies
  • 1834 views

version: 1.5.1

MCU: STM32F446RETx

This topic has been closed for replies.
Best answer by Khouloud ZEMMELI

Hi @Adriano Melis​ 

Yes, now issue reproduced (thanks for sharing steps, the problem appears at this level: start a new project, choose MCU, without saving the project).

Issue will be fixed, thanks for your contribution.

Khouloud

7 replies

Khouloud ZEMMELI
ST Employee
January 20, 2021

Hello @Adriano Melis​ 

Can you please share your ioc file to check more the problem?

Thanks, Khouloud

Adriano Melis
Associate III
January 20, 2021

Hi Kholoud,

Here it is.

When the .ioc is opened the first time in the Eclipse session the user constants are available, however, if the .ioc is closed then reopened are not available anymore.

The code generation however "sees" them: in this project the generated code uses the constants used in the DCTool in the timers init functions.

Cheers,

Adriano

Khouloud ZEMMELI
ST Employee
January 20, 2021

Hi @Adriano Melis​ ,

I have checked on my side using your ioc file, but still can't reproduce the issue.

All User Constants (6 constants) are well generated under main.h and they are present in the Timer configuration panel.

Can you please reopen your ioc file with MX standalone and check?

Thanks, Khouloud

Adriano Melis
Associate III
January 20, 2021

Hi Khouloud,

With MX standalone the problem persists.

Steps:

  • open the attached .ioc -> constants OK
  • start a new project, choose MCU
  • reopen original .ioc -> constants not visible, see screenshot:

0693W000007By64QAC.pngCheers,

Adriano

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
January 20, 2021

Hi @Adriano Melis​ 

Yes, now issue reproduced (thanks for sharing steps, the problem appears at this level: start a new project, choose MCU, without saving the project).

Issue will be fixed, thanks for your contribution.

Khouloud

Adriano Melis
Associate III
January 20, 2021

Keep in mind that the problem exists in the IDE version without changing project: maybe a step is missed when closing the .ioc project tab in Eclipse, then reopening it.

Thanks for the speedy answers :)

Ciao,

Adriano