SSH problems with Raspberry Pi

12 ビュー (過去 30 日間)
Christoph Herrmann
Christoph Herrmann 2020 年 6 月 26 日
回答済み: Reeno Joseph 2020 年 7 月 9 日
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

採用された回答

Reeno Joseph
Reeno Joseph 2020 年 7 月 9 日
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 件)

カテゴリ

Help Center および File ExchangeRun on Target Hardware についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by