User Constants disappear from Device Configuration Tool (timers configuration panel) if the .ioc file is closed and reopened in the same session.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-20 1:12 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-20 2:47 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-20 1:15 AM
Hello @Adriano Melis
Can you please share your ioc file to check more the problem?
Thanks, Khouloud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-20 1:28 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-20 2:05 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-20 2:19 AM
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:
Cheers,
Adriano
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-20 2:47 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-20 2:55 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-08-19 3:05 AM
Hello @Adriano Melis ,
I'm back again to inform you that issue is now fixed, you can use the latest CubeMX version available on site :)
Khouloud
