cannot connect arduino due to Matlab R2017b

조회 수: 4 (최근 30일)
Ivan Bozic
Ivan Bozic 2018년 1월 16일
편집: Eilert 2018년 4월 13일
I tried to install the hardware support package for an arduino due device but the following error text appears when trying to upload server to board:
Jan 16, 2018 9:02:17 AM com.mathworks.hwservices.logging
INFORMATION: DPI detection failed, fallback to 96 dpi
Loading configuration...
Initializing packages...
Preparing boards...
Error: sam: Unknown architecture
Thanks for any help

답변 (2개)

Eilert
Eilert 2018년 4월 12일
편집: Eilert 2018년 4월 12일
Hi, I observe the same problem:
This is line 6 of dueconnect (actually the only line in that script )
ELIS_due= arduino('/dev/ttyACM0', 'Due', 'Libraries','ReadAdcAddon/ReadAdc','ForceBuild',true, 'TraceOn', true)
Error using dueconnect (line 6)
Picked up JAVA_TOOL_OPTIONS:
Konfiguration wird geladen...
Pakete werden initialisiert...
Boards werden vorbereitet...
Fehler: sam: Unbekannte Architektur
connecting like this works: ELIS_due= arduino('/dev/ttyACM0', 'Due')
Only forcing compilation of the addon library triggers the error. But no usable compiler message appears.
The script was once working, but now shows this strange message. Anyone got an explanation?
Kind regards Eilert

Eilert
Eilert 2018년 4월 13일
편집: Eilert 2018년 4월 13일
Hi,
I did a reinstall of the Matlab Arduino Package (actually for the 2016b version) and now it works.
Kind regards Eilert

카테고리

Help CenterFile Exchange에서 Setup and Configuration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by