STM32F401 won't start
I have a 3x4 matrix keyboard attached to STM32F401, see schematics (the U4 represents a "black pill" PCB). PB0, PB1, PB2 are column outputs in push-pull mode. PC15, PA0, PA1, PB10 are row inputs in EXTI mode with pull-ups enabled.
The circuit worked as expected during development in lab. When installed in car, it also worked OK until I connected the keyboard. With keyboard connected, the MCU doesn't start at power up and I need to press the reset button to let the FW start. It then works as expected, without missed keypress detections and without false key detections.
The keyboard is connected by seven 1.4m long 0.25mm thick transformer wires twisted altogether.
Adding a 10k pull-up to NRST and to BOOT1 pins didn't help. BOOT0 pin already has a 10k pull-down.
How to diagnose and fix this?
