Troubleshooting ESP32-WROOM/ESP32WROVER Setup Error in Simulink Support Package for Arduino Hardware

129 views (last 30 days)
When attempting to set up the ESP32-WROOM/ESP32-WROVER board in Simulink using the 'Setup Hardware' option, I encounter an error during the final verification step. Specifically, when clicking on 'Test Connection,' the download status fails. It is worth noting that the driver for the ESP32 is correctly installed. How can I resolve this issue?

Accepted Answer

Arun Kumar
Arun Kumar on 7 Aug 2023
The encountered error is related to the installed ESP32 package. To resolve this issue, you need to update the board.txt present inside the arduino ide package and add the following line at the end of this file:
This command sets the upload speed to 921600, which is a recommended value for the ESP32-WROOM and WROVER boards. After adding this line to the end of board.txt file, save the changes and run the hardware setup again. This time, it should successfully verify the setup and establish a connection with your ESP32-WROOM board.
To open the board.txt file, run the following command in matlab command window:
Note: This workaround will work only in MATLAB R2023b and earlier versions.

More Answers (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!