Azzera filtri
Azzera filtri

Cannot establish a connection to Raspberry Pi 4

2 visualizzazioni (ultimi 30 giorni)
Hi, I have been trying to establish a connection to my raspberry pi 4 but the error codes give as the picture shows.
I have tried using LAN cable, SSID, home network, mathworks_raspbian_DL_R21.1.0 / mathworks_raspbian_R21.1.0, reinstalling MATLAB (R2021a) and disabling my windows firewall then restart. All of them keep showing the error of 'Cannot establish a connection to the board with device address "xxx.xxx.x.xxx'. Wait 30 seconds and try again.'
I have successfully connect with Putty and VNC viewer, so i guess the firmware is not the problem? Any suggestions to fix this problem? Please help me, thanks in advance!!

Risposta accettata

Chew Wen Da
Chew Wen Da il 3 Giu 2021
Hi, to update on this matter, the problem has been resolved! I tried to use MATLAB online to connect to my RPI and I follow through the process step by step including reinstallation of the firmware (you can follow the link below). In the end I get to connect and realized that my RPI model is not the same as written on my RPI 4B board, it was a RPI 2B instead. After this, I tried to make connection again with MATLAB R2021a and it works fine!
After all, I think the issue can be resolve by installing the MATLAB firmware from the terminal. You can access to your RPI interface using VNC Viewer. Just input the IP address, ID and password.
Connect to Raspberry Pi Hardware Board in MATLAB Online
https://www.mathworks.com/help/supportpkg/raspberrypiio/ug/connect-to-raspberry-pi-hardware-board-in-matlab-online.html

Più risposte (0)

Categorie

Scopri di più su MATLAB Support Package for Raspberry Pi Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by