Resolved! Wrong Reset Values in ports A and B.
STM32F407https://www.st.com/resource/en/reference_manual/dm00031020-stm32f405-415-stm32f407-417-stm32f427-437-and-stm32f429-439-advanced-arm-based-32-bit-mcus-stmicroelectronics.pdfWhy are there incorrect Reset Values in ports A and B?I erased the ...