cancel
Showing results for 
Search instead for 
Did you mean: 

Changes in the .ioc file won't apply when reopening

eko1
Associate

Hi,

I'm relatively new to the whole MCU thing and bought a Nucleo-H755ZI-Q. So one of the first things I tried to do was to make the LED blink. That was no problem, I configured the PB0-Pin for LD1, made it a GPIO for the M7 chip and it blinks happily, what makes me happy. The problem is, that when I safe the .ioc-file, generate the code etc. then close everything and start the program and the project again, the changes I did in the .ioc-File are gone and its back to its default settings. The PB0 for example was red, something with reset-state, i make it to a GPIO-Output and the color changes to green, and the next time I reopen the project it's red again and not a GPIO anymore!

I don't know how to solve this. Any help is appreciated.

Have a lovely day

2 REPLIES 2
Peter BENSCH
ST Employee

Welcome @eko1, to the community!

Where exactly did you insert your own code into the C framework generated by CubeMX?

If it is not between the CODE…BEGIN and CODE…END brackets, it will be overwritten the next time it is generated.

Regards
/Peter

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.

My problem is, that I create a project named H755ZI-Q in CubeIDE and change the pinout in the H755ZI-Q.ioc

eko1_0-1734268230747.png

(before)

eko1_1-1734268271689.png

(after i changed everything).

I save the file, code is generated and everything with the code looks fine, nothing gets deleted

eko1_2-1734268344371.png

But when I open H755ZI-Q.ioc, everthing I changed there is gone.

eko1_3-1734268431439.png

(after reopening the file)

 

Why is the pinout back to default? My changes are gone