Hello,
I suggest reviewing the boot mode if you are in DFU mode. In Table 5. Boot mode based on OTP BOOT_SRC bits (10:9, bank 3, word 0), from the User manual. Or if you are using the EVK please review the state of the switch.
Pavel_Hernandez_1-1662142177756.png
Best regards,
Pavel