St-Link connects and programs STM32G4 but code never runs...is there faults state data saved?
I have a board that programs without error but fails to run code most of the time. In the failing state, I can use CubeProgrammer and ST-link to view registers after programming and activate peripherals that would have been enabled by code. I can see these peripherals run as they should, and the software shows the CPU running, but again…no code executes.
After repeated plugging\unplugging\re-programming I can randomly see it in a state where it executes code as it should but its not common. I also see hardware reset commands randomly make run code as well, but also not common.
Are there registers I can read that will give me clues as to why code never runs or runs and hangs?
