SSH problems with Raspberry Pi
12 views (last 30 days)
Show older comments
Christoph Herrmann
on 26 Jun 2020
Answered: Reeno Joseph
on 9 Jul 2020
Hello,
I try to bring a Simulink model to another device as the Raspberry Pi and I installed the
- Simulink Support Package for Raspberry Pi Hardware
- MATLAB Support Package for Raspberry Pi Hardware
Deploying to a Raspberry Pi works great. Now I tried to deploy it to another device, which is not a Raspberry Pi. So i changed the IP adress, added the correct username and the password is empty (could this be the problem?). When I want to test the connection with the "Hardware Setup" I get the error "Establishing SSH connection with hardware failed".
What works:
- putty connection (with the PUTTY.EXE the Simulink Add-On includes) to this device without Matlab / Simulink
- copy Raspberrys .elf-file to this device and execute it there
The technical information for this device are:
- the other device is a selfmade Yocto Linux
- the other device uses for SSH connections Dropbear v2019.78
- it's also an ARM-device
Does anyone have an idea why I can reach the device via SSH with putty but Simulink doesn't? I also searched for the Putty call in the Add-On files but I can't find the parameters which are used when calling Putty for connection. Is there anyone which has a hint for me? Thank you very much.
Best regards
Christoph
0 Comments
Accepted Answer
Reeno Joseph
on 9 Jul 2020
Hello Christoph,
The build & deploy workflow for Raspberry Pi cannot be used for other boards even though it is a Linux target.
You can use the elf provided the CPU arch is the same.
HTH,
Reeno Joseph
0 Comments
More Answers (0)
See Also
Categories
Find more on Run on Target Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!