Skip to main content
Associate II
April 8, 2025
Solved

Problem with file .ioc: "Not a valid ioc file"

  • April 8, 2025
  • 2 replies
  • 612 views

Hello everyone !

 

I try to open my ioc file in stm32IDE but I have this message and can't open also open in stm32CubeMx.

I use stm32G431RB and FW_G4 V1.6.0

Someone to help me please?

AndrewNeil_0-1744115475016.png

AndrewNeil_1-1744115488726.png

Best answer by Peter BENSCH

@mala 

In addition, you are welcome to upload the IOC here and we will be happy to check it for consistency and completeness - it may have been damaged beforehand.

2 replies

Andrew Neil
Super User
April 8, 2025

Welcome to the forum.

Please see How to write your question to maximize your chances to find a solution for best results.

 


@mala wrote:

I try to open my ioc file in stm32IDE

How, exactly, did you try to open it?

What CubeIDE & CubeMX versions are you using?

What is your Host platform?

 

The message says that the problem is probably due to an "abnormal previous IDE session exit" - is that the case?

If so, did you try closing everything and restarting the computer?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Peter BENSCH
Peter BENSCHBest answer
Technical Moderator
April 8, 2025

@mala 

In addition, you are welcome to upload the IOC here and we will be happy to check it for consistency and completeness - it may have been damaged beforehand.

malaAuthor
Associate II
April 8, 2025

I change the file. But now, I have anathor question. The file I use is one of the example on stm32G431RB "DAC_SignalGeneration2" and for this example, the output frequency on Oscillo is 1kHz but for my use, I want to have high frequency for sinusoidal signal on oscilloscope. I try many issu but i don't have what i want.

 

For example, I calculated PSC et ARR corresponding to my frequency i want or double the number of step in tab sinewave or do (programmed a specific tab sinwave at the frequency i want but i stil don't have good result on oscilloscope. 

And i don't understand the specific roles of each timer (TIM2 & TIM6) in this code.

Thank you for you respond

Andrew Neil
Super User
April 8, 2025

@mala wrote:

But now, I have another question.


Please keep to just one question per thread.

I've moved the other copy of that reply to a new thread:

https://community.st.com/t5/stm32cubemx-mcus/re-problem-with-file-ioc-quot-not-a-valid-ioc-file-quot/td-p/791441

continue the discussion there...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.