Skip to main content
Steve Melnikoff
Senior
July 15, 2025
Question

Losing GPIO settings

  • July 15, 2025
  • 2 replies
  • 564 views

In my project for an STM32H7S3, I have a number of GPIO settings.

However, every time I open the file, one particular pin has its settings reverted to the defaults.

Also, if I save the IOC file without making any changes at all, I can see in the diff that the settings for that pin have been removed:

SteveMelnikoff_0-1752583991010.png

I'm currently using Cube 6.15.0, though this file was created with an earlier version.

I'm not willing to share my IOC file here, though I'd be happy to send it privately to someone at ST.

(See also another post by me about settings being lost without any action on my part.)

Thank you.

2 replies

Technical Moderator
July 18, 2025

Hello @Steve Melnikoff ,

Do you have the same behavior with other MCUs (or only when selecting STM32H7S3)?

Please share in private your ioc file that will help us to reproduce the issue.

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Steve Melnikoff
Senior
July 18, 2025

> Do you have the same behavior with other MCUs (or only when selecting STM32H7S3)?

I'm afraid I haven't tried it with any other MCUs.

> Please share in private your ioc file that will help us to reproduce the issue.

I've sent it to @Ghofrane GSOURI . Would you be able to get it from them?

Many thanks.

Technical Moderator
July 18, 2025

Hi @Steve Melnikoff 

I escalated your issue internally to CubeMX team for analysis (via internal ticket number 214422)

(PS: Internal ticket number 214422, is an internal tracking number and is not available outside of ST)

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Technical Moderator
August 4, 2025

Hello @Steve Melnikoff ,

I am not able to reproduce the described behavior.

Do you have the same issue with different MCUs?

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Steve Melnikoff
Senior
August 4, 2025

Hello.

I have not tried it with any other MCUs.

Can you confirm that you have:

  1. Loaded the IOC file I supplied in CubeMX 6.15.0 or later.
  2. Immediately saved the file (if necessary, after making and undoing a change in order to force a save).
  3. Compared the original and current IOC files.

Thank you.