I manually removed all the MMTAppRegionsCount and the file now loads on CubeMX 6.16. I never edited the file before so I still think there is a bug on CubeMX software regarding the MMTAppRegions.
Please use the attached .ioc file. I have already corrected the MMT parameter value, so you should be able to migrate it and open it with STM32CubeMX 6.16.1 and 6.16.0. as shown below.
I will be waiting for your feedback.
THX
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.