Hi,Marius,
I could not find the reason for the error. I used MATLAB2017B, and MATLAB2018B to run the model all got the same error.MCU board serial pin is not wrong, because when using the old version (2018 R1), sometimes can be downloaded. RBF file writing error?Is there a way to check that the RBF file is correctly written?
Below are the Settings for SIMULINK.


Computer side serial port Settings:

MCU board serial port pin:

Error Display

Attached is the model I used.
Best regards!
Liu qimin