I have programmed a wrong setting into SDRAM peripheral registers and it caused a crash. ( not hardfault ? )
The problem is I can not access the chip over debug port and also over the serial download mode.( USB - UART )
I wonder if there is a way to disable the serial download mode.
I was using this mode as a backdoor to erase the hyperflash content in case of a hardfault and I am trying to understand if there is a way to disable it to prevent this state.