Simulink Support Package for Arduino (ESP32) connection failure
조회 수: 19 (최근 30일)
이전 댓글 표시
Hello, I'm trying to set up the Simulink Support Package for Arduino Hardware with the Arduino Nano ESP32, using Matlab 2023b
When i go through all the steps it seams to work but fails when i test the connection, the build is succesfull but download fails.
When i try to upload the basic example i get this error message
"Failed to connect to Arduino board. If the problem still persists, enter the host COM port number manually in the 'Configuration Parameters > Target hardware resources > Host-board connection' and try again"
When i manually set the host com port i get the same error message.
I have tried adjusting the baud rate for the port and also update the arduino and ESP32 firmware but nothing seams to work.
When i try the firmware setup on a Arduino Nano 33 IoT it works perfectly well.
How can i solve this problem? Thankful for all help
댓글 수: 0
답변 (1개)
Abhishek Kumar Singh
2024년 11월 8일
This setup should typically work. Could you please confirm whether you are attempting an ESP32-specific setup and configuration? You can refer to the following link for guidance: www.mathworks.com/help/matlab/supportpkg/configure-setup-for-esp32-hardware.html.
Additionally, does this issue occur across all modes—USB, WiFi, and Bluetooth?
To ensure everything is set up correctly, please verify the correct port by visiting: www.mathworks.com/help/matlab/supportpkg/find-arduino-port-on-windows-mac-and-linux.html.
It's possible that the ESP32 third-party library wasn't installed correctly. Could you try reinstalling the support package and attempting the setup again?
If the problem persists, consider trying a different PC to further diagnose the issue.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!