Resolved! G431 will run (somewhat) with debugger, but not on its own.
I have made a prototype, and it runs as just after upload. But when i just turn on the power, it wont. It does not matter if the st-linkv3 ist connected or not. When i reset it, via the NRST pin, it also wont run.I already used the HSE and HSI, and c...