cancel
Showing results for 
Search instead for 
Did you mean: 

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

mala
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

@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.

In order 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.

View solution in original post

4 REPLIES 4

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
ST Employee

@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.

In order 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.

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


@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.