Problems after changing the STM32F on my MKS Odrive Mini V1.0 board

Due to my mistake, I burned my STM32F405 on my MKS Odrive Mini V1.0 board, which I bought from AliExpress. It was working correctly, but at one point, by accident, one of the GPIOs touched the positive 24V terminal of the power supply, causing the chip to burn out. Knowing SMD soldering, I got a new chip and replaced the burned one, but I still can’t get it to have the program and the pins enabled that it needs. I don’t know if anyone can help me solve this problem, as I suppose it is just a firmware issue. All of this is to carry out the FFBeast Wheel project. Thank you very much in advance for your time.