Problem after power on

Post your code and a schematic.