Unable to connect to 'Raspberry Pi' target hardware to check for NEON instruction set support
Show older comments
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 Comments
Ahmed Bouzidi
on 22 Dec 2019
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
on 21 Jan 2020
Prasanth Sunkara
on 24 Jan 2020
Edited: Prasanth Sunkara
on 24 Jan 2020
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
on 24 Jan 2020
Edited: Torbjörn Olsson
on 24 Jan 2020
Torbjörn Olsson
on 4 Feb 2020
Answers (1)
Ahmed Bouzidi
on 19 Dec 2019
0 votes
i'm facing this problem too pls any help
1 Comment
Torbjörn Olsson
on 23 Dec 2019
Categories
Find more on ARM Cortex-A Processors 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!