Deployer installation test problem arm cortex A framework

I'm trying to configure the Embedded Coder Support Package for ARM Cortex-A Processors and i have a problem during the 5th step.
During the installation process of the deployer, a test is required at the end and it always fails.
This is what the log gives me:
Error occurred in matlabshared.targetsdk.verify.Deployer/checkBuildDownload and it did not run to completion.
---------
Error ID:
---------
'codertarget:build:DownloadCallbackError'
--------------
Error Details:
--------------
Error using codertarget.tools.BuildHook
The following error occurred during deployment to your hardware board:
Error connecting to SSH server at 192.168.7.2
Error in codertarget.tools.BuildHook/after_make
after_make(hookH);
Error in
buildHooksAfterMakeFcn = @()coder.coverage.BuildHook...
buildHooksAfterMakeFcn();
[buildResult, mainObjFolder] = buildProcedure...
[buildResult, mainObjFolder] = obj.make_rtw(varargin);
[buildResult, mainObjFolder] = h.make_rtw(buildArgs, varargin{:});
Error in build_target
Error in build_target
Error in build_standalone_rtw_target
Error in slbuild_private
Error in slbuild_private
[varargout{1:nargout}]=feval(varargin{:});
sl('slbuild_private', mdl, target, varargin{2:end});
slbuild(sys, 'StandaloneCoderTarget', ...
Error in matlabshared.targetsdk.verify.Deployer/checkBuildDownload
=======================================================================
I'd like to know what should I change to correct it. I followed correctly the documentation.

6 Comments

Hi Corantin,
This error can happen if there is an issue with the load command. At a high level, we can check if you are able to connect to the board from MATLAB (eg: ping the board using the IP Address). Also, 2 things that would help:
  • What is the load command used when creating the board?
  • Are you able to deploy a sample model and run it on the board?
Regards,
Venkatesh C
Hi Venkatesh,
The load command I used is:
loader.LoadCommand = 'matlab:codertarget.arm_cortex_a.internal.loadAndRun';
and I can't run a sample model on the hardware board. It shows me this error:
The following error occurred during deployment to your hardware board:
Error connecting to SSH server at 192.168.7.2
Regards,
Corantin
Hi Corantin,
It appears to be a connection issue. but please can you confirm whether you are able to ping the board from MATLAB (eg: does the following work >> !ping 192.168.7.2)). Load command looks good.
Also, can you help us with which board is being used.? There is a documented procedure to specifiy the IP address. Please check section 13.b from below page:
Are you specifying the IP address using the same commands?
Regards,
Venkatesh C
Hi Venkatesh,
The ping command times out with 4 paquets lost.
I have indeed done the command:
setpref('Hardware_Connectivity_Installer_My_ARM_Cortex_A_Board', 'DefaultIpAddress', '192.168.7.2');
Regards,
Corantin
Hi Corantin,
Also, can you help us with which board is being used.? Is it some custom board that is being used?
Regards,
Venkatesh C
Hi Venkatesh,
The board used is the target i've created in the previous steps of the add-on documentation. The goal is to use the QEMU Emulator to learn how to setup an external board before to use the real board.
Regards,
Corantin

Sign in to comment.

Answers (0)

Products

Release

R2019b

Asked:

on 12 Nov 2021

Commented:

on 25 Nov 2021

Community Treasure Hunt

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

Start Hunting!