Rapberry Pi connection problem; Error raspi; Cannot establish a TCP/IP connection
Mostra commenti meno recenti
I'm working on Matlab 2015a with support package for raspberry pi; Windows 7; Raspberry Pi 2 B
Rasbian Wheezy is downloaded from www.raspberrypi.org. Simulink (blinking led example) is working; Simulink (camera example) not; Writing programs in command window - not. The worst is that raspi is not working.
mypi=raspi('192.168.0.12','pi','raspberry')
Error using raspi (line 169)
Cannot establish a TCP/IP connection to the board with device address "192.168.0.12".
Caused by:
Error using raspi (line 165)
Cannot create a communication link with the remote server. Please
check the input arguments(ADDRESS and PORT) and make sure the server
is running.
Additional Information: Unable to connect, because
the target machine actively refused it.
Everything is connected properly, IP address checked in n-map; ping is working, putty working.
I tried downloading Raspian Wheezy also from Matlab. Than N-map cannot find raspberry in my network at all; test connection fails; tried SD card setup 3 times - all failes. Ack LED blinks around 5sec than stops, the other is solid red all the time.
Warning: Could not detect the Raspberry Pi hardware in allotted time.
Try using "Test Connection" button.
> In raspi.setup.RaspberryPiFirmwareUpdate/configureNetwork (line 404)
In raspi.setup.internal.executeRaspberryPiConnectHardware (line 38)
In hwconnectinstaller.Step/next (line 169)
and
>> mypi=rspi
Error using raspi (line 157)
Cannot establish an SSH connection to the board with device address
"raspberrypi-zuza".
Caused by:
Error using raspi (line 153)
Error executing command: Unable to open connection:
Host does not exist
Help!!!
Risposte (2)
Zuzanna
il 15 Nov 2015
0 voti
2 Commenti
Yasir Iqbal
il 8 Gen 2016
I am also having a same problem,I have tried three power supply with different rating but still 'Ack' led is not blinking and connection failed..Any solution now ?
N/A
il 29 Lug 2016
Try to update the Support Package Firmware and re-install the Software on Raspberry Pi with the Support Package from Simulink
reenarosilin raj
il 20 Feb 2017
0 voti
I am working with Matlab 2014a with raspberry pi 3B Matlab support package i am getting an error can u help me pls
Warning: Could not detect the Raspberry Pi hardware in allotted time. Try using "Test Connection" button. > In C:\MATLAB\SupportPackages\R2014a\raspi\+raspi\+setup\RaspberryPiFirmwareUpdate.p>RaspberryPiFirmwareUpdate.configureNetwork at 395 In C:\MATLAB\SupportPackages\R2014a\raspi\+raspi\+setup\+internal\executeRaspberryPiConnectHardware.p>executeRaspberryPiConnectHardware at 39 In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\Step.p>Step.next at 169
Categorie
Scopri di più su MATLAB Support Package for Raspberry Pi Hardware in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!