How to rewrite the program that causes the system to crash

I uploaded a program to the Arduino Opta that causes the system to crash. (red reset led flashes) Is it possible to rewrite this program without disassembling the system and using ST-LINK?

Hi, welcome to the forum

Do everyone a favour and kindly read How to get the best out of this forum so you can post effectively. The more information we have the more we can help.
Here is the LINK

if chip allows it may be reprogrammed over UART. if disassembling is required - do it.
yes, no magic today.

1 Like

Apologies to everyone, but I really spent a lot of time reading the official documentation and this forum to find a solution to my problem, but to no avail. So I will try to formulate my question in a different way. In Arduino Opta, I have uploaded code (by the way, the official example for working with Flash memory) and it causes that when calling the function "blockDevice.read(buffer, 0, dataSize);" the Mbed system crashes (the LED above the reset button flashes 4x long and 4x short) at that moment it is not possible to connect to Opta and upload a new program using the Arduino IDE. After the hardware reset, the program starts again and the Mbed OS stops again (LED flashes). The question to which I have not found an answer anywhere is whether in this situation it is possible to prevent the execution of the code that causes the system to crash so that it is possible to upload another code to the system using the USB-C interface. Or the only way is to disassemble the Arduino Opta and restore the entire system with the help of a programmer for STM processors.