2024-12-14 02:38 PM
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
2024-12-14 11:42 PM
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
2024-12-15 05:14 AM - edited 2024-12-15 05:15 AM
My problem is, that I create a project named H755ZI-Q in CubeIDE and change the pinout in the H755ZI-Q.ioc
(before)
(after i changed everything).
I save the file, code is generated and everything with the code looks fine, nothing gets deleted
But when I open H755ZI-Q.ioc, everthing I changed there is gone.
(after reopening the file)
Why is the pinout back to default? My changes are gone