Unable to connect to 'Raspberry Pi' target hardware to check for NEON instruction set support
이전 댓글 표시
I am unsuccessful to generate code for my Raspberry 3B single card computer. I am using Matlab 2019a and Matlab coder. I don't know if needed in this case, but I also have Embedded coder toolbox installed. The error occurs when executing 'codegen' command, or if I use 'Generate' in the Matlab Coder app. (That is, only when I set the Raspberry HW board to do the compilation. It compiles nicely using the Host Computer to do the compilation with the GNU GCC Raspberry Pi toolchain.)
I receive the following error message: "Unable to connect to 'Raspberry Pi' target hardware to check for NEON instruction set support. To connect to target hardware, parameters such as username, password and device address must be specified correctly.
Use help codegen for more information on using this command."
However, I have correct username, password and device address for the Rpi, as well as properly set environmental variables on the Raspberry (tripple checked). The issue occurs when trying to generate code out of my own matlab function as well as when I try to run the 'codegen' command in Mathworks example "Code Generation for Deep Learning on Raspberry Pi".
I have reinstalled Matlab as well as reinstalled the Matlab Raspbian image on the Raspberry, but the issue still remains.
Installed Support packages which I believe are the ones I need for this task (along the ones mentioned above):
Embedded Coder Support Package for ARM Cortex-A Processors
DSP System Toolbox Support Package for ARM Cortex-A Processors
MATLAB Coder Interface for Deep Learning Libraries
MATLAB Support Package for Raspberry Pi Hardware
I have googled this issue, but have still not found a solution that helps me, so I would be very grateful for any tips how to overcome this issue.
Thank You!
댓글 수: 5
Ahmed Bouzidi
2019년 12월 22일
hi man,
i was facing this error but when i connected the pi to another rooter everything works fine hope that can solve your problem too
Torbjörn Olsson
2020년 1월 21일
Prasanth Sunkara
2020년 1월 24일
편집: Prasanth Sunkara
2020년 1월 24일
Hi Torbjörn,
I see that you are trying to follow this example.
In order to investigate this could you please share the output of the below MATLAB commands while following the exact sequence of steps mentioned in the example page.
hw = coder.hardware('Raspberry Pi')
cfg.Hardware = hw
Thanks,
Prasanth
Torbjörn Olsson
2020년 1월 24일
편집: Torbjörn Olsson
2020년 1월 24일
Torbjörn Olsson
2020년 2월 4일
답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 ARM Cortex-A Processors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!