Error setting up target for Odroid XU4

조회 수: 4 (최근 30일)
Andrew Poissant
Andrew Poissant 2019년 7월 15일
댓글: anuj maheshwari 2021년 5월 12일
I am following the video examples on custome target development for ARM Cortex A ( I follow the steps provided in the first two video tutorials but for the Odroid XU4. However, when I go to test the deployment through the, the deploy test fails. When checking the test results log, matlab provides the errors seen below. Why am I getting these errors?
Error occurred in matlabshared.targetsdk.verify.Deployer/checkBuildDownload and it did not run to completion.
Error ID:
Error Details:
Error using
The following error occurred during deployment to your hardware board:
Could not find the MATLAB preferences for the hardware "Odroid XU4 v1". Create the preferences
group "Hardware_Connectivity_Installer_Odroid_XU4_v1" with the preferences "DefaultIpAddress",
"DefaultUserName", "DefaultPasswordPref" and "DefaultBuildDirPref, and set their values to match
your hardware.
Error in
Error in
buildHooksAfterMakeFcn = @()coder.coverage.BuildHook...
Error in coder.internal.compileStage
compileResult = coder.internal.compileStage...
[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
sl('slbuild_private', mdl, target, varargin{2:end});
slbuild(sys, 'StandaloneCoderTarget', ...
Error in matlabshared.targetsdk.verify.Deployer/checkBuildDownload
tgt = createTarget('Odroid XU4 Target v1', 'ARM Cortex-A', 'C:/myOdroidtarget');
%% Specify Hardware Board
% hw2 = createHardware('Odroid XU4 v1');
hw2.DeviceID = 'ARM Cortex-A15';
map(tgt, hw2, 'Odroid XU4 v1');
io = addNewEthernetInterface(hw2, 'My Ethernet Interface');
io.IPAddress = '';
%% Deploy
dep = addNewDeployer(tgt, 'New Deployer');
toolchain = dep.addNewToolchain('Linaro Toolchain v4.8');
buildConfiguration = toolchain.addNewBuildConfiguration('Build Configuration');
buildConfiguration.Defines = 'ARM_PROJECT';
buildConfiguration.IncludePaths = '$(ARM_CORTEX_A_ROOT_DIR)/include';
dep.Tokens{1} = struct('Name', 'ARM_CORTEX_A_ROOT_DIR', 'Value', 'codertarget.arm_cortex_a.internal.getSpPkgRootDir');
loader = dep.addNewLoader('My Loader');
loader.LoadCommand = 'matlab:codertarget.arm_cortex_a.internal.loadAndRun';
map(tgt, hw2, dep);
testTarget(tgt, 'deployer')
  댓글 수: 3
Andrew Poissant
Andrew Poissant 2020년 1월 2일
I actually was lucky in the fact that I no longer have to create a target for my Odroid. I am able to use Matlab's ROS Toolbox for my project, which doesn't require I create a target. Good luck with your debugging!
anuj maheshwari
anuj maheshwari 2021년 5월 12일
@Mirsad Bucak Did you figure it out? I am facing the same issue.

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by