cannot connect arduino due to Matlab R2017b

4 次查看(过去 30 天)
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